Context
262K
Max output
262K
Serving providers
1
Cheapest input
$0.372 /1M
On-demand listed rates, OpenRouter routed quotes and Vercel reseller quotes. 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
Sarvam Cheapest$0.372$0.9571
Standardsarvam/gemma4
ComponentUnitStandard
Text cached in/1M tok$0.106
Text input/1M tok$0.372
Text output/1M tok$0.957

Price history

listed seller prices, input and output per 1M tokens
Input Output

Price history is accruing. We record a point each day a listed seller price changes; the full backfill lands shortly.

Cost calculator

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

Model IDs

copy the exact identifier for your platform
sarvam/gemma4

Frequently asked questions

Gemma4 pricing, context and availability

How much does Gemma4 cost?

Gemma4 costs $0.372 per 1M input tokens from Sarvam, and $0.957 per 1M output tokens from Sarvam.

What is the context window of Gemma4?

Gemma4 accepts up to 262K tokens of context and can return up to 262K output tokens.

What can Gemma4 do?

Gemma4 supports image input (vision), tool use, reasoning, prompt caching and structured output.

Other Google models

compare pricing across the Google lineup
Listed prices from LiteLLM, OpenRouter and Vercel · last checked Nov 28, 2026

Every weekday

AI moves fast. Here's your debrief.

News, analysis, tools, and more.

For people who build with AI