Gemma 4 31B: Intelligence, Performance & Price Analysis
Model summary
Verbosity
Gemma 4 31B (Reasoning) is among the least intelligent models, but well priced when comparing to other open weight models of similar size. The model supports text, image, and video input, outputs text, and has a 256k tokens context window.
Gemma 4 31B (Reasoning) scores 4 on the Artificial Analysis Intelligence Index, placing it at the lower end among comparable models (median: 8).
Pricing for Gemma 4 31B (Reasoning) is $0.00 per 1M input tokens (competitively priced, median: $0.13) and $0.00 per 1M output tokens (competitively priced, median: $0.30).
| Input modality | Supports: text, image, and video |
|---|---|
| Output modality | Supports: text |
| Context window | 256k ~384 A4 pages of size 12 Arial font |
| Total parameters | 30.7B |
| License | Apache 2.0 |
| Model weights | Hugging Face |
Metrics are compared against models of the same class:
- Non-reasoning models → compared only with other non-reasoning models
- Reasoning models → compared across both reasoning and non-reasoning
- Open weights models → compared only with other open weights models of the same size class:
- Tiny: ≤4B parameters
- Small: 4B–40B parameters
- Medium: 40B–150B parameters
- Large: >150B parameters
- Proprietary models → compared across proprietary and open weights models of the same price range, using a blended 3:1 input/output price ratio:
- <$0.15 per 1M tokens
- $0.15–$1 per 1M tokens
- >$1 per 1M tokens
Intelligence
Artificial Analysis Intelligence Index
Artificial Analysis Intelligence Index by Open Weights / Proprietary
Intelligence Index vs. Cost per Task
Capability Indexes
Incorporates 5 evaluations: AA-Briefcase v1.1, AA-Omniscience v1.1, HLE-Diamond, AutomationBench-AA, GDP.pdf · Higher is better
Incorporates 4 evaluations: AutomationBench-AA, AA-Briefcase v1.1, AA-Omniscience v1.1, GDP.pdf · Higher is better
Incorporates 5 evaluations: AA-Omniscience v1.1, AA-Briefcase v1.1, HLE-Diamond, GDP.pdf, AutomationBench-AA · Higher is better
Incorporates 7 evaluations: AA-Omniscience v1.1, CritPt v2 (Hard Subset), Terminal-Bench-Science 0.1, HLE-Diamond, Terminal-Bench 4.0, FrontierCode-AA 2.0, AA-Briefcase v1.1 · Higher is better
Incorporates 4 evaluations: AA-Omniscience v1.1, AA-Briefcase v1.1, HLE-Diamond, GDP.pdf · Higher is better
Evaluations
Agentic knowledge work, Elo
Knowledge
1 - hallucination rate
Agentic SaaS workflows
Agentic scientific research workflows in a terminal
Agentic software engineering in open-source repositories
Reasoning & knowledge
Professional document reasoning, All-pass
Agentic coding & terminal use
Physics reasoning
Agentic business operations
Agentic real-world work tasks, Elo
Kubernetes incident root-cause analysis
Visual reasoning
Openness Index
Artificial Analysis Openness Index: Score
Cost
Cost per Intelligence Index Task
Cost to Run Artificial Analysis Intelligence Index
Pricing: Cache Hit, Input, and Output
Performance
Measured by time per task (minutes), output speed (tokens per second), time to first answer token and time to first token (seconds)
Time per Intelligence Index Task
Output Speed
Time to First Answer Token
Context Window
Context Window
Model Size (Open Weights Models Only)
Model Size: Total and Active Parameters
Further details
Frequently Asked Questions
Common questions about Gemma 4 31B
Gemma 4 31B was released on April 2, 2026.
Gemma 4 31B was created by Google.
Gemma 4 31B has 2 effort levels: reasoning and non-reasoning. Gemma 4 31B scores 4 (reasoning) on the Artificial Analysis Intelligence Index. Gemma 4 31B (Reasoning) is at the lower end among other open weight models of similar size (median: 8).
Gemma 4 31B has a time to first answer token of 52.49s (reasoning) and 4.01s (non-reasoning) (based on Google's API for reasoning and the median across providers for non-reasoning). Gemma 4 31B (Reasoning)'s time to first answer token is at the higher end compared to other open weight models of similar size (median: 4.61s).
Gemma 4 31B costs $0.00 (reasoning) and $0.15 (non-reasoning) per 1M input tokens and $0.00 (reasoning) and $0.40 (non-reasoning) per 1M output tokens, based on Google's API for reasoning and the median across providers for non-reasoning. Gemma 4 31B (Reasoning) is very competitive on input price (median: $0.13) and very competitive on output price (median: $0.30).
Gemma 4 31B costs $0.00 (reasoning) and $0.15 (non-reasoning) per 1M input tokens and $0.00 (reasoning) and $0.40 (non-reasoning) per 1M output tokens (based on Google's API for reasoning and the median across providers for non-reasoning). For a blended rate (7:2:1 cache hit/input/output ratio), this is $0.00 (reasoning) and $0.17 (non-reasoning) per 1M tokens. Pricing may vary by provider. Compare provider pricing
Yes, Gemma 4 31B (Reasoning) is a reasoning model. It uses extended thinking or chain-of-thought reasoning to work through complex problems before providing an answer. No, Gemma 4 31B (Non-reasoning) is not a reasoning model. It provides direct responses without extended chain-of-thought reasoning.
Gemma 4 31B supports text, image, and video input.
Gemma 4 31B supports text output.
Yes, Gemma 4 31B supports image input and can analyze, describe, and answer questions about images.
Yes, Gemma 4 31B is multimodal. It can process text, image, and video input and generate text output.
Gemma 4 31B has a context window of 256k tokens. This determines how much text and conversation history the model can process in a single request.
Yes, Gemma 4 31B is open weights. The model weights are publicly available and can be downloaded for self-hosting.
Gemma 4 31B has 30.7B parameters.
Gemma 4 31B is released under the Apache 2.0 license. This license allows commercial use. View license
Gemma 4 31B achieves a score of 4 (reasoning) on the Artificial Analysis Intelligence Index. This composite benchmark evaluates models across knowledge work, coding, science, and general knowledge.
Yes, Gemma 4 31B is available via API through 10 providers. Compare API providers
Gemma 4 31B is available through 10 API providers. Compare providers