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.
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.
Token usage
Full breakdown of input and output tokens for every Gemini model. Understand your prompt-to-completion ratios and optimize token-heavy workflows.
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.
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.
Start tracking in under 2 minutes
Three steps to connect Google AI to Grafient.
Enable BigQuery billing export
In the Google Cloud Console, navigate to Billing > Billing Export and enable detailed usage export to a BigQuery dataset.
Create a service account
Create a service account with BigQuery Data Viewer permissions on your billing dataset. Download the JSON key file.
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.
What you can do with your Google AI data
Once connected, your Google AI data powers every feature in Grafient.
Cost Dashboard
Unified view of all your AI spending with charts, trends, and daily breakdowns.
Budget Alerts
Set daily or monthly thresholds and get notified before you overspend.
Cost Breakdown
Drill down by model, day, or provider to understand exactly where your money goes.
Insights
AI-powered spending analysis with anomaly detection and optimization suggestions.
Start tracking Google AI costs today
Free plan. No credit card. Set up in under two minutes.