Gemma 4 31B vs GPT-6.1 Sol
Updated October 21, 2026. 52 benchmarks have a result for both. Coding is ranked on the Vibe Coding Index; every other board is shown as published.
Decision reading
Pick GPT-6.1 Sol for coding: it scores 88.7 on the Vibe Coding Index against 38.3 for Gemma 4 31B.
Pick Gemma 4 31B when output tokens cost 25.0x less, or when what matters is LMArena Text: science or LMArena Text: medicine and healthcare, where it leads.
- Shared results
- 52
- Gemma 4 31B only
- 16
- GPT-6.1 Sol only
- 43
- Like-for-like categories
- 8 of 9
Shared results can support a head-to-head reading. Results only one model has describe coverage, not superiority.
Which one for your work
Each card is decided by one number both models carry. Where only one has it, the card says so and makes no call.
Coding
Vibe Coding Index, four public coding benchmarks
GPT-6.1 Sol
GPT-6.1 Sol scores 88.7 against 38.3.
2 benchmarks behind each score
Intelligence
AA Intelligence Index
GPT-6.1 Sol
GPT-6.1 Sol leads, 51.8 against 14.7.
Same board, both measured
Agentic work
AA Agentic Index
No call
Only Gemma 4 31B has a AA Agentic Index result, 4.2.
Directional only
Web design
Design Arena: websites
No call
Only GPT-6.1 Sol has a Design Arena: websites result, 1321.
Directional only
General
Vals Index
No call
Only GPT-6.1 Sol has a Vals Index result, 63.9%.
Directional only
Long documents
Listed context window
GPT-6.1 Sol
GPT-6.1 Sol takes 1.05M tokens against 262K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Gemma 4 31B
Gemma 4 31B $0.0004, GPT-6.1 Sol $0.0070 per turn.
List prices
At a glance
- Coding index
- Gemma 4 31B 38.3 from 2 benchmarks, GPT-6.1 Sol 88.7 from 2 benchmarks.
- Widest category
- Agentic work, 60.9 points apart on average over 3 shared benchmarks.
- Widest single gap
- LiveBench browser: Gemma 4 31B 4.0% against GPT-6.1 Sol 88.0%, 84.0 points apart on a 0 to 100 scale.
- Output price
- Gemma 4 31B $0.40 against GPT-6.1 Sol $10.00 per million output tokens, 25.0x apart.
- Context window
- Gemma 4 31B takes 262K tokens, GPT-6.1 Sol 1.05M.
Benchmark by benchmark
First the score: boards each model leads, per category, where both have a result. Then every board, a category to a fold; bars are each result on a 0 to 100 scale, so compare the two in a row, not one row with another.
| Category | Gemma 4 31B | Bars | GPT-6.1 Sol | Ties |
|---|---|---|---|---|
| Coding | 0 | 8 | ||
| Intelligence | 0 | 2 | ||
| Agentic work | 0 | 3 | ||
| Reasoning | 0 | 8 | ||
| Math | 0 | 3 | ||
| Knowledge | 2 | 3 | ||
| Web design | 0 | 1 | ||
| General | 5 | 17 | ||
| All shared boards | 7 | 45 |
CodingLike-for-likeFour of these boards feed the Vibe Coding Index08
| Benchmark | Gemma 4 31B | GPT-6.1 Sol | Leader |
|---|---|---|---|
| LiveBench coding | 49.0% | 96.0% | GPT-6.1 Sol |
| LMArena WebDev | 1367 | 1753 | GPT-6.1 Sol |
| AA Coding Index | 43.4 | Not measured | Only Gemma 4 31B measured |
| Terminal-Bench 4 (Vals AI) | Not measured | 55.0% | Only GPT-6.1 Sol measured |
| Vibe Code Bench (Vals AI) | Not measured | 88.9% | Only GPT-6.1 Sol measured |
| Code migration (Vals AI) | Not measured | 65.1% | Only GPT-6.1 Sol measured |
| ProgramBench (Vals AI) | Not measured | 3.0% | Only GPT-6.1 Sol measured |
| IOI (Vals AI) | Not measured | 96.9% | Only GPT-6.1 Sol measured |
| SWE-bench Multimodal (Vals AI) | Not measured | 43.5% | Only GPT-6.1 Sol measured |
| CyberBench (Vals AI) | Not measured | 39.3% | Only GPT-6.1 Sol measured |
| SciCode | 45.5% | 55.8% | GPT-6.1 Sol |
| Terminal-Bench Hard (Artificial Analysis run) | 36.4% | Not measured | Only Gemma 4 31B measured |
| FrontierCode | Not measured | 50.2% | Only GPT-6.1 Sol measured |
| WeirdML | 52.3% | Not measured | Only Gemma 4 31B measured |
| ALE-Bench | 925.5 | 2743.8 | GPT-6.1 Sol |
| LMArena Text: coding | 1459 | 1478 | GPT-6.1 Sol |
| LMArena Text: software and IT | 1463 | 1476 | GPT-6.1 Sol |
| LMArena WebDev: React | 1359 | 1754 | GPT-6.1 Sol |
| LMArena WebDev: HTML | 1380 | 1800 | GPT-6.1 Sol |
| LMArena WebDev: from an image | Not measured | 1702 | Only GPT-6.1 Sol measured |
| Neither model has a result on the other 18 boards here | |||
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
| Benchmark | Gemma 4 31B | GPT-6.1 Sol | Leader |
|---|---|---|---|
| AA Intelligence Index | 14.7 | 51.8 | GPT-6.1 Sol |
| Epoch Capabilities Index | 143.0 | 168.4 | GPT-6.1 Sol |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index03
| Benchmark | Gemma 4 31B | GPT-6.1 Sol | Leader |
|---|---|---|---|
| AA Agentic Index | 4.2 | Not measured | Only Gemma 4 31B measured |
| Design Arena: agents building mobile apps | Not measured | 1190 | Only GPT-6.1 Sol measured |
| Design Arena: spreadsheets | Not measured | 1250 | Only GPT-6.1 Sol measured |
| LiveBench research | 44.4% | 83.5% | GPT-6.1 Sol |
| LiveBench browser | 4.0% | 88.0% | GPT-6.1 Sol |
| LiveBench long agentic | 13.3% | 73.0% | GPT-6.1 Sol |
| SREBench (Vals AI) | Not measured | 50.8% | Only GPT-6.1 Sol measured |
| Finance Agent (Vals AI) | Not measured | 52.0% | Only GPT-6.1 Sol measured |
| Tax Agent Bench (Vals AI) | Not measured | 21.8% | Only GPT-6.1 Sol measured |
| Legal Research Bench (Vals AI) | Not measured | 38.5% | Only GPT-6.1 Sol measured |
| Harvey's Legal Agent Benchmark (Vals AI) | Not measured | 6.3% | Only GPT-6.1 Sol measured |
| Excel Modeling Benchmark (Vals AI) | Not measured | 70.8% | Only GPT-6.1 Sol measured |
| BioMysteryBench (Vals AI) | Not measured | 79.6% | Only GPT-6.1 Sol measured |
| Terminal-Bench-Science (Vals AI) | Not measured | 52.9% | Only GPT-6.1 Sol measured |
| Vals Science Index | Not measured | 59.6% | Only GPT-6.1 Sol measured |
| Robo-bench (Vals AI) | Not measured | 28.3% | Only GPT-6.1 Sol measured |
| τ²-Bench Telecom | 65.5% | Not measured | Only Gemma 4 31B measured |
| APEX-Agents | Not measured | 60.0% | Only GPT-6.1 Sol measured |
| SpireClimb | Not measured | 24.7% | Only GPT-6.1 Sol measured |
| Neither model has a result on the other 20 boards here | |||
ReasoningLike-for-likePublic boards, shown as published, kept out of the index08
| Benchmark | Gemma 4 31B | GPT-6.1 Sol | Leader |
|---|---|---|---|
| LiveBench reasoning | 68.3% | 92.6% | GPT-6.1 Sol |
| MysteryMechanism (Vals AI) | Not measured | 46.4% | Only GPT-6.1 Sol measured |
| GPQA Diamond (Artificial Analysis run) | 85.7% | Not measured | Only Gemma 4 31B measured |
| Humanity's Last Exam (Artificial Analysis run) | 23.6% | 52.9% | GPT-6.1 Sol |
| GPQA Diamond (Epoch AI run) | 75.8% | 95.4% | GPT-6.1 Sol |
| ARC-AGI | Not measured | 98.5% | Only GPT-6.1 Sol measured |
| ARC-AGI-2 | Not measured | 94.2% | Only GPT-6.1 Sol measured |
| Chess puzzles | Not measured | 68.0% | Only GPT-6.1 Sol measured |
| Mystery game puzzles | Not measured | 80.0% | Only GPT-6.1 Sol measured |
| EBR-bench | Not measured | 54.3% | Only GPT-6.1 Sol measured |
| LMArena Text: hard prompts | 1448 | 1463 | GPT-6.1 Sol |
| LMArena Text: expert | 1464 | 1489 | GPT-6.1 Sol |
| LMArena Text: hard prompts in English | 1456 | 1465 | GPT-6.1 Sol |
| LMArena Vision: diagrams | 1283 | 1306 | GPT-6.1 Sol |
| LMArena Vision: homework | 1310 | 1356 | GPT-6.1 Sol |
| Neither model has a result on the other 6 boards here | |||
MathLike-for-likePublic boards, shown as published, kept out of the index03
| Benchmark | Gemma 4 31B | GPT-6.1 Sol | Leader |
|---|---|---|---|
| OTIS Mock AIME | 73.3% | 100.0% | GPT-6.1 Sol |
| FrontierMath, tiers 1 to 3 | Not measured | 93.7% | Only GPT-6.1 Sol measured |
| FrontierMath, tier 4 | Not measured | 100.0% | Only GPT-6.1 Sol measured |
| ProofBench | Not measured | 99.0% | Only GPT-6.1 Sol measured |
| LMArena Text: math | 1463 | 1489 | GPT-6.1 Sol |
| LMArena Text: mathematical work | 1465 | 1513 | GPT-6.1 Sol |
| Neither model has a result on the other 7 boards here | |||
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index23
| Benchmark | Gemma 4 31B | GPT-6.1 Sol | Leader |
|---|---|---|---|
| CaseLaw (Vals AI) | 52.6% | Not measured | Only Gemma 4 31B measured |
| MortgageTax (Vals AI) | 61.4% | Not measured | Only Gemma 4 31B measured |
| MedCode (Vals AI) | Not measured | 48.8% | Only GPT-6.1 Sol measured |
| SimpleQA Verified | 10.4% | 73.9% | GPT-6.1 Sol |
| LMArena Text: science | 1457 | 1444 | Gemma 4 31B |
| LMArena Text: medicine and healthcare | 1451 | 1433 | Gemma 4 31B |
| LMArena Text: legal and government | 1438 | 1471 | GPT-6.1 Sol |
| LMArena Text: business and finance | 1430 | 1445 | GPT-6.1 Sol |
| Neither model has a result on the other 9 boards here | |||
Web designLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | Gemma 4 31B | GPT-6.1 Sol | Leader |
|---|---|---|---|
| Design Arena: websites | Not measured | 1321 | Only GPT-6.1 Sol measured |
| Design Arena: UI components | Not measured | 1321 | Only GPT-6.1 Sol measured |
| Design Arena: game dev | Not measured | 1389 | Only GPT-6.1 Sol measured |
| Design Arena: data viz | Not measured | 1278 | Only GPT-6.1 Sol measured |
| Design Arena: 3D | Not measured | 1461 | Only GPT-6.1 Sol measured |
| Design Arena: all code categories | Not measured | 1345 | Only GPT-6.1 Sol measured |
| LiveBench design | 58.4% | 82.1% | GPT-6.1 Sol |
| Neither model has a result on the other 2 boards here | |||
GeneralLike-for-likePublic boards, shown as published, kept out of the index517
| Benchmark | Gemma 4 31B | GPT-6.1 Sol | Leader |
|---|---|---|---|
| Vals Index | Not measured | 63.9% | Only GPT-6.1 Sol measured |
| LiveBench data analysis | 53.3% | 82.7% | GPT-6.1 Sol |
| Public Benefits Bench (Vals AI) | Not measured | 59.3% | Only GPT-6.1 Sol measured |
| SAGE (Vals AI) | 55.0% | 46.5% | Gemma 4 31B |
| MedScribe (Vals AI) | Not measured | 86.5% | Only GPT-6.1 Sol measured |
| IFBench | 75.6% | Not measured | Only Gemma 4 31B measured |
| Long context reasoning (AA-LCR) | 69.7% | 84.0% | GPT-6.1 Sol |
| DTBench | 82.7% | 96.5% | GPT-6.1 Sol |
| LMCA | 39.3% | 62.8% | GPT-6.1 Sol |
| Surface Evolver Bench | 30.6% | Not measured | Only Gemma 4 31B measured |
| Furniture assembly | Not measured | 80.0% | Only GPT-6.1 Sol measured |
| LMArena Text | 1443 | 1443 | GPT-6.1 Sol |
| LMArena Text: instruction following | 1433 | 1466 | GPT-6.1 Sol |
| LMArena Text: creative writing | 1417 | 1425 | GPT-6.1 Sol |
| LMArena Vision | 1276 | 1288 | GPT-6.1 Sol |
| LMArena Text: English | 1451 | 1450 | Gemma 4 31B |
| LMArena Text: non-English | 1430 | 1433 | GPT-6.1 Sol |
| LMArena Text: Chinese | 1475 | 1487 | GPT-6.1 Sol |
| LMArena Text: French | 1436 | 1460 | GPT-6.1 Sol |
| LMArena Text: Spanish | 1442 | 1439 | Gemma 4 31B |
| LMArena Text: Russian | 1460 | 1457 | Gemma 4 31B |
| LMArena Text: Polish | 1433 | Not measured | Only Gemma 4 31B measured |
| LMArena Text: multi-turn | 1452 | 1442 | Gemma 4 31B |
| LMArena Text: longer queries | 1446 | 1458 | GPT-6.1 Sol |
| LMArena Text: writing and language | 1432 | 1444 | GPT-6.1 Sol |
| LMArena Text: entertainment and media | 1405 | 1426 | GPT-6.1 Sol |
| LMArena Vision: English | 1271 | 1274 | GPT-6.1 Sol |
| LMArena Vision: Chinese | 1326 | Not measured | Only Gemma 4 31B measured |
| LMArena Vision: reading text | 1282 | 1289 | GPT-6.1 Sol |
| LMArena Vision: humor | 1280 | Not measured | Only Gemma 4 31B measured |
| LMArena Vision: captioning | 1218 | Not measured | Only Gemma 4 31B measured |
| LMArena Vision: recognizing things | 1226 | Not measured | Only Gemma 4 31B measured |
| LMArena Vision: creative writing | 1285 | 1301 | GPT-6.1 Sol |
| LMArena Document | 1425 | Not measured | Only Gemma 4 31B measured |
| Neither model has a result on the other 12 boards here | |||
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
| Benchmark | Gemma 4 31B | GPT-6.1 Sol | Leader |
|---|---|---|---|
| Neither model has a result on 5 boards here | |||
What each workload costs
Three fixed token mixes at each model's listed price, so per-token rates become a bill.
Chat turn
1K input + 500 output tokens
Gemma 4 31B costs less
Repository review
50K input + 3K output tokens
Gemma 4 31B costs less
Agent loop
200K input + 10K output tokens
Gemma 4 31B costs less
Listed OpenRouter rates, without cache or batch discounts. A workload that does not fit a model's context window would need splitting.
Specification differences
The leading value in a row is marked; a row with a missing value names no leader. Our two rows are marked in red.
| Specification | Google Gemma 4 31B | OpenAI GPT-6.1 Sol |
|---|---|---|
| Maker | OpenAI | |
| Weights | Open weights | No public weights listed |
| Released | April 2, 2026 | September 29, 2026 |
| Context window | 262K | 1.05M |
| Input $/Mtok | $0.20 | $2.00 |
| Output $/Mtok | $0.40 | $10.00 |
| Coding index | 38.3 | 88.7 |
| Independent measurements behind it | 2 | 2 |
| Cost per solved task | Not computable | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Gemma 4 31B better than GPT-6.1 Sol for coding?
Pick GPT-6.1 Sol for coding: it scores 88.7 on the Vibe Coding Index against 38.3 for Gemma 4 31B. Pick Gemma 4 31B when output tokens cost 25.0x less, or when what matters is LMArena Text: science or LMArena Text: medicine and healthcare, where it leads.
Which is cheaper, Gemma 4 31B or GPT-6.1 Sol?
Gemma 4 31B costs $0.20 per million input tokens and $0.40 per million output tokens; GPT-6.1 Sol costs $2.00 and $10.00. Cost per solved task is known for neither of them.
Which has the bigger context window, Gemma 4 31B or GPT-6.1 Sol?
GPT-6.1 Sol, with 1.05M tokens against 262K.
How many benchmarks is the Gemma 4 31B vs GPT-6.1 Sol comparison based on?
52 benchmarks have a result for both models as of October 21, 2026. Gemma 4 31B's coding index rests on 2 independent benchmarks and GPT-6.1 Sol's on 2. Where only one model has a result, the page says so instead of naming a winner.