Google Gemini API Pricing & Model Reference
Canonical upstream wholesale pricing and Valstorm 1.25x metered gateway rates for Google Gemini 4, 3.8, 3.5, 3.1, 2.5, 2.0, and Gemma 4 models.
Official Provider Documentation: Google Gemini Developer Pricing | Vertex AI / GEAP Pricing Source of Truth in Code:
apps/api/app/billing/pricing_service.py(GEAP_PRICING&EXACT_MODEL_PRICING) andapps/api/app/valstorm/ai/model_registry.py
Overview & Gateway Metering Formula
The Valstorm AI Gateway (/v1/ai/chat/completions and /v1/ai/gemini/{api_version}/models/{model}:{method}) routes Gemini requests natively to Google Vertex AI / Gemini Enterprise (global endpoint) and AI Studio while preserving thought signatures, multimodal inputs, and native tool calls.
All token usage is metered in real time with a 25% platform gateway markup (AI_MARKUP = 1.25x) over upstream rates:
- Thinking Tokens: Google includes reasoning/thinking tokens (
thoughtsTokenCount) in output token billing (candidatesTokenCount + thoughtsTokenCount). - Long-Context Threshold (
> 200,000Prompt Tokens): When a single prompt exceeds200,000input tokens on models with long-context tiers, all input, cached, and output tokens for that request are billed at the> 200krate. - Built-In Model Aliases:
gemini-flash-latestgemini-3.8-flashgemini-flash-lite-latestgemini-3.5-flash-lite(billing) /gemini-2.5-flash-litegemini-pro-latestgemini-4-argon
1. Gemini 4 & Gemini 3 Series (Active Generation)
All prices are in USD per 1 Million (1M) tokens, showing both Upstream Base Rate (1.0x) and Valstorm Metered Rate (1.25x).
| Model / Alias | Canonical Model ID | Context Tier | Upstream Input (1.0x) | Upstream Cached (1.0x) | Upstream Output (1.0x) | Valstorm Input (1.25x) | Valstorm Cached (1.25x) | Valstorm Output (1.25x) |
|---|---|---|---|---|---|---|---|---|
| Gemini 4 Argon (Promo thru Nov 30, 2026) Alias: gemini-pro-latest | gemini-4-argon | All | $2.00 | $0.10 | $10.00 | $2.5000 | $0.1250 | $12.5000 |
| Gemini 4 Argon (List starting Dec 1, 2026) | gemini-4-argon | All | $4.00 | $0.20 | $20.00 | $5.0000 | $0.2500 | $25.0000 |
| Gemini 3.8 Flash (Default Agent Model) Alias: gemini-flash-latest | gemini-3.8-flash | All | $1.50 | $0.15 | $7.50 | $1.8750 | $0.1875 | $9.3750 |
| Gemini 3.8 Flash Cyber | gemini-3.8-flash-cyber | All | $1.50 | $0.15 | $7.50 | $1.8750 | $0.1875 | $9.3750 |
| Gemini 3.7 Flash | gemini-3.7-flash | All | $1.50 | $0.15 | $7.50 | $1.8750 | $0.1875 | $9.3750 |
| Gemini 3.6 Flash | gemini-3.6-flash | All | $1.50 | $0.15 | $7.50 | $1.8750 | $0.1875 | $9.3750 |
| Gemini 3.5 Flash | gemini-3.5-flash | All | $1.50 | $0.15 | $9.00 | $1.8750 | $0.1875 | $11.2500 |
| Gemini 3.5 Flash-Lite Alias: gemini-flash-lite-latest | gemini-3.5-flash-lite | All | $0.30 | $0.03 | $2.50 | $0.3750 | $0.0375 | $3.1250 |
| Gemini 3.1 Pro | gemini-3.1-pro | ≤ 200k | $2.00 | $0.20 | $12.00 | $2.5000 | $0.2500 | $15.0000 |
| Gemini 3.1 Pro (Long Context) | gemini-3.1-pro | > 200k | $4.00 | $0.40 | $18.00 | $5.0000 | $0.5000 | $22.5000 |
| Gemini 3 Pro Image | gemini-3-pro-image | ≤ 200k | $2.00 | $0.20 | $12.00 | $2.5000 | $0.2500 | $15.0000 |
| Gemini 3 Pro Image (Long Context) | gemini-3-pro-image | > 200k | $4.00 | $0.40 | $18.00 | $5.0000 | $0.5000 | $22.5000 |
| Gemini 3.1 Flash-Lite | gemini-3.1-flash-lite | All | $0.25 | $0.025 | $1.50 | $0.3125 | $0.03125 | $1.8750 |
| Gemini 3.1 Flash Image | gemini-3.1-flash-image | All | $0.50 | $0.05 | $3.00 | $0.6250 | $0.0625 | $3.7500 |
2. Gemini 2.5, Gemini 2.0 & Gemma 4 Series
| Model | Canonical Model ID | Context Tier | Upstream Input (1.0x) | Upstream Cached (1.0x) | Upstream Output (1.0x) | Valstorm Input (1.25x) | Valstorm Cached (1.25x) | Valstorm Output (1.25x) |
|---|---|---|---|---|---|---|---|---|
| Gemini 2.5 Pro | gemini-2.5-pro | ≤ 200k | $1.25 | $0.125 | $10.00 | $1.5625 | $0.15625 | $12.5000 |
| Gemini 2.5 Pro (Long Context) | gemini-2.5-pro | > 200k | $2.50 | $0.250 | $15.00 | $3.1250 | $0.31250 | $18.7500 |
| Gemini 2.5 Flash | gemini-2.5-flash | All | $0.30 | $0.030 | $2.50 | $0.3750 | $0.03750 | $3.1250 |
| Gemini 2.5 Flash-Lite | gemini-2.5-flash-lite | All | $0.10 | $0.010 | $0.40 | $0.1250 | $0.01250 | $0.5000 |
| Gemini 2.0 Flash | gemini-2.0-flash | All | $0.15 | $0.150 | $0.60 | $0.1875 | $0.18750 | $0.7500 |
| Gemini 2.0 Flash-Lite | gemini-2.0-flash-lite | All | $0.075 | $0.075 | $0.30 | $0.09375 | $0.09375 | $0.3750 |
| Gemma 4 31B IT (DO Hosted) | gemma-4-31b-it | All | $0.18 | $0.036 | $0.50 | $0.2250 | $0.04500 | $0.6250 |
| Gemma 4 26B (GEAP) | gemma-4-26b | All | $0.15 | $0.015 | $0.60 | $0.1875 | $0.01875 | $0.7500 |
3. Built-in Tools & Grounding Extensions
| Tool / Extension | Upstream Quota / Cost | Valstorm Metering Rules |
|---|---|---|
| Google Search & Maps Grounding | Gemini 3.x / 4.x: 5,000 free requests/mo, then $14.00 / 1,000 queriesGemini 2.5: $35.00 / 1,000 grounded prompts | Grounded prompt and response tokens are metered at standard 1.25x model token rates. |
| Sandboxed Code Execution | Included in token billing | Billed at 1.25x model token rates for generated code and execution output tokens. |
| VFS Hybrid Dense Vector & RAG Search | $0.0100 / API call (POST /v1/search, /v1/search/stream) | Metered at $0.0100 (TIER_HEAVY_COMPUTE) per search call plus 1.25x RAG synthesis tokens. |