Google Deep MindApril 2, 2026

Gemma 4 31B

Google Gemma 4 31B

Gemma 4 31B is the flagship dense model of Google DeepMind's Gemma 4 family, released on April 2, 2026 under Apache 2.0. It has 30.7B parameters, a 256K-token context window, text and image input, switchable thinking and native function calling, and runs unquantised on a single 80GB H100. Google reported AIME 2026 rising from 20.8% for Gemma 3 27B to 89.2%, and LiveCodeBench from 29.1% to 80.0%.

Text + Image inputText outputOpen weights

At a glance

Context window
256K tokens
Max output
32K tokens
Text input / output · per 1M tokens
Free / Free
Knowledge cutoff
2025-01

Benchmark snapshot

Best result in 6 of 9 categories

View benchmark details (37)

Benchmark details

37 results · Best published score per benchmark, grouped by category

Benchmark · settingScoreRank
Academic
AIME 2026

Thinking (No Tools) · Mathematics

89.241 / 46
CritPt

Thinking (No Tools) · Scientific Reasoning

1.496 / 134
GPQA Diamond

Thinking (No Tools) · Scientific Reasoning

84.386 / 200
HLE

Thinking (With Tools + Internet) · Knowledge Exams

26.591 / 151
HLE-Diamond

Thinking (No Tools) · Knowledge Exams

7.216 / 16
MMLU-Pro

Thinking (No Tools) · Knowledge Exams

85.229 / 153
SciCode

Thinking (No Tools) · Scientific Computing

45.562 / 98
Coding
CodeForces

Thinking (No Tools) · Algorithmic Coding

215010 / 16
DeepSWE

Thinking (With Tools) · Repository Engineering

0.373 / 73
FrontierCode 2.0

Thinking (With Tools) · Repository Engineering

0.036 / 36
LiveCodeBench

Thinking (No Tools) · Algorithmic Coding

80.036 / 113
Terminal Bench Hard

Thinking (With Tools) · Agentic Development

36.445 / 157
Computer Use
MCP-Atlas

Thinking (With Tools) · Tool Orchestration

54.252 / 55
PinchBench v2

Reported best (effort unspecified) · Tool Orchestration

52.744 / 51
ScreenSpot-Pro (no tools)

Thinking (No Tools) · GUI Grounding

5.98 / 8
General Evaluation
AA Intelligence Index v5.0.1

Thinking (With Tools) · Capability Indices

4.460 / 62
LiveBench

Normal (No Tools) · Cross-capability Suites

61.680 / 106
LiveBench 2.0

Max (task-specific tools) · Cross-capability Suites

Source: LiveBench (livebench.ai)
41.549 / 51
Language & Creation
Creative Writing

Normal (No Tools) · Writing

136978 / 121
Long Context
GDM-MRCR v2 (8-needle, 128K)

Thinking (No Tools) · Long Retrieval

66.45 / 8
LongBench v2

Thinking (No Tools) · Long Reasoning

52.916 / 22
Multimodal
Chartography

Thinking (No Tools) · Documents & Charts

12.029 / 29
GDP.pdf

Thinking (No Tools) · Documents & Charts

6.070 / 96
MathVision

Thinking (No Tools) · Visual Understanding

85.66 / 10
MMMU-Pro

Reported best (effort unspecified) · Visual Understanding

76.954 / 136
OmniDocBench

Thinking (No Tools) · Documents & Charts

82.54 / 6
PerceptionBench

Thinking (No Tools) · Visual Understanding

40.718 / 19
ZeroBench Main

Thinking (With Tools) · Visual Understanding

12.019 / 21
Professional
AutomationBench

Max (With Tools) · Private held-out (657 tasks) · Office & Business

1.761 / 64
GDPval-AA v2

Thinking (With Tools) · limited comparability · Cross-industry Work

627Elo22 / 23
Harvey Lab-AA

Thinking (With Tools) · Legal

47.235 / 39
JobBench

Thinking (With Tools) · Cross-industry Work

8.2Unranked
SAGE

Thinking High (With Tools) · Service Workflows

Source: Vals AI. © 2026 Vals AI. All rights reserved. No affiliation or endorsement.
55.02 / 82
τ²-Bench

Thinking (With Tools) · Service Workflows

76.920 / 40
τ³-Banking

Thinking (With Tools) · Service Workflows

14.875 / 120
Research & Search
BrowseComp

Thinking (With Tools) · Fact Finding

37.056 / 61
DeepSearchQA

Thinking (With Tools) · Fact Finding

61.79 / 9
27 more results in Coding, Computer Use, General Evaluation and 5 more

Rank is this model's position among every model with a published result on that leaderboard; the bar shows how far up the field that is. Orange marks first place on leaderboards with at least 5 models. Unranked leaderboards publish a composite or direction-less score.

Back to benchmark snapshot ↑

API price vs benchmark score

Pass Rate (higher is better)This modelPareto frontier34 priced models
0$020.26$6.4840.53$12.9660.79$19.44Blended API price / 1M tokens (4:1 input/output, uncached)Gemini 4 NeonGemma 4 31B
Gemma 4 31BFree / 1M1.7%Max (With Tools)Pareto frontier
Result source
Methodology & notes (1 unpriced omitted)

Uses listed uncached text API rates at a 4:1 input/output mix against one published protocol and setting (zapier-private-heldout). API rates are separate from evaluation token costs and do not measure cost per solved task. Selected point basis: Standard pricing. Google Gemini Developer API Free Tier verified 2026-11-13; Free of charge (Paid Tier N/A)

API pricing

Text rates in USD per million tokens; other billing units shown below · effective 2026-04-02

Input
$0.00
Output
$0.00

Blended price4:1 input:output · same basis as the price ranking

$0.00/ 1M tokens

Image pricing

  • image input$0.00 / 1M tokens

    Google Gemini Developer API Free Tier verified 2026-11-13; Free of charge (Paid Tier N/A)

Estimate running cost for Gemma 4 31B

Specifications

Provider
Google Deep Mind
Model type
Chat model
Released
April 2, 2026
Total parameters
30.7B
Architecture
Dense
Context window
256K tokens
Max output
32K tokens
Knowledge cutoff
2025-01
Input
Text, Image
Output
Text
Licence
Apache 2.0
Commercial use
Commercial use allowed

Capabilities

ReasoningFunction callingStructured outputLong context

Model analysis

**Gemma 4 31B** is a chat model from DeepMind, released on 2026-04-02. It accepts text and image input and produces text output. Its cataloged capabilities include Reasoning model. The cataloged parameter count is 30.7B. The recorded context window is 256K, and the recorded maximum output is 32K. The checkpoint is listed under the Apache 2.0 license, with the license link included in the model references. The evaluation section contains 8 cataloged benchmark results with their recorded modes and scores. The page links 4 release, model-card, repository, or provider references for checking the underlying claims. Specifications, availability, and prices can change; undisclosed values are intentionally left unstated.

Last reviewed 2026-10-10

LLMLearner on Gemma 4 31B

Our editorial read, one angle at a time, with the evidence behind each one.

Privacy and deployment

Easy to self-host, but newer open models of similar size do more

Gemma 4 31B runs unquantised on a single 80GB GPU under Apache 2.0, and it follows instructions well: Artificial Analysis measures 75.6% on IFBench with thinking on.

On agentic and professional work, newer open models of similar size are clearly ahead. With thinking on, Artificial Analysis measures 43.4% on Terminal-Bench 2.1 against 60.7% for Qwen3.6-27B; without thinking, GDPval-AA v2 rates Gemma 4 31B 691 against 1,137 for Qwen3.8-27B; and LiveBench gives 61.62 against 64.03 for Qwen3.6-27B.

Choose it when Google's licence terms, language coverage or ecosystem matter; for self-hosted agents, the Qwen 27B models are the stronger option.

MixedAI-assistedUpdated Oct 10, 2026
4 sources
  • Artificial Analysis results

    Gemma 4 31B IF Bench 75.6 (thinking_no_tool)

    Independent evaluation

  • Artificial Analysis results

    Gemma 4 31B Terminal-Bench 2.1 43.4 (thinking_with_tool); Qwen3.6-27B Terminal-Bench 2.1 60.7 (thinking_with_tool)

    Independent evaluation

  • Artificial Analysis results

    Gemma 4 31B GDPval-AA v2 691 (normal_with_tool); Qwen3.8-27B GDPval-AA v2 1137 (normal_with_tool)

    Independent evaluation

  • LiveBench results

    Gemma 4 31B LiveBench 61.62 (normal_no_tool); Qwen3.6-27B LiveBench 64.03 (normal_no_tool)

    Independent evaluation

Gemma 4 31B vs competitors

Comparable results only · record is Gemma 4 31B's wins–losses

Gemma 4 31B benchmark scores against competitors
BenchmarkGemma 4 31BThis modelvs GLM-5Record 1–10vs Kimi K2.5Record 5–11vs Qwen3.5-27BRecord 4–8
GPQA Diamond84.386.087.685.5
Terminal Bench Hard36.443.234.832.6
HLE26.550.450.248.5
CritPt1.42.03.10.9
BrowseComp37.075.960.661.0
AIME 202689.292.795.891.7
LongBench v252.960.861.060.6
MMLU-Pro85.2—78.586.1
MMMU-Pro76.9—75.475.0
Creative Writing136916011579—

Lineage

Predecessors and successors · oldest to newest

  1. Gemma 3 - 27B (IT)Mar 12, 2025
  2. 386 days
    Gemma 4 31BApr 2, 2026vs Gemma 3 - 27B (IT)

Generational jump vs Gemma 3 - 27B (IT)

1 like-for-like benchmark with the same protocol and setting.

Full head-to-head
Gemma 4 31BGemma 3 - 27B (IT)Other ranked models

Normal (No Tools) · 90 ranked

1266→1369
01.2K2.4K2177GPT-6 AstraKimi K3.1 ProClaude Fable 5…1369Gemma 4 31BQwen3-235B-A22…MiniMax M2.5GPT-4o (2025-0…GLM-4.5GPT-5-miniGemma 4 26B A4BNemotron 3.5 L…1266Gemma 3 - 27B…+102 · #70→#62
Hover or focus any bar to inspect rank & scoreRank #70 → #62

Price & benchmark trends

Across curated predecessors and successors, ordered by release date. Points use listed rates and published results, not within-model price history. Related branches may appear; undated models appear last.

API price across generations

Text inputText outputUSD / 1M tokens
$0$0.54$1.08Gemma 3 - 27B (IT)Gemma 4 31B

Uncached text rates on one linear USD axis (lower is cheaper). Retired models may keep their last recorded rate; inspect each model for tier conditions.

Benchmark performance across generations

0739.041.48KGemma 3 - 27B (IT)Gemma 4 31B

Published score · Higher is better. Same recorded metric, protocol and setting.

Inspect Creative Writing ↗

Orange marks this model. Hover, tap or focus the chart to inspect exact values. Missing values leave gaps; horizontal spacing shows release order, not elapsed time.

Listed prices and selected benchmark scores across model generations
Model · releasedInput / 1MOutput / 1MPrice effectiveCreative Writing
1Gemma 3 - 27B (IT)Mar 12, 2025$0.080$0.1602026-11-131266 ↗
2Gemma 4 31BApr 2, 2026 · This modelFreeFree2026-04-021369 ↗

Community discussion

Share the API, setup, and tradeoffs you actually tested. Rate the model once; comment as often as you like.

Sign in with Google to rate this model and leave a comment.

No community comments yet.

Questions

What is Gemma 4 31B?
What is Gemma 4 31B?

Gemma 4 31B is a chat model from DeepMind, released on 2026-04-02. It accepts text and image input and returns text output. The cataloged parameter count is 30.7B. The recorded context window is 256K, and the recorded maximum output is 32K. Cataloged capabilities include Reasoning model. The checkpoint is listed under the Apache 2.0 license, with the license link included in the model references. Use the linked references to confirm current access, licensing, and provider-specific limits.

What input and output modalities does Gemma 4 31B support?
What input and output modalities does Gemma 4 31B support?

The current model record lists text and image as input and text as output.

What are the main recorded specifications for Gemma 4 31B?
What are the main recorded specifications for Gemma 4 31B?

The cataloged parameter count is 30.7B. The recorded context window is 256K, and the recorded maximum output is 32K. Fields without a source-backed value remain undisclosed.

Why is no API price shown for Gemma 4 31B?
Why is no API price shown for Gemma 4 31B?

Open-weight checkpoint; Google publishes no billable first-party token price for this exact checkpoint.

Are benchmark results available for Gemma 4 31B?
Are benchmark results available for Gemma 4 31B?

The evaluation section contains 8 cataloged benchmark results with their recorded modes and scores. Compare only results that use the same benchmark version and evaluation mode.

Is Gemma 4 31B open source?
Is Gemma 4 31B open source?

The checkpoint is listed under the Apache 2.0 license, with the license link included in the model references. Review the linked license text before commercial or derivative use.