Enter opens the highlighted result. Esc closes.

Gemma 4 31B vs GPT-5.6 Sol

GPT-5.6 Sol leads Gemma 4 31B on coding, 73.5 to 39.0 on the Vibe Coding Index, and Gemma 4 31B costs 50.0x less per output token ($0.40 vs $20.00 per million). Updated October 22, 2026; 68 benchmarks have a result for both.

Gemma 4 31BGoogle
Coding
39.0
Overall
42.1
Output $/M
$0.40
8
GPT-5.6 SolOpenAI
Coding
73.5
Overall
74.7
Output $/M
$20.00
60
vs boards won of 68 shared

Gemma 4 31B or GPT-5.6 Sol: which to pick

Pick GPT-5.6 Sol for coding: it scores 73.5 on the Vibe Coding Index against 39.0 for Gemma 4 31B.

Pick Gemma 4 31B for output tokens 50.0x cheaper ($0.40 vs $20.00 per million) and work measured by LMArena Vision: homework or LMArena Text: science, where it leads.

Shared results
68
Gemma 4 31B only
3
GPT-5.6 Sol only
71
Like-for-like categories
8 of 9

Only benchmarks that tested both models count toward a pick; a result only one model has is shown but not compared.

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.

At a glance

Coding index
Gemma 4 31B 39.0 from 2 benchmarks, GPT-5.6 Sol 73.5 from 6 benchmarks.
Widest category
Agentic work, 39.0 points apart on average over 5 shared benchmarks.
Widest single gap
LiveBench browser: Gemma 4 31B 4.0% against GPT-5.6 Sol 88.0%, 84.0 points apart on a 0 to 100 scale.
Output price
Gemma 4 31B $0.40 against GPT-5.6 Sol $20.00 per million output tokens, 50.0x apart.
Context window
Gemma 4 31B takes 262K tokens, GPT-5.6 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.

Boards won, where both have a result
CategoryGemma 4 31BBarsGPT-5.6 SolTies
Coding012
Intelligence02
Agentic work05
Reasoning19
Math03
Knowledge25
Web design01
General523
All shared boards860
CodingLike-for-likeSix of these boards feed the Vibe Coding Index012
Coding benchmarks for Gemma 4 31B and GPT-5.6 Sol
BenchmarkGemma 4 31BGPT-5.6 SolLeader
LiveBench coding49.0%89.7%GPT-5.6 Sol
LMArena WebDev13671616GPT-5.6 Sol
AA Coding Index43.477.4GPT-5.6 Sol
LiveCodeBench (Vals AI)Not measured82.6%Only GPT-5.6 Sol measured
SWE-bench Verified (Vals AI)Not measured96.2%Only GPT-5.6 Sol measured
Terminal-Bench 4 (Vals AI)Not measured37.9%Only GPT-5.6 Sol measured
Vibe Code Bench (Vals AI)Not measured80.5%Only GPT-5.6 Sol measured
Code migration (Vals AI)Not measured52.9%Only GPT-5.6 Sol measured
ProgramBench (Vals AI)Not measured1.5%Only GPT-5.6 Sol measured
IOI (Vals AI)Not measured91.2%Only GPT-5.6 Sol measured
Terminal-Bench 2.1 (Vals AI)Not measured85.8%Only GPT-5.6 Sol measured
Vibe Code Bench 1-100 (Vals AI)Not measured20.0%Only GPT-5.6 Sol measured
SkillsBench (Vals AI)Not measured54.1%Only GPT-5.6 Sol measured
CyberBench (Vals AI)Not measured76.3%Only GPT-5.6 Sol measured
SciCode45.5%57.8%GPT-5.6 Sol
Terminal-Bench Hard (Artificial Analysis run)36.4%65.9%GPT-5.6 Sol
FrontierCodeNot measured47.5%Only GPT-5.6 Sol measured
FrontierSWENot measured32.2%Only GPT-5.6 Sol measured
GSO-BenchNot measured76.5%Only GPT-5.6 Sol measured
WeirdML52.3%88.8%GPT-5.6 Sol
MirrorCodeNot measured20.0%Only GPT-5.6 Sol measured
ALE-Bench925.52176.9GPT-5.6 Sol
LMArena Text: coding14591496GPT-5.6 Sol
LMArena Text: software and IT14631489GPT-5.6 Sol
LMArena WebDev: React13591620GPT-5.6 Sol
LMArena WebDev: HTML13801618GPT-5.6 Sol
LMArena WebDev: from an imageNot measured1609Only GPT-5.6 Sol measured
SciCode8.9%10.8%GPT-5.6 Sol
Neither model has a result on the other 11 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for Gemma 4 31B and GPT-5.6 Sol
BenchmarkGemma 4 31BGPT-5.6 SolLeader
AA Intelligence Index14.747.0GPT-5.6 Sol
Epoch Capabilities Index143.0162.8GPT-5.6 Sol
Agentic workLike-for-likePublic boards, shown as published, kept out of the index05
Agentic work benchmarks for Gemma 4 31B and GPT-5.6 Sol
BenchmarkGemma 4 31BGPT-5.6 SolLeader
AA Agentic Index4.250.2GPT-5.6 Sol
Design Arena: agents building web appsNot measured1245Only GPT-5.6 Sol measured
Design Arena: agents building full-stack appsNot measured1261Only GPT-5.6 Sol measured
Design Arena: agents building mobile appsNot measured1248Only GPT-5.6 Sol measured
Design Arena: agents building Android appsNot measured1240Only GPT-5.6 Sol measured
Design Arena: agents building Godot gamesNot measured1260Only GPT-5.6 Sol measured
Design Arena: agents building gamesNot measured1266Only GPT-5.6 Sol measured
Design Arena: HTML slidesNot measured1236Only GPT-5.6 Sol measured
Design Arena: PowerPoint slidesNot measured1215Only GPT-5.6 Sol measured
LiveBench research44.4%54.5%GPT-5.6 Sol
LiveBench browser4.0%88.0%GPT-5.6 Sol
LiveBench long agentic13.3%48.5%GPT-5.6 Sol
SREBench (Vals AI)Not measured30.5%Only GPT-5.6 Sol measured
Finance Agent (Vals AI)Not measured53.8%Only GPT-5.6 Sol measured
Tax Agent Bench (Vals AI)Not measured31.1%Only GPT-5.6 Sol measured
Legal Research Bench (Vals AI)Not measured48.1%Only GPT-5.6 Sol measured
Excel Modeling Benchmark (Vals AI)Not measured72.3%Only GPT-5.6 Sol measured
BioMysteryBench (Vals AI)Not measured71.1%Only GPT-5.6 Sol measured
Terminal-Bench-Science (Vals AI)Not measured20.0%Only GPT-5.6 Sol measured
Vals Science IndexNot measured41.5%Only GPT-5.6 Sol measured
Time Horizon Index (Vals AI)Not measured23.8%Only GPT-5.6 Sol measured
CUA-bench (Vals AI)Not measured8.3%Only GPT-5.6 Sol measured
τ²-Bench Telecom65.5%85.1%GPT-5.6 Sol
OSWorld 2.0Not measured27.3%Only GPT-5.6 Sol measured
BALROGNot measured60.0%Only GPT-5.6 Sol measured
PostTrainBenchNot measured36.2%Only GPT-5.6 Sol measured
Vending-Bench 2Not measured$9,619Only GPT-5.6 Sol measured
LMArena SearchNot measured1261Only GPT-5.6 Sol measured
Neither model has a result on the other 13 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index19
Reasoning benchmarks for Gemma 4 31B and GPT-5.6 Sol
BenchmarkGemma 4 31BGPT-5.6 SolLeader
GPQA DiamondNot measured95.2%Only GPT-5.6 Sol measured
LiveBench reasoning68.3%91.7%GPT-5.6 Sol
MysteryMechanism (Vals AI)Not measured33.3%Only GPT-5.6 Sol measured
MMMU Pro (Vals AI)Not measured88.8%Only GPT-5.6 Sol measured
GPQA Diamond (Artificial Analysis run)85.7%94.1%GPT-5.6 Sol
Humanity's Last Exam (Artificial Analysis run)23.6%49.5%GPT-5.6 Sol
GPQA Diamond (Epoch AI run)75.8%93.5%GPT-5.6 Sol
ARC-AGINot measured97.5%Only GPT-5.6 Sol measured
ARC-AGI-2Not measured92.5%Only GPT-5.6 Sol measured
SimpleBenchNot measured64.8%Only GPT-5.6 Sol measured
Chess puzzlesNot measured59.0%Only GPT-5.6 Sol measured
Mystery game puzzlesNot measured58.0%Only GPT-5.6 Sol measured
EBR-benchNot measured44.8%Only GPT-5.6 Sol measured
LMArena Text: hard prompts14481483GPT-5.6 Sol
LMArena Text: expert14641517GPT-5.6 Sol
LMArena Text: hard prompts in English14561477GPT-5.6 Sol
LMArena Vision: diagrams12831305GPT-5.6 Sol
LMArena Vision: homework13101305Gemma 4 31B
Kagi LLM Benchmark63.5%67.0%GPT-5.6 Sol
Neither model has a result on the other 3 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index03
Math benchmarks for Gemma 4 31B and GPT-5.6 Sol
BenchmarkGemma 4 31BGPT-5.6 SolLeader
OTIS Mock AIME73.3%100.0%GPT-5.6 Sol
FrontierMath, tiers 1 to 3Not measured89.1%Only GPT-5.6 Sol measured
FrontierMath, tier 4Not measured82.9%Only GPT-5.6 Sol measured
ProofBenchNot measured83.0%Only GPT-5.6 Sol measured
LMArena Text: math14631473GPT-5.6 Sol
LMArena Text: mathematical work14651496GPT-5.6 Sol
Neither model has a result on the other 7 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index25
Knowledge benchmarks for Gemma 4 31B and GPT-5.6 Sol
BenchmarkGemma 4 31BGPT-5.6 SolLeader
MMLU ProNot measured89.1%Only GPT-5.6 Sol measured
LegalBench (Vals AI)Not measured87.0%Only GPT-5.6 Sol measured
CaseLaw (Vals AI)52.6%Not measuredOnly Gemma 4 31B measured
CorpFin (Vals AI)Not measured64.4%Only GPT-5.6 Sol measured
TaxEval (Vals AI)Not measured74.8%Only GPT-5.6 Sol measured
MortgageTax (Vals AI)61.4%67.3%GPT-5.6 Sol
MedCode (Vals AI)Not measured44.0%Only GPT-5.6 Sol measured
SimpleQA Verified10.4%69.7%GPT-5.6 Sol
LMArena Text: science14571455Gemma 4 31B
LMArena Text: medicine and healthcare14511431Gemma 4 31B
LMArena Text: legal and government14381476GPT-5.6 Sol
LMArena Text: business and finance14301457GPT-5.6 Sol
FACTS Benchmark Suite45.3%52.4%GPT-5.6 Sol
Neither model has a result on the other 5 boards here
Web designLike-for-likePublic boards, shown as published, kept out of the index01
Web design benchmarks for Gemma 4 31B and GPT-5.6 Sol
BenchmarkGemma 4 31BGPT-5.6 SolLeader
Design Arena: websitesNot measured1321Only GPT-5.6 Sol measured
Design Arena: UI componentsNot measured1335Only GPT-5.6 Sol measured
Design Arena: game devNot measured1367Only GPT-5.6 Sol measured
Design Arena: data vizNot measured1322Only GPT-5.6 Sol measured
Design Arena: 3DNot measured1384Only GPT-5.6 Sol measured
Design Arena: all code categoriesNot measured1341Only GPT-5.6 Sol measured
Design Arena: SVGNot measured1314Only GPT-5.6 Sol measured
Design Arena: ASCII artNot measured1304Only GPT-5.6 Sol measured
LiveBench design58.4%81.6%GPT-5.6 Sol
GeneralLike-for-likePublic boards, shown as published, kept out of the index523
General benchmarks for Gemma 4 31B and GPT-5.6 Sol
BenchmarkGemma 4 31BGPT-5.6 SolLeader
LiveBench data analysis53.3%79.8%GPT-5.6 Sol
Public Benefits Bench (Vals AI)Not measured66.5%Only GPT-5.6 Sol measured
SAGE (Vals AI)55.0%52.6%Gemma 4 31B
MedScribe (Vals AI)Not measured85.2%Only GPT-5.6 Sol measured
Vals Multimodal IndexNot measured72.6%Only GPT-5.6 Sol measured
IFBench75.6%72.7%Gemma 4 31B
Long context reasoning (AA-LCR)69.7%84.0%GPT-5.6 Sol
DTBench82.7%95.7%GPT-5.6 Sol
LMCA39.3%58.5%GPT-5.6 Sol
Surface Evolver Bench30.6%93.1%GPT-5.6 Sol
Furniture assemblyNot measured56.7%Only GPT-5.6 Sol measured
LMArena Text14431457GPT-5.6 Sol
LMArena Text: instruction following14331483GPT-5.6 Sol
LMArena Text: creative writing14171449GPT-5.6 Sol
LMArena Vision12761281GPT-5.6 Sol
LMArena Text: English14511457GPT-5.6 Sol
LMArena Text: non-English14301451GPT-5.6 Sol
LMArena Text: Chinese14751525GPT-5.6 Sol
LMArena Text: GermanNot measured1476Only GPT-5.6 Sol measured
LMArena Text: JapaneseNot measured1472Only GPT-5.6 Sol measured
LMArena Text: KoreanNot measured1442Only GPT-5.6 Sol measured
LMArena Text: French14361472GPT-5.6 Sol
LMArena Text: Spanish14421443GPT-5.6 Sol
LMArena Text: Russian14601471GPT-5.6 Sol
LMArena Text: Polish14331459GPT-5.6 Sol
LMArena Text: multi-turn14521461GPT-5.6 Sol
LMArena Text: longer queries14461481GPT-5.6 Sol
LMArena Text: writing and language14321462GPT-5.6 Sol
LMArena Text: entertainment and media14051450GPT-5.6 Sol
LMArena Vision: English12711280GPT-5.6 Sol
LMArena Vision: Chinese13261313Gemma 4 31B
LMArena Vision: reading text12821290GPT-5.6 Sol
LMArena Vision: humor12801246Gemma 4 31B
LMArena Vision: captioning1218Not measuredOnly Gemma 4 31B measured
LMArena Vision: recognizing things1226Not measuredOnly Gemma 4 31B measured
LMArena Vision: creative writing12851283Gemma 4 31B
LMArena Document14251483GPT-5.6 Sol
Neither model has a result on the other 9 boards here
Image generationNot comparablePublic boards, shown as published, kept out of the index0 boards, none shared
Image generation benchmarks for Gemma 4 31B and GPT-5.6 Sol
BenchmarkGemma 4 31BGPT-5.6 SolLeader
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$0.0003Fits in one request
GPT-5.6 Sol$0.014Fits in one request

Gemma 4 31B costs less

Repository review

50K input + 3K output tokens

Gemma 4 31B$0.0082Fits in one request
GPT-5.6 Sol$0.260Fits in one request

Gemma 4 31B costs less

Agent loop

200K input + 10K output tokens

Gemma 4 31B$0.032Fits in one request
GPT-5.6 Sol$1.00Fits in one request

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.

Specifications of Gemma 4 31B and GPT-5.6 Sol
SpecificationGoogle Gemma 4 31BOpenAI GPT-5.6 Sol
MakerGoogleOpenAI
WeightsOpen weightsNo public weights listed
ReleasedApril 2, 2026July 9, 2026
Context window262K1.05M
Input $/Mtok$0.14$4.00
Output $/Mtok$0.40$20.00
Coding index39.073.5
Independent measurements behind it26
Cost per solved taskNot computable$1.20
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemma 4 31B better than GPT-5.6 Sol for coding?

Pick GPT-5.6 Sol for coding: it scores 73.5 on the Vibe Coding Index against 39.0 for Gemma 4 31B. Pick Gemma 4 31B for output tokens 50.0x cheaper ($0.40 vs $20.00 per million) and work measured by LMArena Vision: homework or LMArena Text: science, where it leads.

Which is cheaper, Gemma 4 31B or GPT-5.6 Sol?

Gemma 4 31B costs $0.14 per million input tokens and $0.40 per million output tokens; GPT-5.6 Sol costs $4.00 and $20.00. Cost per solved task is known for GPT-5.6 Sol only.

Which has the bigger context window, Gemma 4 31B or GPT-5.6 Sol?

GPT-5.6 Sol, with 1.05M tokens against 262K.

How many benchmarks is the Gemma 4 31B vs GPT-5.6 Sol comparison based on?

68 benchmarks have a result for both models as of October 22, 2026. Gemma 4 31B's coding index rests on 2 independent benchmarks and GPT-5.6 Sol's on 6. Where only one model has a result, the page says so instead of naming a winner.

Compare next

Embed this comparison on your site

Free under CC BY 4.0, while the source link stays visible. Preview the frame · Terms and other embeds

<iframe src="https://llmbenchmark.ai/embed/compare/gemma-4-31b-it-vs-gpt-5-6-sol" title="Gemma 4 31B vs GPT-5.6 Sol, LLMBenchmark.ai" width="100%" height="360" style="border:0;max-width:100%" loading="lazy"></iframe>
<p style="font:13px/1.4 sans-serif;margin:6px 0 0">Source: <a href="https://llmbenchmark.ai/compare/gemma-4-31b-it-vs-gpt-5-6-sol">LLMBenchmark.ai, Gemma 4 31B vs GPT-5.6 Sol</a></p>