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 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.
Coding
Vibe Coding Index, six public coding benchmarks
Gemma 4 31B
Gemma 4 31B scores 39.0 against 27.3.
2 and 4 benchmarks behind the scores
Intelligence
AA Intelligence Index
Inkling Small
Inkling Small leads, 25.7 against 14.7.
Same board, both measured
Agentic work
AA Agentic Index
Inkling Small
Inkling Small leads, 23.5 against 4.2.
Same board, both measured
Reasoning
GPQA Diamond
No call
Only Inkling Small has a GPQA Diamond result, 83.6%.
Directional only
Knowledge
MMLU Pro
No call
Only Inkling Small has a MMLU Pro result, 85.6%.
Directional only
General
Vals Index
No call
Only Inkling Small has a Vals Index result, 27.6%.
Directional only
Long documents
Listed context window
Inkling Small
Inkling Small takes 524K tokens against 262K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Gemma 4 31B
Gemma 4 31B $0.0003, Inkling Small $0.0010 per turn.
List prices
Cost per solved task
One SWE-bench Verified task, solved
No call
Only Inkling Small has the number, $0.16.
Directional only
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.
| Category | Gemma 4 31B | Bars | Inkling Small | Ties |
|---|---|---|---|---|
| Coding | 2 | 5 | ||
| Intelligence | 0 | 2 | ||
| Agentic work | 0 | 1 | ||
| Reasoning | 5 | 3 | ||
| Math | 2 | 1 | ||
| Knowledge | 4 | 2 | ||
| General | 21 | 1 | ||
| All shared boards | 34 | 15 |
CodingLike-for-likeSix of these boards feed the Vibe Coding Index25
| Benchmark | Gemma 4 31B | Inkling Small | Leader |
|---|---|---|---|
| LiveBench coding | 49.0% | Not measured | Only Gemma 4 31B measured |
| LMArena WebDev | 1367 | 1409 | Inkling Small |
| AA Coding Index | 43.4 | 52.9 | Inkling Small |
| LiveCodeBench (Vals AI) | Not measured | 85.9% | Only Inkling Small measured |
| SWE-bench Verified (Vals AI) | Not measured | 82.2% | Only Inkling Small measured |
| Terminal-Bench 4 (Vals AI) | Not measured | 0.0% | Only Inkling Small measured |
| Vibe Code Bench (Vals AI) | Not measured | 19.1% | Only Inkling Small measured |
| Code migration (Vals AI) | Not measured | 13.7% | Only Inkling Small measured |
| ProgramBench (Vals AI) | Not measured | 0.5% | Only Inkling Small measured |
| IOI (Vals AI) | Not measured | 9.3% | Only Inkling Small measured |
| Terminal-Bench 2.1 (Vals AI) | Not measured | 55.1% | Only Inkling Small measured |
| SkillsBench (Vals AI) | Not measured | 33.6% | Only Inkling Small measured |
| CyberBench (Vals AI) | Not measured | 64.1% | Only Inkling Small measured |
| SciCode | 45.5% | 49.7% | Inkling Small |
| Terminal-Bench Hard (Artificial Analysis run) | 36.4% | Not measured | Only Gemma 4 31B measured |
| WeirdML | 52.3% | Not measured | Only Gemma 4 31B measured |
| ALE-Bench | 925.5 | Not measured | Only Gemma 4 31B measured |
| LMArena Text: coding | 1459 | 1450 | Gemma 4 31B |
| LMArena Text: software and IT | 1463 | 1447 | Gemma 4 31B |
| LMArena WebDev: React | 1359 | 1399 | Inkling Small |
| LMArena WebDev: HTML | 1380 | 1398 | Inkling Small |
| LMArena WebDev: from an image | Not measured | 1410 | Only Inkling Small measured |
| SciCode | 8.9% | Not measured | Only 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
| Benchmark | Gemma 4 31B | Inkling Small | Leader |
|---|---|---|---|
| AA Intelligence Index | 14.7 | 25.7 | Inkling Small |
| Epoch Capabilities Index | 143.0 | 150.3 | Inkling Small |
Agentic workLike-for-likePublic boards, shown as published, kept out of the index01
| Benchmark | Gemma 4 31B | Inkling Small | Leader |
|---|---|---|---|
| AA Agentic Index | 4.2 | 23.5 | Inkling Small |
| LiveBench research | 44.4% | Not measured | Only Gemma 4 31B measured |
| LiveBench browser | 4.0% | Not measured | Only Gemma 4 31B measured |
| LiveBench long agentic | 13.3% | Not measured | Only Gemma 4 31B measured |
| Finance Agent (Vals AI) | Not measured | 41.3% | Only Inkling Small measured |
| Tax Agent Bench (Vals AI) | Not measured | 15.4% | Only Inkling Small measured |
| Legal Research Bench (Vals AI) | Not measured | 25.5% | Only Inkling Small measured |
| Harvey's Legal Agent Benchmark (Vals AI) | Not measured | 2.9% | Only Inkling Small measured |
| Excel Modeling Benchmark (Vals AI) | Not measured | 31.8% | Only Inkling Small measured |
| τ²-Bench Telecom | 65.5% | Not measured | Only 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
| Benchmark | Gemma 4 31B | Inkling Small | Leader |
|---|---|---|---|
| GPQA Diamond | Not measured | 83.6% | Only Inkling Small measured |
| LiveBench reasoning | 68.3% | Not measured | Only 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-AGI | Not measured | 84.0% | Only Inkling Small measured |
| ARC-AGI-2 | Not measured | 40.1% | Only Inkling Small measured |
| Mystery game puzzles | Not measured | 6.0% | Only Inkling Small measured |
| LMArena Text: hard prompts | 1448 | 1423 | Gemma 4 31B |
| LMArena Text: expert | 1464 | 1441 | Gemma 4 31B |
| LMArena Text: hard prompts in English | 1456 | 1429 | Gemma 4 31B |
| LMArena Vision: diagrams | 1283 | 1251 | Gemma 4 31B |
| LMArena Vision: homework | 1310 | 1257 | Gemma 4 31B |
| Kagi LLM Benchmark | 63.5% | Not measured | Only 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
| Benchmark | Gemma 4 31B | Inkling Small | Leader |
|---|---|---|---|
| OTIS Mock AIME | 73.3% | 90.0% | Inkling Small |
| FrontierMath, tiers 1 to 3 | Not measured | 46.3% | Only Inkling Small measured |
| FrontierMath, tier 4 | Not measured | 17.1% | Only Inkling Small measured |
| ProofBench | Not measured | 6.0% | Only Inkling Small measured |
| LMArena Text: math | 1463 | 1459 | Gemma 4 31B |
| LMArena Text: mathematical work | 1465 | 1441 | Gemma 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
| Benchmark | Gemma 4 31B | Inkling Small | Leader |
|---|---|---|---|
| MMLU Pro | Not measured | 85.6% | Only Inkling Small measured |
| LegalBench (Vals AI) | Not measured | 83.0% | Only Inkling Small measured |
| CaseLaw (Vals AI) | 52.6% | Not measured | Only Gemma 4 31B measured |
| CorpFin (Vals AI) | Not measured | 69.6% | Only Inkling Small measured |
| TaxEval (Vals AI) | Not measured | 75.5% | Only Inkling Small measured |
| MortgageTax (Vals AI) | 61.4% | 62.3% | Inkling Small |
| MedCode (Vals AI) | Not measured | 37.9% | Only Inkling Small measured |
| SimpleQA Verified | 10.4% | 19.1% | Inkling Small |
| LMArena Text: science | 1457 | 1428 | Gemma 4 31B |
| LMArena Text: medicine and healthcare | 1451 | 1413 | Gemma 4 31B |
| LMArena Text: legal and government | 1438 | 1415 | Gemma 4 31B |
| LMArena Text: business and finance | 1430 | 1413 | Gemma 4 31B |
| FACTS Benchmark Suite | 45.3% | Not measured | Only 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
| Benchmark | Gemma 4 31B | Inkling Small | Leader |
|---|---|---|---|
| LiveBench design | 58.4% | Not measured | Only 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
| Benchmark | Gemma 4 31B | Inkling Small | Leader |
|---|---|---|---|
| Vals Index | Not measured | 27.6% | Only Inkling Small measured |
| LiveBench data analysis | 53.3% | Not measured | Only Gemma 4 31B measured |
| Public Benefits Bench (Vals AI) | Not measured | 59.4% | Only Inkling Small measured |
| SAGE (Vals AI) | 55.0% | 32.7% | Gemma 4 31B |
| MedScribe (Vals AI) | Not measured | 84.1% | Only Inkling Small measured |
| Vals Multimodal Index | Not measured | 50.0% | Only Inkling Small measured |
| IFBench | 75.6% | Not measured | Only Gemma 4 31B measured |
| Long context reasoning (AA-LCR) | 69.7% | 75.7% | Inkling Small |
| DTBench | 82.7% | Not measured | Only Gemma 4 31B measured |
| LMCA | 39.3% | Not measured | Only Gemma 4 31B measured |
| Surface Evolver Bench | 30.6% | Not measured | Only Gemma 4 31B measured |
| LMArena Text | 1443 | 1413 | Gemma 4 31B |
| LMArena Text: instruction following | 1433 | 1399 | Gemma 4 31B |
| LMArena Text: creative writing | 1417 | 1334 | Gemma 4 31B |
| LMArena Vision | 1276 | 1237 | Gemma 4 31B |
| LMArena Text: English | 1451 | 1421 | Gemma 4 31B |
| LMArena Text: non-English | 1430 | 1401 | Gemma 4 31B |
| LMArena Text: Chinese | 1475 | 1464 | Gemma 4 31B |
| LMArena Text: German | Not measured | 1408 | Only Inkling Small measured |
| LMArena Text: Japanese | Not measured | 1401 | Only Inkling Small measured |
| LMArena Text: Korean | Not measured | 1367 | Only Inkling Small measured |
| LMArena Text: French | 1436 | 1435 | Gemma 4 31B |
| LMArena Text: Spanish | 1442 | 1422 | Gemma 4 31B |
| LMArena Text: Russian | 1460 | 1394 | Gemma 4 31B |
| LMArena Text: Polish | 1433 | 1428 | Gemma 4 31B |
| LMArena Text: multi-turn | 1452 | 1416 | Gemma 4 31B |
| LMArena Text: longer queries | 1446 | 1402 | Gemma 4 31B |
| LMArena Text: writing and language | 1432 | 1357 | Gemma 4 31B |
| LMArena Text: entertainment and media | 1405 | 1352 | Gemma 4 31B |
| LMArena Vision: English | 1271 | 1243 | Gemma 4 31B |
| LMArena Vision: Chinese | 1326 | 1292 | Gemma 4 31B |
| LMArena Vision: reading text | 1282 | 1243 | Gemma 4 31B |
| LMArena Vision: humor | 1280 | 1207 | Gemma 4 31B |
| 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 | 1205 | Gemma 4 31B |
| LMArena Document | 1425 | Not measured | Only 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
| Benchmark | Gemma 4 31B | Inkling Small | 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 | Thinking Machines Inkling Small |
|---|---|---|
| Maker | Thinking Machines | |
| Weights | Open weights | Open weights |
| Released | April 2, 2026 | July 30, 2026 |
| Context window | 262K | 524K |
| Input $/Mtok | $0.14 | $0.45 |
| Output $/Mtok | $0.40 | $1.20 |
| Coding index | 39.0 | 27.3 |
| Independent measurements behind it | 2 | 4 |
| Cost per solved task | Not computable | $0.16 |
| Source | OpenRouter listing | OpenRouter 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.