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 providerInput /1MOutput /1MEndpoints
Vercel AI GatewayCheapest$0.20$0.201
ComponentUnitStandardBatchCached
Text input/1M tok$0.2000
Text output/1M tok$0.2000

Price history

input + output $/1M since we started tracking
Input Output
$0.000$0.050$0.100$0.150$0.200Jul 30Jun 22$0.200$0.200

Cost calculator

estimate your monthly spend on this model
$56
estimated / month

Model IDs

copy the exact identifier for your platform
vercel_ai_gateway/google/gemma-2-9b

Frequently asked questions

Gemma 2 9B pricing, context and availability

How 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 lineup
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