---
title: Gemma 4 31B: benchmarks, pricing and alternatives
url: https://llmsranked.com/models/gemma-4-31b/
updated: 2026-11-19
---

[Google](https://llmsranked.com/providers/google/) · open weights

# Gemma 4 31B

- Data checked 19 November 2026

0

[Compare](https://llmsranked.com/compare/?m=gemma-4-31b)
[Estimate cost](https://llmsranked.com/calculator/?m=gemma-4-31b)

## Verdict

Gemma 4 31B ranks in the bottom quarter of 36 models on the intelligence index with a score of 4. Output speed is 36 tokens per second, in the bottom quarter for speed.

Gemma 4 31B is the largest dense model in Google DeepMind's open-weight Gemma 4 family, released in April 2026 under the Apache 2.0 license with 30.7B parameters. It accepts text and image input (video as frames) with a 256K-token context window, outputs text, and has a configurable thinking mode.

## Key numbers

Intelligence index 4 #35 of 36

Coding score 0.0 #35 of 36

Arena vote score 1452 #14 of 27

Blended price Not published

Output speed 36 t/s #37 of 39

Context window 262K tokens

Released 2 Apr 2026 Open weights

## Strong at

- Open weights: you can download and run it yourself

## Watch out for

- #35 of 36 on intelligence index
- #35 of 36 on coding score
- #33 of 36 on automationbench-aa
- #23 of 30 on Humanity's Last Exam

## Where Gemma 4 31B sits

Chart: 34 models. The line joins 6 models that no other model beats on both intelligence and price: Claude Haiku 5.5, GPT-6.1 Terra, Gemini 4 Hydrogen, Gemini 4 Carbon, Gemini 4 Neon, Claude Fable 5.2.

## Gemma 4 31B pricing

Google does not publish a list price for this model.

## Benchmark detail

| Benchmark | Score | Rank | Run by |
| --- | --- | --- | --- |
| [FrontierCode-AA 2.0](https://llmsranked.com/benchmarks/coding-score/) | 0% | #34 of 36 | Independent |
| [Terminal-Bench 4.1](https://llmsranked.com/benchmarks/coding-score/) | 0% | #33 of 36 | Independent |
| [AutomationBench-AA](https://llmsranked.com/benchmarks/automationbench/) | 4.9% | #33 of 36 | Independent |
| [GPQA Diamond](https://llmsranked.com/benchmarks/gpqa-diamond/) | 85.7% | #21 of 29 | Independent |
| [Humanity's Last Exam](https://llmsranked.com/benchmarks/humanitys-last-exam/) | 23.6% | #23 of 30 | Independent |
| [Time to first answer token](https://llmsranked.com/benchmarks/time-to-first-token/) | 79 s | #25 of 39 | Independent |
| LiveCodeBench v6 | 80% | Not ranked | Self-reported |
| Tau2 (average over 3) | 76.9% | Not ranked | Self-reported |

Time to first answer token includes thinking time at the highest effort setting, so it is not network latency.

## Where to use Gemma 4 31B

- API: [Google developer docs](https://gemma.ai/deployment/gemini-api/)
- Router: [OpenRouter](https://openrouter.ai/google/gemma-4-31b-it)
- Clouds: Google Vertex AI, Amazon Bedrock, Azure AI Foundry
- Weights: [Hugging Face](https://huggingface.co/google/gemma-4-31B-it) Apache-2.0

## Alternatives to Gemma 4 31B

[All alternatives](https://llmsranked.com/models/gemma-4-31b/alternatives/)

- Faster [Claude Fable 5.2](https://llmsranked.com/models/claude-fable-5-2/)109 tokens per second against 36, index 65 [Gemma 4 31B vs Claude Fable 5.2](https://llmsranked.com/compare/claude-fable-5-2-vs-gemma-4-31b/)
- Close match [gpt-oss-120b](https://llmsranked.com/models/gpt-oss-120b/)Similar score (4) and price ($0.262) [Gemma 4 31B vs gpt-oss-120b](https://llmsranked.com/compare/gemma-4-31b-vs-gpt-oss-120b/)
- Close match [Mistral Medium 3.5](https://llmsranked.com/models/mistral-medium-3-5/)Similar score (5) and price ($3) [Gemma 4 31B vs Mistral Medium 3.5](https://llmsranked.com/compare/mistral-medium-3-5-vs-gemma-4-31b/)
- Close match [Command A+](https://llmsranked.com/models/command-a-plus/)Similar score (6) and price (price not published) [Gemma 4 31B vs Command A+](https://llmsranked.com/compare/command-a-plus-vs-gemma-4-31b/)

## Compare Gemma 4 31B

- [Qwen3.8 27B vs Gemma 4 31B](https://llmsranked.com/compare/qwen3-8-27b-vs-gemma-4-31b/)
- [Gemma 4 31B vs gpt-oss-120b](https://llmsranked.com/compare/gemma-4-31b-vs-gpt-oss-120b/)
- [Mistral Medium 3.5 vs Gemma 4 31B](https://llmsranked.com/compare/mistral-medium-3-5-vs-gemma-4-31b/)

## More from Google

- [Gemini 4 Neon](https://llmsranked.com/models/gemini-4-neon/) index 62
- [Gemini 4 Carbon](https://llmsranked.com/models/gemini-4-carbon/) index 60
- [Gemini 4 Hydrogen](https://llmsranked.com/models/gemini-4-hydrogen/) index 54
- [Gemini 4 Argon](https://llmsranked.com/models/gemini-4-argon/) index 51
- [Gemini 3.5 Flash-Lite](https://llmsranked.com/models/gemini-3-5-flash-lite/) index 12

## Reader interest in Gemma 4 31B

Where people view and vote on this model over the last 30 days. Counted without cookies; no personal data kept.

[All reader votes](https://llmsranked.com/community/)

### Views by country

No views counted yet.

### Votes by country

No votes yet. Be the first.

### Devices

No data yet.

## Questions

What is Gemma 4 31B's context window? 262K tokens.

Is Gemma 4 31B open source? Its weights are open under the Apache-2.0, so you can download and run it yourself. Read the licence before commercial use.

What is a good alternative to Gemma 4 31B? Claude Fable 5.2: 109 tokens per second against 36, index 65. See [all Gemma 4 31B alternatives](https://llmsranked.com/models/gemma-4-31b/alternatives/).

Data notes30.7B params, open weights. AA reasoning variant; GPQA 85.7 from AA (Epoch only ran minimal-reasoning: 75.8). No first-party paid API price; third-party prices vary.

## Sources

Every figure on this page links to one of these. Checked 19 November 2026. Spotted something out of date? [Tell us](https://llmsranked.com/contact/)

- [Artificial Analysis](https://artificialanalysis.ai/models/gemma-4-31b) · Intelligence index, Coding tests, Speed, FrontierCode-AA 2.0, Terminal-Bench 4.1, AutomationBench-AA, Humanity's Last Exam, Time to first answer token
- [LMArena (arena.ai)](https://arena.ai/leaderboard/text) · Arena
- [Google official docs](https://blog.google/innovation-and-ai/technology/developers-tools/gemma-4/) · Context
- [Google (self-reported)](https://huggingface.co/google/gemma-4-31B-it) · LiveCodeBench v6, Tau2 (average over 3)
