Context
256K
Max output
256K
Serving providers
2
Cheapest input
$0.14 /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.
Benchmarks
independent evaluations · source: Artificial AnalysisSpeed & latency
Output speed
35 t/s
tokens / second
Time to first token
1.11s
latency
Headline indices
Individual benchmarks · click a row for effort variants
| Benchmark | Best score | Effort | Cost / task | |||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| AA-BriefcaseUndated | 0% | default | — | |||||||||||||||||||||||||||||
| Automation Bench | 0.0 | default | — | |||||||||||||||||||||||||||||
| CritPt | 1% | default | — | |||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
| EvalComputeProxyFrozen Aug 18, 2026 | 498.3 | default | — | |||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
| GDPval v2Frozen Aug 18, 2026 | 810.6 | default | — | |||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
| GPQA Diamond | 86% | default | — | |||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
| Harvey Lab | 0.5 | default | — | |||||||||||||||||||||||||||||
| Humanity's Last Exam | 24% | default | — | |||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
| IFBench | 76% | default | — | |||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
| IT-Bench SRE | 37% | default | — | |||||||||||||||||||||||||||||
| Long-Context Reasoning | 70% | default | — | |||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
| MMMU-Pro | 73% | default | — | |||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
| Omniscience | -47.9 | default | — | |||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
| Omniscience Accuracy | 0.2 | default | — | |||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
| Omniscience Non Hallucination | 0.2 | reasoning: false | — | |||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
| SciCode | 45% | default | — | |||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
| Terminal Bench40 | 0 | default | — | |||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
| TerminalBench Hard | 36% | default | — | |||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
| TerminalBench v2.1 | 43% | default | — | |||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
| τ-bench Banking | 15% | default | — | |||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
| τ²-bench | 65% | reasoning: false | — | |||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||
Artificial Analysis last published scores for this benchmark on Sep 9, 2026. Scores here are frozen at that date, and models released since are not on it.
We cannot tell whether this benchmark is still being published. Treat these scores as undated.
Artificial Analysis last published scores for this benchmark on Aug 18, 2026. Scores here are frozen at that date, and models released since are not on it.
Pricing by serving provider
standard tier · per 1M tokens · click a provider to expandInput pricing runs from $0.14 to $0.99 per 1M tokens across 2 providers, so the dearest route costs 607% more than the cheapest for the same model.
| Serving provider | Input /1M | Output /1M | Endpoints | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Amazon BedrockCheapest | $0.14 | $0.40 | 1 | ||||||||||
Standardbedrock_mantle/google.gemma-4-31b
| |||||||||||||
| Cerebras | $0.99 | $1.49 | 1 | ||||||||||
Standardcerebras/gemma-4-31b
| |||||||||||||
Price history
listed seller prices, input and output per 1M tokens Input Output
Cost calculator
estimate your monthly spend on this model$60
estimated / month
Model IDs
copy the exact identifier for your platformbedrock_mantle/google.gemma-4-31bcerebras/gemma-4-31b
Frequently asked questions
Gemma 4 31B pricing, context and availabilityHow much does Gemma 4 31B cost?
Gemma 4 31B costs $0.14 per 1M input tokens from Amazon Bedrock, and $0.40 per 1M output tokens from Amazon Bedrock. Across 2 serving providers, input prices range from $0.14 to $0.99 per 1M tokens.
What is the context window of Gemma 4 31B?
Gemma 4 31B accepts up to 256K tokens of context and can return up to 256K output tokens.
Which providers serve Gemma 4 31B?
Gemma 4 31B is available from 2 serving providers, each with its own pricing and model ID. Amazon Bedrock is currently the cheapest.
What can Gemma 4 31B do?
Gemma 4 31B supports image input (vision), tool use, reasoning and structured output.
Other Google models
compare pricing across the Google lineup Listed prices from LiteLLM, OpenRouter and Vercel · last checked Oct 14, 2026
Every weekday
AI moves fast. Here's your debrief.
News, analysis, tools, and more.
For people who build with AI