Inkling 2 Mini vs Gemma 4 31B

Side-by-side VRAM requirements, benchmark scores, and GPU compatibility for local AI inference.

Quick verdict

Inkling 2 Mini is more hardware-efficient: it needs 21.4 GB at its Q4_K_M build vs 22.6 GB for Gemma 4 31B's Q4_K_M, fitting on 86 GPUs natively. Inkling 2 Mini is a Mixture of Experts model: it has 26.4B total parameters but only 5.4B are active per token, making inference faster than its total size suggests.

Analysis

Gemma 4 31B is Google's dense model for a single 24 GB card, and Inkling 2 Mini lands at almost exactly its file size: 18.66 GB against 18.70 GB at Q4_K_M. Both take text and images, and both use a five-local, one-global sliding-window attention pattern. The difference is how much of the model each token reads: all 30.7B parameters for Gemma, about 5.4B for Inkling 2 Mini.

At an 8k context the totals are 22.6 GB for Gemma 4 31B and 21.4 GB for Inkling 2 Mini, so both fit an RTX 4090, where this site estimates 37.9 tokens per second for Gemma and 114.5 for Inkling 2 Mini. Context separates them further. Gemma's 10 global layers cache K and V of 2,048 values each, about 82 KB per token of context against Inkling 2 Mini's 33 KB, so at 131,072 tokens Gemma needs 33.9 GB in total and Inkling 2 Mini 25.9 GB. Gemma's window stops at 262,144 tokens; Inkling 2 Mini's runs to 1M. Thinking Machines' table puts Gemma 4 31B far behind on multi-step agent work, but that is the lab's own harness, and Gemma was not built for long tool-using runs. On single answers the gap narrows, and on FORTRESS's benign split Gemma answers more of the harmless-but-risky-looking requests. On GPQA Diamond the two are close: Google reports 84.3 for Gemma 4 31B, Thinking Machines measured it at 85.7, and reports 86.6 for Inkling 2 Mini. Gemma also has an MMLU-Pro score (85.2), which Inkling 2 Mini does not.

Bottom line: For agents, coding and anything with long context, Inkling 2 Mini is the stronger pick on the same hardware: about three times the decoding speed, less than half the KV cache per token, and a 1M-token window. Gemma 4 31B still makes sense for short chat and single image questions, where the two are close even on Thinking Machines' numbers, and for anyone who wants an MMLU-Pro score and a longer track record.

Similar size, a sixth of the reads per token

Gemma 4 31B is dense, so every one of its parameters is read for every token. Inkling 2 Mini stores a little less and reads about a sixth as much, which is where its speed advantage on the same card comes from.

Total parameters (B)
Inkling 2 Mini
26.4
Gemma 4 31B
30.7
Active parameters per token (B)
Inkling 2 Mini
5.4
Gemma 4 31B
30.7

What Gemma's full 262,144-token window costs each model

Both models cap five of every six attention layers at a 1,024-token window, so only their global layers grow with the context. Gemma 4 31B has 10 of those, each caching wide 2,048-value keys and values; Inkling 2 Mini has 8 passes caching 1,024 values each.

0612182464k128k192k256k1,024-token window8.8 GBInkling 2 Mini22.3 GBGemma 4 31B
Inkling 2 Mini (8 of 48 layer passes grow with context)Gemma 4 31B (10 of 60 layers grow with context)

KV cache only, at FP16. Weights and activation overhead sit on top of these figures.

At 262,144 tokens, Gemma 4 31B's ceiling, its KV cache is 22.3 GB against 8.8 GB for Inkling 2 Mini. With Q4_K_M weights that is 45.9 GB against 30.7 GB: Gemma needs a 64 GB machine at that length, while Inkling 2 Mini fits a 48 GB Mac.

Thinking Machines' table: agent work against single answers

None of these suites has a field in this site's benchmark schema. The first four need many steps or long inputs; the last three are single questions, where the gap closes and Gemma takes one row.

BrowseComp (with compaction)
Inkling 2 Mini
79.0
Gemma 4 31B
37.0
MCP Atlas
Inkling 2 Mini
82.7
Gemma 4 31B
54.2
DeepSWE v1.1
Inkling 2 Mini
48.2
Gemma 4 31B
0.3
LongBench v2
Inkling 2 Mini
66.9
Gemma 4 31B
52.9
OmniDocBench v1.6
Inkling 2 Mini
92.8
Gemma 4 31B
82.5
MMMU Pro
Inkling 2 Mini
74.9
Gemma 4 31B
73.4
FORTRESS (benign)
Inkling 2 Mini
96.4
Gemma 4 31B
97.6

Thinking Machines' evaluation table on the Inkling 2 Mini model card (Hugging Face, November 2026), with every model run and reported by Thinking Machines. No independent lab had reproduced these at time of writing.

VRAM at each quantization (8k context)

FP32
Inkling 2 Mini
118.8 GB
Gemma 4 31B
139.2 GB
BF16
Inkling 2 Mini
59.0 GB
Gemma 4 31B
70.5 GB
FP16
Inkling 2 Mini
59.0 GB
Gemma 4 31B
70.5 GB
Q8_0
Inkling 2 Mini
31.6 GB
Gemma 4 31B
38.2 GB
Q6_K
Inkling 2 Mini
28.1 GB
Gemma 4 31B
29.9 GB
Q5_K_M
Inkling 2 Mini
24.3 GB
Gemma 4 31B
26.2 GB
Q4_K_M
Inkling 2 Mini
21.4 GB
Gemma 4 31B
22.6 GB
Q3_K_M
Inkling 2 Mini
16.8 GB
Gemma 4 31B
18.2 GB
Q2_K
Inkling 2 Mini
13.8 GB
Gemma 4 31B
14.8 GB
NVFP4
Inkling 2 Mini
23.1 GB
Gemma 4 31B
18.9 GB
QuantInkling 2 MiniGemma 4 31BDiff
FP32118.8 GB139.2 GB-15%
BF1659.0 GB70.5 GB-16%
FP1659.0 GB70.5 GB-16%
Q8_031.6 GB38.2 GB-17%
Q6_K28.1 GB29.9 GB-6%
Q5_K_M24.3 GB26.2 GB-7%
Q4_K_M21.4 GB22.6 GB-5%
Q3_K_M16.8 GB18.2 GB-8%
Q2_K13.8 GB14.8 GB-7%
NVFP423.1 GB18.9 GB+22%

Diff is Inkling 2 Mini relative to Gemma 4 31B. Green = lower VRAM (fits more GPUs).

Model specifications

SpecInkling 2 MiniGemma 4 31B
OrgThinking Machines LabGoogle
Parameters26.4B30.7B
ArchitectureMoE (5.4B active)Dense
Context1024k tokens256k tokens
Modalitiestext, visiontext, vision
LicenseApache 2.0 + AUPApache 2.0
CommercialYesYes
Released2026-11-202026-04-02
GPUs (native)86 / 12186 / 121

Benchmark scores

BenchmarkInkling 2 MiniGemma 4 31B
GPQA Diamond86.684.3
SWE-bench Verified79.2N/A
Terminal-Bench 2.171.6N/A

Green = higher score (better). N/A = not yet available. ~ = inherited from a base model, not independently reported for that release itself.

GPUs that run only Inkling 2 Mini(0)

Every GPU that runs Inkling 2 Mini also runs Gemma 4 31B.

GPUs that run only Gemma 4 31B(0)

Every GPU that runs Gemma 4 31B also runs Inkling 2 Mini.

GPUs that run both natively(86)

Which should you use?

Choose Inkling 2 Mini if:
  • • You have limited VRAM: it's a smaller model needing 21.4 GB vs 22.6 GB
  • • You want fast inference: MoE only activates 5.4B params per token
  • • Long context matters: it supports 1024k tokens vs 256k
  • • It's the newer release (2026-11-20 vs 2026-04-02); check the benchmark table above for what actually improved
Choose Gemma 4 31B if:
  • • You want maximum capability and have a 23 GB+ GPU

Frequently asked questions

Which is better, Inkling 2 Mini or Gemma 4 31B?
Inkling 2 Mini has 26.4B parameters vs 30.7B for Gemma 4 31B, so Gemma 4 31B is the larger model. Inkling 2 Mini is more hardware-efficient, needing 21.4 GB at its Q4_K_M build vs 22.6 GB for Gemma 4 31B's Q4_K_M.
How much VRAM does Inkling 2 Mini need vs Gemma 4 31B?
At 8k context, Inkling 2 Mini needs approximately 21.4 GB of VRAM at its Q4_K_M build, while Gemma 4 31B needs 22.6 GB at its Q4_K_M build. At the largest build each ships, Inkling 2 Mini requires 59.0 GB (FP16) vs 70.5 GB (FP16) for Gemma 4 31B.
Can you run Inkling 2 Mini on the same GPUs as Gemma 4 31B?
Yes, 86 GPUs can run both natively in VRAM, including NVIDIA RTX 5090, NVIDIA RTX 5080, NVIDIA RTX 5070 Ti. However, no GPU can run Inkling 2 Mini without also fitting Gemma 4 31B, and no GPU can run Gemma 4 31B without also fitting Inkling 2 Mini.
What is the difference between Inkling 2 Mini and Gemma 4 31B?
Inkling 2 Mini has 26.4B parameters (5.4B active, MoE) with a 1024k context window. Gemma 4 31B has 30.7B parameters (dense) with a 256k context window. Licensing differs: Inkling 2 Mini is Apache 2.0 + AUP while Gemma 4 31B is Apache 2.0.
Which model fits in 24 GB of VRAM, Inkling 2 Mini or Gemma 4 31B?
Both fit in 24 GB of VRAM at their respective recommended builds: Inkling 2 Mini (Q4_K_M) needs 21.4 GB and Gemma 4 31B (Q4_K_M) needs 22.6 GB.
Which handles long context better, Inkling 2 Mini or Gemma 4 31B?
At 262,144 tokens, Gemma 4 31B's ceiling, its KV cache is 22.3 GB against 8.8 GB for Inkling 2 Mini. With Q4_K_M weights that is 45.9 GB against 30.7 GB: Gemma needs a 64 GB machine at that length, while Inkling 2 Mini fits a 48 GB Mac.
Full Inkling 2 Mini page →Full Gemma 4 31B page →Check your hardware →