Enter opens the highlighted result. Esc closes.

Gemma 4 31B vs Inkling Small

Gemma 4 31B leads Inkling Small on coding, 39.0 to 27.3 on the Vibe Coding Index, and Gemma 4 31B costs 3.0x less per output token ($0.40 vs $1.20 per million). Updated October 21, 2026; 49 benchmarks have a result for both.

Gemma 4 31BGoogle
Coding
39.0
Overall
42.1
Output $/M
$0.40
34
T Inkling SmallThinking Machines
Coding
27.3
Overall
43.6
Output $/M
$1.20
15
vs boards won of 49 shared

Gemma 4 31B or Inkling Small: which to pick

Pick Gemma 4 31B for coding: it scores 39.0 on the Vibe Coding Index against 27.3 for Inkling Small, though on 2 benchmarks against 4.

Pick Inkling Small for a larger context window (524K against 262K tokens) and work measured by LMArena WebDev or AA Coding Index, where it leads.

Shared results
49
Gemma 4 31B only
22
Inkling Small only
35
Like-for-like categories
7 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, Inkling Small 27.3 from 4 benchmarks.
Widest category
Agentic work, 19.3 points apart on average over 1 shared benchmark.
Widest single gap
SAGE (Vals AI): Gemma 4 31B 55.0% against Inkling Small 32.7%, 22.3 points apart on a 0 to 100 scale.
Output price
Gemma 4 31B $0.40 against Inkling Small $1.20 per million output tokens, 3.0x apart.
Context window
Gemma 4 31B takes 262K tokens, Inkling Small 524K.

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 31BBarsInkling SmallTies
Coding25
Intelligence02
Agentic work01
Reasoning53
Math21
Knowledge42
General211
All shared boards3415
CodingLike-for-likeSix of these boards feed the Vibe Coding Index25
Coding benchmarks for Gemma 4 31B and Inkling Small
BenchmarkGemma 4 31BInkling SmallLeader
LiveBench coding49.0%Not measuredOnly Gemma 4 31B measured
LMArena WebDev13671409Inkling Small
AA Coding Index43.452.9Inkling Small
LiveCodeBench (Vals AI)Not measured85.9%Only Inkling Small measured
SWE-bench Verified (Vals AI)Not measured82.2%Only Inkling Small measured
Terminal-Bench 4 (Vals AI)Not measured0.0%Only Inkling Small measured
Vibe Code Bench (Vals AI)Not measured19.1%Only Inkling Small measured
Code migration (Vals AI)Not measured13.7%Only Inkling Small measured
ProgramBench (Vals AI)Not measured0.5%Only Inkling Small measured
IOI (Vals AI)Not measured9.3%Only Inkling Small measured
Terminal-Bench 2.1 (Vals AI)Not measured55.1%Only Inkling Small measured
SkillsBench (Vals AI)Not measured33.6%Only Inkling Small measured
CyberBench (Vals AI)Not measured64.1%Only Inkling Small measured
SciCode45.5%49.7%Inkling Small
Terminal-Bench Hard (Artificial Analysis run)36.4%Not measuredOnly Gemma 4 31B measured
WeirdML52.3%Not measuredOnly Gemma 4 31B measured
ALE-Bench925.5Not measuredOnly Gemma 4 31B measured
LMArena Text: coding14591450Gemma 4 31B
LMArena Text: software and IT14631447Gemma 4 31B
LMArena WebDev: React13591399Inkling Small
LMArena WebDev: HTML13801398Inkling Small
LMArena WebDev: from an imageNot measured1410Only Inkling Small measured
SciCode8.9%Not measuredOnly Gemma 4 31B measured
Neither model has a result on the other 16 boards here
IntelligenceLike-for-likePublic boards, shown as published, kept out of the index02
Intelligence benchmarks for Gemma 4 31B and Inkling Small
BenchmarkGemma 4 31BInkling SmallLeader
AA Intelligence Index14.725.7Inkling Small
Epoch Capabilities Index143.0150.3Inkling Small
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
Agentic work benchmarks for Gemma 4 31B and Inkling Small
BenchmarkGemma 4 31BInkling SmallLeader
AA Agentic Index4.223.5Inkling Small
LiveBench research44.4%Not measuredOnly Gemma 4 31B measured
LiveBench browser4.0%Not measuredOnly Gemma 4 31B measured
LiveBench long agentic13.3%Not measuredOnly Gemma 4 31B measured
Finance Agent (Vals AI)Not measured41.3%Only Inkling Small measured
Tax Agent Bench (Vals AI)Not measured15.4%Only Inkling Small measured
Legal Research Bench (Vals AI)Not measured25.5%Only Inkling Small measured
Harvey's Legal Agent Benchmark (Vals AI)Not measured2.9%Only Inkling Small measured
Excel Modeling Benchmark (Vals AI)Not measured31.8%Only Inkling Small measured
τ²-Bench Telecom65.5%Not measuredOnly Gemma 4 31B measured
Neither model has a result on the other 31 boards here
ReasoningLike-for-likePublic boards, shown as published, kept out of the index53
Reasoning benchmarks for Gemma 4 31B and Inkling Small
BenchmarkGemma 4 31BInkling SmallLeader
GPQA DiamondNot measured83.6%Only Inkling Small measured
LiveBench reasoning68.3%Not measuredOnly Gemma 4 31B measured
GPQA Diamond (Artificial Analysis run)85.7%89.5%Inkling Small
Humanity's Last Exam (Artificial Analysis run)23.6%33.3%Inkling Small
GPQA Diamond (Epoch AI run)75.8%88.5%Inkling Small
ARC-AGINot measured84.0%Only Inkling Small measured
ARC-AGI-2Not measured40.1%Only Inkling Small measured
Mystery game puzzlesNot measured6.0%Only Inkling Small measured
LMArena Text: hard prompts14481423Gemma 4 31B
LMArena Text: expert14641441Gemma 4 31B
LMArena Text: hard prompts in English14561429Gemma 4 31B
LMArena Vision: diagrams12831251Gemma 4 31B
LMArena Vision: homework13101257Gemma 4 31B
Kagi LLM Benchmark63.5%Not measuredOnly Gemma 4 31B measured
Neither model has a result on the other 8 boards here
MathLike-for-likePublic boards, shown as published, kept out of the index21
Math benchmarks for Gemma 4 31B and Inkling Small
BenchmarkGemma 4 31BInkling SmallLeader
OTIS Mock AIME73.3%90.0%Inkling Small
FrontierMath, tiers 1 to 3Not measured46.3%Only Inkling Small measured
FrontierMath, tier 4Not measured17.1%Only Inkling Small measured
ProofBenchNot measured6.0%Only Inkling Small measured
LMArena Text: math14631459Gemma 4 31B
LMArena Text: mathematical work14651441Gemma 4 31B
Neither model has a result on the other 7 boards here
KnowledgeLike-for-likePublic boards, shown as published, kept out of the index42
Knowledge benchmarks for Gemma 4 31B and Inkling Small
BenchmarkGemma 4 31BInkling SmallLeader
MMLU ProNot measured85.6%Only Inkling Small measured
LegalBench (Vals AI)Not measured83.0%Only Inkling Small measured
CaseLaw (Vals AI)52.6%Not measuredOnly Gemma 4 31B measured
CorpFin (Vals AI)Not measured69.6%Only Inkling Small measured
TaxEval (Vals AI)Not measured75.5%Only Inkling Small measured
MortgageTax (Vals AI)61.4%62.3%Inkling Small
MedCode (Vals AI)Not measured37.9%Only Inkling Small measured
SimpleQA Verified10.4%19.1%Inkling Small
LMArena Text: science14571428Gemma 4 31B
LMArena Text: medicine and healthcare14511413Gemma 4 31B
LMArena Text: legal and government14381415Gemma 4 31B
LMArena Text: business and finance14301413Gemma 4 31B
FACTS Benchmark Suite45.3%Not measuredOnly Gemma 4 31B measured
Neither model has a result on the other 5 boards here
Web designDirectional onlyPublic boards, shown as published, kept out of the index1 board, none shared
Web design benchmarks for Gemma 4 31B and Inkling Small
BenchmarkGemma 4 31BInkling SmallLeader
LiveBench design58.4%Not measuredOnly Gemma 4 31B measured
Neither model has a result on the other 8 boards here
GeneralLike-for-likePublic boards, shown as published, kept out of the index211
General benchmarks for Gemma 4 31B and Inkling Small
BenchmarkGemma 4 31BInkling SmallLeader
Vals IndexNot measured27.6%Only Inkling Small measured
LiveBench data analysis53.3%Not measuredOnly Gemma 4 31B measured
Public Benefits Bench (Vals AI)Not measured59.4%Only Inkling Small measured
SAGE (Vals AI)55.0%32.7%Gemma 4 31B
MedScribe (Vals AI)Not measured84.1%Only Inkling Small measured
Vals Multimodal IndexNot measured50.0%Only Inkling Small measured
IFBench75.6%Not measuredOnly Gemma 4 31B measured
Long context reasoning (AA-LCR)69.7%75.7%Inkling Small
DTBench82.7%Not measuredOnly Gemma 4 31B measured
LMCA39.3%Not measuredOnly Gemma 4 31B measured
Surface Evolver Bench30.6%Not measuredOnly Gemma 4 31B measured
LMArena Text14431413Gemma 4 31B
LMArena Text: instruction following14331399Gemma 4 31B
LMArena Text: creative writing14171334Gemma 4 31B
LMArena Vision12761237Gemma 4 31B
LMArena Text: English14511421Gemma 4 31B
LMArena Text: non-English14301401Gemma 4 31B
LMArena Text: Chinese14751464Gemma 4 31B
LMArena Text: GermanNot measured1408Only Inkling Small measured
LMArena Text: JapaneseNot measured1401Only Inkling Small measured
LMArena Text: KoreanNot measured1367Only Inkling Small measured
LMArena Text: French14361435Gemma 4 31B
LMArena Text: Spanish14421422Gemma 4 31B
LMArena Text: Russian14601394Gemma 4 31B
LMArena Text: Polish14331428Gemma 4 31B
LMArena Text: multi-turn14521416Gemma 4 31B
LMArena Text: longer queries14461402Gemma 4 31B
LMArena Text: writing and language14321357Gemma 4 31B
LMArena Text: entertainment and media14051352Gemma 4 31B
LMArena Vision: English12711243Gemma 4 31B
LMArena Vision: Chinese13261292Gemma 4 31B
LMArena Vision: reading text12821243Gemma 4 31B
LMArena Vision: humor12801207Gemma 4 31B
LMArena Vision: captioning1218Not measuredOnly Gemma 4 31B measured
LMArena Vision: recognizing things1226Not measuredOnly Gemma 4 31B measured
LMArena Vision: creative writing12851205Gemma 4 31B
LMArena Document1425Not measuredOnly Gemma 4 31B measured
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 Inkling Small
BenchmarkGemma 4 31BInkling SmallLeader
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
Inkling Small$0.0010Fits in one request

Gemma 4 31B costs less

Repository review

50K input + 3K output tokens

Gemma 4 31B$0.0082Fits in one request
Inkling Small$0.026Fits in one request

Gemma 4 31B costs less

Agent loop

200K input + 10K output tokens

Gemma 4 31B$0.032Fits in one request
Inkling Small$0.102Fits 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 Inkling Small
SpecificationGoogle Gemma 4 31BThinking Machines Inkling Small
MakerGoogleThinking Machines
WeightsOpen weightsOpen weights
ReleasedApril 2, 2026July 30, 2026
Context window262K524K
Input $/Mtok$0.14$0.45
Output $/Mtok$0.40$1.20
Coding index39.027.3
Independent measurements behind it24
Cost per solved taskNot computable$0.16
SourceOpenRouter listingOpenRouter listing

Questions

Is Gemma 4 31B better than Inkling Small for coding?

Pick Gemma 4 31B for coding: it scores 39.0 on the Vibe Coding Index against 27.3 for Inkling Small, though on 2 benchmarks against 4. Pick Inkling Small for a larger context window (524K against 262K tokens) and work measured by LMArena WebDev or AA Coding Index, where it leads.

Which is cheaper, Gemma 4 31B or Inkling Small?

Gemma 4 31B costs $0.14 per million input tokens and $0.40 per million output tokens; Inkling Small costs $0.45 and $1.20. Cost per solved task is known for Inkling Small only.

Which has the bigger context window, Gemma 4 31B or Inkling Small?

Inkling Small, with 524K tokens against 262K.

How many benchmarks is the Gemma 4 31B vs Inkling Small comparison based on?

49 benchmarks have a result for both models as of October 21, 2026. Gemma 4 31B's coding index rests on 2 independent benchmarks and Inkling Small's on 4. 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-thinkingmachines-inkling-small" title="Gemma 4 31B vs Inkling Small, 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-thinkingmachines-inkling-small">LLMBenchmark.ai, Gemma 4 31B vs Inkling Small</a></p>