google-cloud-billing
Google Cloud Billing API client library
Decision gist · record as of 2026-08-14
Yes. This is Google's official, actively maintained client library for Cloud Billing with no known vulnerabilities, low install friction, and permissive licensing. Install it if you need programmatic access to GCP billing data; it is the standard tool for that task.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Google Cloud authentication credentials (service account key or Application Default Credentials) and an active GCP project with billing enabled.
- Low friction installation via wheel; actively maintained with recent releases.
- Depends on standard Google Cloud libraries (google-api-core, google-auth, grpcio, proto-plus, protobuf, grpc-google-iam-v1), all widely used and stable.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most projects.
last release 2026-06-03 (72 days) · last repo commit 2026-08-14 · 5,373 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 687,442 downloads/mo, #5,346 on PyPI
Alternatives
Verify before relying
pip install google-cloud-billing
from google.cloud import billing_v1
client = billing_v1.CloudBillingClient()
project_name = 'projects/my-project'
project = client.get_project(name=project_name)- Whether the package supports querying historical billing data or only current account state.
- Scope of billing operations supported (e.g., can it modify billing settings or only read them).
- Performance characteristics when querying large billing datasets.
What it is and what it does
This is Google's official Python client library for the Cloud Billing API, enabling developers to query and manage billing information for Google Cloud Platform projects programmatically. It wraps the underlying gRPC service with a Pythonic interface, handling authentication and serialization automatically.
The library is built on standard Google Cloud infrastructure (google-api-core, google-auth, grpcio, proto-plus, protobuf) and requires Python 3.10 or later. It is actively maintained, production-stable, and carries no known security vulnerabilities. Use it when you need to integrate GCP billing data into dashboards, cost-tracking systems, or automation workflows.
Use it for
- Retrieve billing account details and project billing status for cost tracking dashboards.
- Automate billing queries in CI/CD pipelines to monitor project spend and enforce budget policies.
- Build custom cost analysis tools that aggregate billing data across multiple GCP projects.
- Integrate GCP billing information into third-party financial or resource management systems.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
This is Google's official, actively maintained client library for Cloud Billing with no known vulnerabilities, low install friction, and permissive licensing. Install it if you need programmatic access to GCP billing data; it is the standard tool for that task.
Install
google-cloud-billing on PyPI
Before you install
Low friction installation via wheel; actively maintained with recent releases. Depends on standard Google Cloud libraries (google-api-core, google-auth, grpcio, proto-plus, protobuf, grpc-google-iam-v1), all widely used and stable.
Requires Google Cloud authentication credentials (service account key or Application Default Credentials) and an active GCP project with billing enabled.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most projects.
Quickstart
pip install google-cloud-billing
from google.cloud import billing_v1
client = billing_v1.CloudBillingClient()
project_name = 'projects/my-project'
project = client.get_project(name=project_name)
Verify before relying
- Whether the package supports querying historical billing data or only current account state.
- Scope of billing operations supported (e.g., can it modify billing settings or only read them).
- Performance characteristics when querying large billing datasets.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 6 packagesgoogle-api-coregoogle-authgrpcioproto-plusprotobufgrpc-google-iam-v1 |
| Maintenance | Actively maintained 72 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 687,442 / month, #5,346 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Internet |
Evidence: google_cloud_billing-1.20.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “google cloud billing api client”
- google-cloud-billingProgrammatic access to Google Cloud Platform billing data and account…
- google-cloud-texttospeechProvides a Python client to Google Cloud Text-to-Speech, which…
- google-cloud-quotasPython client library for Google Cloud Quotas API, enabling…
Give your agent the search over MCP, or paste the wish link into any chat.
More Internet packages
Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.
Install it if you need programmatic access to AWS services.
Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.
Install it if you need to call AWS services from async Python code; it is the standard way to do so.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.
See also google-cloud-api-keys · google-cloud-dataplex · google-cloud-quotas · google-cloud-service-usage · google-cloud-tpu · google-cloud-dataflow-client · google-ads-admanager · google-cloud-functions · google-cloud-datacatalog · google-shopping-merchant-products