Context
8K
Max output
8K
Serving providers
1
Cheapest input
$0.20 /1M
Prices are on-demand list rates. Enterprise commitments (committed-use discounts, provisioned throughput, negotiated rates) can be materially lower.
Pricing by serving provider
standard tier · per 1M tokens · click a provider to expand| Serving provider | Input /1M | Output /1M | Endpoints | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Vercel AI GatewayCheapest | $0.20 | $0.20 | 1 | ||||||||||||||||
| |||||||||||||||||||
Price history
input + output $/1M since we started tracking Input Output
Cost calculator
estimate your monthly spend on this model$56
estimated / month
Model IDs
copy the exact identifier for your platformvercel_ai_gateway/google/gemma-2-9b
Frequently asked questions
Gemma 2 9B pricing, context and availabilityHow much does Gemma 2 9B cost?
Gemma 2 9B costs $0.20 per 1M input tokens and $0.20 per 1M output tokens at its cheapest provider via Vercel AI Gateway.
What is the context window of Gemma 2 9B?
Gemma 2 9B accepts up to 8K tokens of context and can return up to 8K output tokens.
What can Gemma 2 9B do?
Gemma 2 9B supports image input (vision) and tool use.
Other Google models
compare pricing across the Google lineupGemini 2.5 Flash$0.15/1M · 8 providersGemma 3 27B$0.00/1M · 7 providersGemini 2.5 Pro$1.25/1M · 7 providersGemini 3 Flash Preview$0.50/1M · 5 providersGemini 3 Pro Preview$2.00/1M · 5 providersGemma 3 12B$0.05/1M · 4 providersGemini 2.0 Flash 001$0.10/1M · 4 providersGemini 3.1 Pro Preview$2.00/1M · 4 providers
Pricing verified against LiteLLM + OpenRouter + provider pages · refreshed daily
Every weekday
AI moves fast. Here's your debrief.
News, analysis, tools, and more.
For people who build with AI