Gemma 4 31B
Google's Gemma 4 31B instruction-tuned model for heavier reasoning, coding, agentic workflows, and long-context multimodal understanding. This route keeps tokenizer thinking disabled for faster direct answers. Requests containing video cost $0.14 per million input tokens and $0.40 per million output tokens.
- Reasoning
- Vision
- Video Input
- Structured Output
Added Apr 2, 2026
Model weightsPricing
Auto routing · per 1M tokens- Input
- $0.11
- Output
- $0.33
- Cache read
- $0.05
Specifications
- Context window
- 262.1K
- Max output
- 131.1K
- Parameters
- 31B
Benchmarks
Benchmarks
Sourced from LMArena.
Arena Score
1452.2
Overall Rank
#84 / 427
Votes
6,118
Confidence Interval
1444.7 - 1459.6
Category Scores
Coding
#83 / 422
1,407 votes
1502.4
Math
#65 / 410
430 votes
1467.1
Longer Query
#68 / 405
1,792 votes
1469.4
Creative Writing
#94 / 425
971 votes
1418.3
Instruction Following
#67 / 427
1,796 votes
1453.9
Hard Prompts
#81 / 427
3,554 votes
1475.7
Additional Categories19
Expert
#51 / 376
499 votes
1497.9
Russian
#56 / 391
821 votes
1468.4
Industry Mathematical
#66 / 407
344 votes
1471.3
Hard Prompts English
#71 / 425
1,321 votes
1486.0
Industry Software And It Services
#76 / 427
2,209 votes
1491.9
Industry Life And Physical And Social Science
#79 / 425
928 votes
1473.3
Multi Turn
#79 / 425
1,120 votes
1465.0
Industry Medicine And Healthcare
#80 / 396
421 votes
1471.0
Spanish
#82 / 309
253 votes
1450.0
Exclude Ties
#83 / 427
4,209 votes
1455.5
English
#84 / 427
2,322 votes
1462.7
Industry Writing And Literature And Language
#84 / 426
1,425 votes
1434.6
Non English
#86 / 427
3,796 votes
1438.0
Industry Business And Management And Financial Operations
#87 / 420
1,176 votes
1449.1
Industry Entertainment And Sports And Media
#94 / 425
1,086 votes
1416.1
Polish
#97 / 243
203 votes
1435.9
Industry Legal And Government
#98 / 398
451 votes
1454.7
Chinese
#102 / 399
521 votes
1478.5
French
#105 / 306
265 votes
1457.8
Published 2026-11-22 · Matched as Gemma 4 31B · CC BY 4.0
LMArena DatasetLeaderboard results
| Benchmark | Score | Rank on NanoGPT |
|---|---|---|
Epoch AI Benchmarking Hub Epoch AI data, CC BY 4.0 · Updated Dec 2, 2026 | ||
Epoch Capabilities Index | 144.1 | #88 of 116 |
GPQA Diamond | 75.8% | #90 of 120 |
SimpleQA Verified | 10.4% | #84 of 86 |
OTIS Mock AIME 2024–2025 | 73.3% | #90 of 122 |
EQ-Bench 4 | 1110 | #25 of 31 |
Creative Writing v3 | 1369 | #64 of 87 |
Longform Writing | 56.5 | #60 of 88 |
EQ-Bench 3 | 1464 | #20 of 42 |
UGI Leaderboard UGI Leaderboard data, Apache-2.0 · Updated Nov 27, 2026 | ||
UGI Score | 23.1 | #102 of 124 |
UGI Willingness | 2.5 | #78 of 124 |
UGI Writing | 43.1 | #65 of 124 |
Filtered and ranked to models on NanoGPT.
Providers
Choose or restrict providers with the API. Provider-selection prices include the selection markup. Provider selection guide · Pricing API (JSON, USD per 1K tokens)
| $0.11 | $0.33 | $0.05 | N/A | N/A | |
| $0.11 | $0.33 | $0.05 | N/A | N/A | |
| $0.0735 | $0.42 | $0.0525 | N/A | N/A | |
| $0.0945 | $0.452 | $0.0473 | N/A | N/A | |
| $0.0954 | $0.281 | $0.0112 | N/A | N/A | |
| $0.107$0.0964 | $0.312$0.281 | $0.0126$0.0113 | N/A | N/A | |
| $0.105 | $0.357 | $0.105 | N/A | N/A | |
| $0.105 | $0.472 | $0.0525 | N/A | N/A | |
| $0.131 | $0.357 | $0.0787 | N/A | N/A | |
| $0.131 | $0.357 | $0.0787 | N/A | N/A | |
| $0.136 | $0.399 | N/A | N/A | N/A | |
| $0.147 | $0.42 | $0.0525 | N/A | N/A | |
| $0.147 | $0.42 | $0.0735 | N/A | N/A | |
| $0.147 | $0.42 | N/A | N/A | N/A | |
| $0.151 | $0.441 | $0.0151 | N/A | N/A | |
| $0.156 | $0.441 | $0.0606 | N/A | N/A | |
| $0.157 | $0.42 | $0.063 | N/A | N/A | |
| $0.189 | $0.189 | N/A | N/A | N/A | |
| $0.21 | $0.352 | $0.105 | N/A | N/A | |
| $0.21 | $0.42 | $0.021 | N/A | N/A | |
| $0.315 | $0.956 | N/A | N/A | N/A | |
| $0.323 | $0.561 | N/A | N/A | N/A | |
| $0.357 | $0.105 | $0.105 | N/A | N/A | |
| $0.399 | $1.21 | N/A | N/A | N/A | |
| $0.42 | $1.05 | N/A | N/A | N/A | |
| $0.787 | $1.05 | $0.263 | N/A | N/A |
Manual provider picks
Observed speeds when callers selected a provider, grouped by the host that served the reply. These requests do not enter the Auto badge.
Bring your own key (BYOK)
Observed speeds using callers’ own provider keys. Account limits and service levels may differ from NanoGPT’s keys.
Recorded and unreported service-tier signals stay separate. Flex, Priority and Speed describe recorded request or response signals; mixed or unsupported signals are excluded. Default-like means auto, default or standard was reported; it does not verify an account’s upstream priority. Each reply counts once for its serving host. Averages use successful replies with both speed and first-token timing, over the freshest qualifying window in the last six hours.