Google Cloud Billing and Cost Management: Best Practices for Controlling Your Spend
Set up billing roles, budgets, anomaly alerts, labels, and committed use discounts in the right order, and learn which Google Cloud charges most often catch teams by surprise.
13 min read
Google Cloud makes it easy to start small and pay only for what you use. It also makes it easy for a forgotten disk, a noisy log stream, or one expensive query to show up on next month's bill. Most cost problems come down to the same gaps: alerts aren't set up, nobody can tell which team caused a charge, and resources outlive their purpose.
Google Cloud includes good tools for each of these. This guide covers how to set them up, in the order that makes the most sense.
At a glance
| What you need | Google Cloud tool | What it does |
|---|---|---|
| Clear ownership of the bill | Cloud Billing accounts and IAM roles | Controls who pays, who can see costs, and who can link projects |
| Warnings before a surprise bill | Budgets and budget alerts | Alerts on actual or forecasted spend |
| A hard stop on eligible usage | Spend cap budgets | Pauses new usage of supported services when a monthly limit is hit |
| Unusual spending detection | Cost anomaly detection | Compares costs with your historical spending patterns |
| Costs by team or client | Labels | Lets you filter and group billing data by key-value pairs you define |
| Day-to-day analysis | Cloud Billing reports | Charts and filters your cost history |
| Detailed billing data | Cloud Billing export to BigQuery | Sends detailed cost and pricing data to BigQuery for analysis |
| Savings recommendations | Recommenders and FinOps hub | Finds idle and oversized resources and tracks opportunities |
| Lower rates on steady usage | Committed use discounts | Discounts usage in exchange for a term commitment |
Understand how billing is organized
Everything in Google Cloud runs inside a project, and each project is linked to a Cloud Billing account that pays for it. One billing account can pay for many projects. If your company uses an organization, folders let you group those projects by department, client, or environment.
One detail trips people up: a billing account isn't a parent of its projects for permissions. Someone who can manage a project can't automatically see its billing account, and the reverse is true too, so billing access has to be granted on purpose.
Separate projects for production, staging, and development are also one of the simplest ways to see what each environment costs.
Give the right people billing access
Google Cloud has several billing roles. Give each person the narrowest one that fits their job:
| Role | Good for |
|---|---|
| Billing Account Administrator | The few people who fully manage the billing account |
| Billing Account Costs Manager | People who manage budgets and view or export costs |
| Billing Account Viewer | Finance staff who need read-only access to costs |
| Billing Account User | People who link projects to the billing account |
| Project Billing Manager | People who link or unlink a specific project's billing |
Next, set up Essential Contacts for the Billing category, which covers notices like payment problems. Use a group or shared address so these messages don't depend on one person's inbox.
If you're on the Free Trial, know how it ends. It includes a $300 credit to use over 90 days. If you spend the credit or reach 90 days without upgrading, billing is disabled on your project, and your resources are permanently deleted after a 30-day grace period. Upgrade or move anything you want to keep before then. Accounts that sign up or upgrade on or after November 16, 2026 also can't use that credit for Gemini platform services.
Create budgets and alerts first
If you only do one thing from this guide, make it this. A budget compares your costs with an amount you set, for a whole billing account or for narrower scopes such as specific projects or services.
A simple starting point is one monthly budget per billing account, plus one for each important project, with alerts such as:
- 50% and 90% of actual spend, so you can see the month progressing
- 100% of actual spend, so you know when you've reached the limit
- 100% of forecasted spend, so you get a warning while there's still time to act
By default, alerts go to billing administrators and users on the billing account. To reach anyone else, connect a Cloud Monitoring notification channel.
Keep two limits in mind:
A standard budget doesn't stop spending. It's alerts only, so your services keep running and costs keep accruing after the email arrives.
Cost data lags behind usage. Costs are typically available within a day, but can sometimes take longer. Set your budget below what you can actually afford to spend, so a delayed alert still leaves you some room.
Use spend caps where they're available
Spend cap budgets go a step further. When estimated costs pass 100% of the budget, new usage of that service is paused for the rest of the month unless you lift the cap. Resources and data aren't deleted.
They're useful, but narrow. At the time of writing, they cover the Gemini API, Gemini Enterprise Agent Platform (formerly Vertex AI), Cloud Run, and Cloud Run functions. Each cap applies to one service in one project, and it runs monthly. Requests already in progress still finish, costs that arrive before the cap takes effect are still billed, and fixed charges from persistent resources like compute and storage aren't paused.
This is especially worth setting up for AI workloads and public-facing services, where usage can climb quickly. Just remember that a cap protects your budget by stopping the service, so think through what your users will see if it triggers.
Be careful with automated shutdowns
Budgets can also send notifications to Pub/Sub, which lets your own code respond, such as posting to a team chat or scaling down a non-production service.
You'll find examples that disable billing on a project when a budget is exceeded. Treat that as a last resort. It shuts down all services in the project, Google warns that resources might be irretrievably deleted, and it doesn't guarantee you'll stay under budget. It may be reasonable for a sandbox, but it's rarely the right choice for production.
For API-heavy projects, you can also set quota limits on requests per day or per minute. Quotas limit requests rather than dollars, but they're a practical way to contain runaway usage. Leave a safety margin, since enforcement isn't instant.
Review cost anomaly alerts
Budgets catch spending that crosses a line you drew. Cost anomaly detection catches costs that differ from your historical patterns, even if you're still under budget.
Thresholds are set automatically based on your usage, and a Billing Account Administrator can adjust them. By default, billing administrators get an email for each anomaly. You can switch to a daily summary, add Essential Contacts or project owners, or send anomalies to Pub/Sub. Check these settings so the alerts reach someone who will act on them.
Label resources so every cost has an owner
Labels are key-value pairs that flow into your billing data, so you can break down costs by team, application, or client. Pick a short standard list and use it everywhere:
| Label key | Example values |
|---|---|
environment | production, staging, dev |
app | customer-portal, data-pipeline |
team | platform |
client | The client or cost center to bill |
A few rules are worth knowing:
- Keys and values can only use lowercase letters, numbers, underscores, and dashes, up to 63 characters.
- Each resource can have up to 64 labels.
- Labels on a project don't automatically pass down to the resources inside it, so label the resources themselves.
- New labels can take up to a day to appear in Cloud Billing.
- Reports show label data only from when the label was applied, so start early.
The most reliable approach is to apply labels through infrastructure as code, such as Terraform, so they don't depend on someone remembering. Don't confuse labels with tags, which are a separate Google Cloud feature designed for conditionally enforcing policies.
Make cost review a habit
Cloud Billing reports are the best place for regular review. You can group costs by project, service, SKU, location, or label key, and save the views you use most.
If you need to bill clients, build dashboards, or analyze costs by resource, turn on Cloud Billing export to BigQuery. Google recommends enabling it when you create the billing account, because history is limited: a multi-region dataset gets the current and previous month added retroactively, while a regional dataset doesn't get past data at all. You can export standard cost data, detailed resource-level cost data, and pricing data. Normal BigQuery storage and query charges apply.
A short monthly routine is usually enough:
- Compare this month with last month, by project and by service.
- Investigate any increase you can't explain.
- Check how much spend has no labels, and fix the biggest gaps.
- Review open recommendations and pick a few to act on.
- Adjust budgets to match what you now expect to spend.
Remove waste before you commit
These charges are easy to miss because each one looks small or sits outside the service you're focused on. Rates below come from Google's pricing pages at the time of writing, and network rates are for Iowa (us-central1), so check the current numbers for your region.
| Charge | Why it surprises people | What to do |
|---|---|---|
| Stopped VMs | CPU and memory charges stop, but disks and external IP addresses are still billed | Delete what you no longer need, and keep a snapshot if you might want it back |
| External IP addresses | $0.005 per hour on a standard VM, about $3.65 a month. A reserved address that isn't in use costs more: $0.01 per hour, about $7.30 a month | Release unused addresses, and avoid giving VMs public IPs they don't need |
| Cloud NAT | Several charges add up: a gateway fee of $0.0014 per VM per hour (capped at $0.044 per hour), $0.045 per GiB processed in either direction, and $0.005 per hour for each NAT IP | Use Private Google Access for traffic to Google APIs, and keep heavy traffic off the gateway where you can |
| Cloud Logging | $0.50 per GiB after the first 50 GiB per project each month, plus $0.01 per GiB per month for logs kept beyond 30 days | Exclude noisy logs you don't use, and only extend retention where you need it |
| BigQuery queries | On-demand queries cost $6.25 per TiB after the first free TiB each month. LIMIT doesn't reduce the data read on non-clustered tables | Select only the columns you need, do a dry run first, and set a maximum bytes billed so oversized queries fail without a charge |
| Incomplete storage uploads | Unfinished multipart uploads can sit in a bucket indefinitely, and uploaded parts count toward storage | Add a lifecycle rule to abort them after a set age |
| Rarely read storage | Objects stay in the storage class you chose unless something moves them | Consider Autoclass when access patterns are unclear. It has a management fee, so check that it pays off |
| Internet data transfer | Premium Tier is the default, starting at $0.12 per GiB to North America. Standard Tier is $0.085 per GiB after 200 GiB free each month, but you have to choose it | Use Cloud CDN where it fits, and consider Standard Tier for traffic that doesn't need Google's premium network path |
Next, look at resources that are bigger than they need to be. Compute Engine's machine type recommendations use the last eight days of metrics and are available at no charge. Applying one in the console stops and restarts the VM, so plan it for a safe time.
The FinOps hub brings your savings and recommended opportunities into one dashboard, including idle resources, rightsizing, and commitments. Review recommendations before applying them, since a change that looks cheap can still affect how a system runs.
If you also run workloads on AWS, our AWS billing and cost management guide covers the equivalent setup there.
Then lock in lower rates
Commitments should come after cleanup. Otherwise, you may end up committing to spend on resources you were about to remove.
Start by checking what you already get. Sustained use discounts apply automatically to eligible Compute Engine usage that runs for a large part of the month. They're available on series including N1, N2, N2D, C2, M1, and M2, with maximums of 20% to 30% depending on the series. Other series, such as E2, C3, and N4, aren't on the eligible list, and these discounts don't stack with committed use discounts on the same usage.
Committed use discounts (CUDs) offer more in exchange for a term commitment:
| Commitment | What it covers | Discount |
|---|---|---|
| Compute flexible CUDs | Eligible Compute Engine, GKE, and Cloud Run spend, across projects and regions | 28% for one year or 46% for three on most general-purpose series |
| Resource-based CUDs | A set amount of specific Compute Engine resources | Up to 55% on most series, and up to 70% on memory-optimized series |
| Service spend-based CUDs | Committed spend on individual products | Varies by product |
Flexible commitments trade some discount for the freedom to change machine types, projects, and regions, which makes them a sensible first step for most teams. Google also offers Flexible Savings Plans, which measure committed spend monthly across eligible products, including some AI workloads.
Be careful with the purchase itself. You can't cancel a commitment after you buy it, and you pay for it whether or not you use it. Commit to the level of usage you're confident will continue, not your peak, and add more later if it holds up. After you buy, the CUD analysis report can show how well your commitments are being used.
For work that can handle interruption, such as batch jobs, CI builds, and some data processing, Spot VMs offer discounts of up to 91%. They can be reclaimed at any time and have no SLA, so your workload needs to be able to stop and resume safely. Compute flexible commitments don't apply to Spot VMs.
Bottom line
Work through Google Cloud cost management in this order:
- Organize projects and set billing roles and contacts.
- Add budgets, spend caps where they fit, and anomaly alerts.
- Label resources so every cost has an owner.
- Turn on BigQuery export and review spending every month.
- Remove waste and rightsize what's left.
- Commit to discounts for the usage you know will stay.
The first two steps take very little time, and they protect you while you work through the rest.
Need help getting your cloud costs under control?
At Odezzi LLC, we design, build, and manage cloud infrastructure for the systems our clients rely on, with monitoring and cost controls built in from the start.
Whether you're setting up a new Google Cloud environment or trying to make sense of an existing bill, we can help. Contact us for more information!
*Odezzi LLC is not affiliated with Google. All product names, trademarks, and registered trademarks are property of their respective owners. Google Cloud pricing and features change over time, so confirm current details with Google before making purchasing decisions.
