Context
256K
Max output
256K
Serving providers
1
Cheapest input
$0.14 /1M
Prices are on-demand list rates. 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.06s
latency
Headline indices
Individual benchmarks · click a row for effort variants
| Benchmark | Best score | Effort | Cost / task | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| AA-Briefcase | 0% | — | — | |||||||||||||
| CritPt | 1% | default | — | |||||||||||||
| ||||||||||||||||
| EvalComputeProxy | 2264.8 | default | — | |||||||||||||
| ||||||||||||||||
| GDPval | 804.0 | default | — | |||||||||||||
| ||||||||||||||||
| GPQA Diamond | 86% | default | — | |||||||||||||
| ||||||||||||||||
| Humanity's Last Exam | 23% | default | — | |||||||||||||
| ||||||||||||||||
| IFBench | 76% | default | — | |||||||||||||
| ||||||||||||||||
| IT-Bench SRE | 37% | default | — | |||||||||||||
| Long-Context Reasoning | 62% | default | — | |||||||||||||
| ||||||||||||||||
| MMMU-Pro | 73% | default | — | |||||||||||||
| ||||||||||||||||
| Omniscience | -45.4 | default | — | |||||||||||||
| ||||||||||||||||
| SciCode | 43% | default | — | |||||||||||||
| ||||||||||||||||
| TerminalBench Hard | 36% | default | — | |||||||||||||
| ||||||||||||||||
| TerminalBench v2.1 | 43% | default | — | |||||||||||||
| ||||||||||||||||
| τ-bench Banking | 15% | default | — | |||||||||||||
| ||||||||||||||||
| τ²-bench | 66% | reasoning: false | — | |||||||||||||
| ||||||||||||||||
Pricing by serving provider
standard tier · per 1M tokens · click a provider to expand| Serving provider | Input /1M | Output /1M | Endpoints | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Amazon BedrockCheapest | $0.14 | $0.40 | 1 | ||||||||||||||||
| |||||||||||||||||||
Price history
input + output $/1M since we started tracking 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-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 and $0.40 per 1M output tokens at its cheapest provider via Amazon Bedrock.
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.
What can Gemma 4 31B do?
Gemma 4 31B supports image input (vision), tool use and reasoning.
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