Google AI

Google AI Integration

Google AI Cost Tracking

Get full visibility into your Gemini API spend. Grafient connects to your BigQuery billing export to surface costs, token usage, and model-level breakdowns across AI Studio and Vertex AI — with up to 365 days of history.

History Depth

365 days

Usage Unit

Tokens

Data Source

BigQuery export

Complete visibility into your Google AI costs

Grafient captures every data point from the Google AI billing API so nothing slips through the cracks.

1

Cost per model

See exactly how much you spend on Gemini 2.5 Pro, Gemini 2.5 Flash, and every other model. Compare costs across model tiers and identify where your budget goes.

2

Token usage

Full breakdown of input and output tokens for every Gemini model. Understand your prompt-to-completion ratios and optimize token-heavy workflows.

3

AI Studio vs Vertex AI

Grafient distinguishes between AI Studio and Vertex AI usage, so you can see which platform drives more cost and make informed decisions about your deployment strategy.

4

Daily cost trends

365 days of historical cost data pulled directly from BigQuery. Spot long-term trends, seasonal patterns, and cost growth well before they become a budget problem.

Supported models

Current Google AI models with per-million-token pricing.

ModelInput / 1MOutput / 1MTier
Gemini 2.5 Pro$1.25$10.00
Flagship
Gemini 2.5 Flash$0.15$0.60
Fast
Gemini 2.0 Flash$0.10$0.40
Fast

Start tracking in under 2 minutes

Three steps to connect Google AI to Grafient.

1

Enable BigQuery billing export

In the Google Cloud Console, navigate to Billing > Billing Export and enable detailed usage export to a BigQuery dataset.

2

Create a service account

Create a service account with BigQuery Data Viewer permissions on your billing dataset. Download the JSON key file.

3

Connect to Grafient

Open Grafient, add a new Google AI integration, paste your service account JSON key and specify the BigQuery dataset. Grafient fetches up to 365 days of billing history.

Requires a BigQuery billing export and a service account with Data Viewer access. Standard Gemini API keys do not include billing data — the BigQuery export is the only way to get detailed cost breakdowns.

Start tracking Google AI costs today

Free plan. No credit card. Set up in under two minutes.