CostCompassAn AlmanacBeta
Google Cloud cost tracking

Separate Google usage cost from payment timing

Google is transitioning affected Gemini API developer accounts from Postpay to Prepay while the rest of Google Cloud remains postpaid. Track accrued cost across both cycles without treating top-ups, balance, and usage as the same number.

By Joubert BergerUpdated September 2, 2026

An antique almanac engraving: a balance scale weighing two pans of coin-like tokens against each other — the coins on one pan picked out in copper — beside a tally ledger column.
Usage cost and payment are related, but they are not the same reading.

Google AI Studio is transitioning affected Gemini API developer accounts from Postpay to Prepay. If your account received a migration notice, switch and add credits before the cutover date in that notice to avoid paid Gemini API service interruptions. Only Gemini API usage moves to Prepay; Compute Engine, Cloud Storage, networking, and other Google Cloud services remain on Postpay. Accounts using only the Free Tier do not need to act, and eligible accounts may still be offered or later qualify for Postpay.

It does not change the cost data CostCompass needs. Cloud Monitoring still provides token metrics for an immediate AI estimate. Google's Standard usage cost export still sends accrued Gemini and Google Cloud costs to BigQuery. Payment timing changed; usage-cost measurement did not.

The important distinction is among four numbers: accrued usage cost, payments or top-ups, remaining balance, and runway. CostCompass reads the first, forecasts future consumption from it, and does not pretend the other three are available when Google keeps them in AI Studio.

How do Google Prepay and Postpay work together?

Google’s Gemini API billing documentation says affected developer accounts are being transitioned from Postpay to Prepay. The deadline is account-specific: follow the cutover date in the notice Google sent your account rather than assuming one platform-wide date. Google’s split charging-cycle documentation explains the resulting structure: one Cloud Billing account linked to separate Google payments accounts. Gemini API usage from AI Studio is paid through the Prepay account, while other Google Cloud products and eligible services continue through the Postpay account.

Consider a project that calls Gemini and runs a Compute Engine worker. The Gemini calls accrue usage cost and reduce prepaid credits. The VM also accrues usage cost, but Google collects that amount later through Postpay. Both cost streams remain attached to the Cloud Billing account even though they are paid at different times.

That produces four distinct concepts:

ConceptWhat it meansWhere CostCompass gets it
Accrued usage costThe provider’s monetary value for consumed servicesBigQuery billing export, or a token-based estimate before export setup
Payment or top-upMoney added to Prepay or collected through PostpayNot counted as another usage event
Prepaid credit balanceCredits remaining for Gemini API usageNot available to CostCompass; managed in AI Studio
RunwayBalance divided by recent burn rateNot available for Google because the balance is unavailable

The Cloud Billing account is the common cost ledger. The payments accounts determine when those costs are paid. A top-up must not be added to the exported usage cost: doing that would count the same consumption twice.

This is a billing change, not an inference API migration. Existing Gemini API endpoints, request bodies, and response handling do not need to change merely because an account moves to Prepay.

What does CostCompass measure?

CostCompass supports two cost sources, chosen per Google card.

The default source is Cloud Monitoring. CostCompass reads Gemini API and Vertex AI token metrics for the projects you selected, applies stored model rates, and marks the result Estimated. This is an AI-only reading. It does not include Compute Engine, Storage, networking, a prepaid balance, or a top-up. It also cannot include explicit Gemini context-cache storage: Google charges for the cache’s token count and lifetime, but does not publish a cache-storage meter in Cloud Monitoring. CostCompass does not guess the missing duration or storage usage.

Two month-to-date AI figures side by side — one labelled Estimated, from token counts, the other Exact, from Google's BigQuery billing export.
The product label changes from Estimated to Exact when the source changes from token math to Google's reported usage cost.

The second source is Google’s Standard usage cost export. Google states that a configured export includes all cost data accrued in the Cloud Billing account, including Gemini API usage in AI Studio. CostCompass queries that BigQuery table for the selected projects and groups the results by AI model or cloud service. Because it reads Google’s monetary cost rows rather than reconstructing every charge from Monitoring metrics, it includes provider-reported explicit context-cache storage charges when Google exports them.

The dashboard calls this reading Exact because the monetary amount comes from Google rather than from CostCompass’s token-rate calculation. More precisely, it is provider-reported accrued usage cost. The query sums the export’s cost field; it does not subtract separate credit rows, read the prepaid balance, or reconstruct cash payments. Cost details normally arrive after the usage and can take more than 24 hours to appear.

Prepay therefore does not break the existing query. The usage still accrues in Cloud Billing, and Google still exports it to BigQuery. What changed is the payments account that settles the Gemini portion.

What setup unlocks provider-reported cost?

If an AI-only estimate is enough, connect Google, choose the projects, and refresh. To include non-AI services and use Google’s reported monetary values, enable Standard usage cost export once:

  1. Open Billing → Billing export in Google Cloud.
  2. On the BigQuery export tab, enable Standard usage cost.
  3. Choose the project and dataset that will receive the export, then save.
  4. In CostCompass, check for the export and refresh the Google card after data begins to arrive.

The connection remains read-only. CostCompass can list the projects and billing accounts you authorize, read Cloud Monitoring metrics, and query the selected billing-export table. It cannot buy credits, configure auto-reload, read the Gemini prepaid balance, or move an account between charging cycles.

What should you monitor under Prepay?

Google’s Gemini API billing documentation makes the operational boundary clear:

  • Paid Gemini API usage deducts from purchased credits in near real time.
  • When the Prepay balance reaches zero, paid Gemini API services linked to that billing account stop; projects do not automatically fall back to the free tier.
  • Auto-reload can purchase more credits when the balance falls below a chosen threshold. A Monthly Auto-Charge Limit caps automatic reloads, but not manual purchases.
  • Billing processing has a short delay, so long-running or fast workloads can consume beyond the displayed balance before Google halts them.
  • Purchased credits expire 12 months after purchase.

These controls belong in AI Studio because they act on the payments account. CostCompass covers the complementary question: how quickly is the underlying usage cost accumulating across Google and the rest of the stack?

A 30-day line chart of daily Google Cloud spend with a steady upward adoption ramp.
The daily cost trend shows the consumption pattern even when Gemini and infrastructure use different payment timing.

Use both surfaces deliberately. Keep enough prepaid credit or a suitable auto-reload policy in AI Studio to protect service continuity. Use the daily cost trend to find model changes, traffic ramps, and infrastructure growth before they become the next funding or payment surprise.

What does Forecast mean for a prepaid provider?

Forecast remains a consumption projection. CostCompass takes usage from the trailing seven days, converts it to a daily burn rate, extends that rate across every day in the next calendar month, and adds fixed subscriptions expected in that month.

It does not predict the next card charge. An auto-reload might happen tomorrow, several times in one month, or not at all. Forecast also does not mean days until empty. That calculation is runway, and runway requires a current prepaid balance that Google does not expose to CostCompass.

The distinction lets the shared dashboard keep one useful meaning across providers:

  • Forecast: what next month’s consumption is likely to cost at the recent rate.
  • Balance: provider-reported credit remaining, when the provider exposes it.
  • Runway: how long that balance lasts at the recent burn rate.

For Google, Forecast and burn rate are available. Gemini balance and runway remain unavailable.

How do you track Google costs in one view?

The Google card groups daily AI usage by model and billing-export usage by model or cloud service. Older model usage stays visible rather than being folded into whichever model is current. Selected projects under one billing account share one card; projects under another billing account use another card.

A horizontal bar chart of month-to-date Google AI spend broken down by Gemini model.
Month-to-date AI usage cost grouped by model.

Google does not sit alone. The same dashboard can combine its accrued usage cost with Claude, OpenAI, OpenRouter, and other connected services. Tracking AI costs across providers explains how those different source types fit into one total.

The CostCompass dashboard showing month-to-date Google Cloud usage cost with a forecast and burn rate.
Month-to-date usage cost, burn rate, and forecast share one view; provider balances appear only where an API supplies them.

The result is intentionally narrower than a replacement for Google’s billing pages. AI Studio remains where you manage Gemini credits and payment history. Google Cloud remains where you configure the export and inspect Google-only reports. CostCompass keeps the accrued cost and forward consumption view beside every other provider you run.

Frequently asked questions

Does CostCompass store my Google Cloud credentials?
Not in any form we can read. You connect through Google's own sign-in and approve CostCompass on Google's consent screen, so there is no API key to paste. The access Google grants is locked in your browser with your vault password before anything is stored. On each refresh, your browser unlocks it and gives it to a relay for that request. No usable Google credential is stored in our database or logs.
Does Gemini Prepay change the Gemini API?
No. Prepay changes when paid Gemini API usage is funded and when service stops; it does not require a different inference endpoint, request, or response. CostCompass still reads usage through Cloud Monitoring or accrued cost through the Cloud Billing export.
Do I need to switch my Gemini API account to Prepay?
If Google sent your account a migration notice, yes. Google says it is transitioning affected developer accounts from Postpay to Prepay for Gemini API usage. Switch and add credits before the cutover date in your own account notice to avoid paid Gemini API service interruptions. Accounts using only the Free Tier do not need to act. The transition does not move your other Google Cloud services from Postpay, and eligible accounts may still be offered or later qualify for Postpay.
Does CostCompass show my whole Google Cloud cost or just Gemini?
Both modes are available. Without a billing export, CostCompass reads Gemini and Vertex AI token metrics from Cloud Monitoring and calculates an AI-only estimate. That estimate cannot include explicit Gemini context-cache storage because Google does not expose a cache-storage meter in Cloud Monitoring. With Standard usage cost export enabled, CostCompass reads Google's accrued usage cost for the selected projects, including provider-reported cache-storage charges, Compute Engine, Cloud Storage, networking, and other services. The export does not expose the remaining Gemini prepaid credit balance.
Do I need to enable the BigQuery billing export?
Not for the AI token estimate. Enable Standard usage cost export when you want provider-reported accrued usage cost and non-AI Google Cloud services in CostCompass. Google can take more than a day to publish some cost data, so the exported number is authoritative but delayed.
If my Gemini prepaid balance reaches zero, do I move to the free tier?
No. Google's Gemini API billing documentation says all Gemini API services paid by that Prepay account stop when its balance reaches zero; linked projects are not automatically downgraded. Add credits to resume the paid tier, or disable billing on a project if you deliberately want to return it to the free tier.
Can CostCompass show my Gemini prepaid balance or runway?
No. Google says balance management and transaction history remain in the AI Studio Billing tab, and CostCompass does not receive a programmatic balance. It can show accrued usage cost, recent burn rate, and projected next-month consumption, but runway requires a balance to divide by burn rate.
Can I limit automatic Gemini credit purchases?
Yes. Google's Prepay controls include an auto-reload threshold and a Monthly Auto-Charge Limit. The limit applies to automatic reloads, not manual credit purchases, and a short billing-pipeline delay can allow usage beyond the displayed balance before requests stop.
Does turning on the BigQuery billing export cost anything?
BigQuery storage and queries are metered under Google's normal terms. CostCompass uses a bounded, read-only query over the Standard usage cost table. Enabling the export changes the source of the cost reading; it does not change how Gemini credits are purchased or how other Google Cloud services are paid.
Why use CostCompass instead of Google's billing pages?
Google's billing pages remain the source for Gemini balance, payment history, and Google-only reports. CostCompass adds a single month-to-date usage-cost view across Google and the other providers you run, with the same next-month forecast and per-model or per-service breakdown available from one dashboard.

About the author

Joubert Berger builds CostCompass, a spend-intelligence dashboard that pulls usage from AI and compute providers into one month-to-date total, a forecast, and a per-provider breakdown. This guide reflects how CostCompass reads each provider's own usage API — see thesecurity model for how your keys are handled.

Track the Google usage behind both charging cycles

Connect Google Cloud and pull month-to-date usage cost, next-month forecast, and per-model and per-service breakdowns with one click.