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.
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.
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.
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)
| Quant | Inkling 2 Mini | Gemma 4 31B | Diff |
|---|---|---|---|
| FP32 | 118.8 GB | 139.2 GB | -15% |
| BF16 | 59.0 GB | 70.5 GB | -16% |
| FP16 | 59.0 GB | 70.5 GB | -16% |
| Q8_0 | 31.6 GB | 38.2 GB | -17% |
| Q6_K | 28.1 GB | 29.9 GB | -6% |
| Q5_K_M | 24.3 GB | 26.2 GB | -7% |
| Q4_K_M | 21.4 GB | 22.6 GB | -5% |
| Q3_K_M | 16.8 GB | 18.2 GB | -8% |
| Q2_K | 13.8 GB | 14.8 GB | -7% |
| NVFP4 | 23.1 GB | 18.9 GB | +22% |
Diff is Inkling 2 Mini relative to Gemma 4 31B. Green = lower VRAM (fits more GPUs).
Model specifications
| Spec | Inkling 2 Mini | Gemma 4 31B |
|---|---|---|
| Org | Thinking Machines Lab | |
| Parameters | 26.4B | 30.7B |
| Architecture | MoE (5.4B active) | Dense |
| Context | 1024k tokens | 256k tokens |
| Modalities | text, vision | text, vision |
| License | Apache 2.0 + AUP | Apache 2.0 |
| Commercial | Yes | Yes |
| Released | 2026-11-20 | 2026-04-02 |
| GPUs (native) | 86 / 121 | 86 / 121 |
Benchmark scores
| Benchmark | Inkling 2 Mini | Gemma 4 31B |
|---|---|---|
| GPQA Diamond | 86.6 | 84.3 |
| SWE-bench Verified | 79.2 | N/A |
| Terminal-Bench 2.1 | 71.6 | N/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)
- NVIDIA RTX 509032 GB
- NVIDIA RTX 508016 GB
- NVIDIA RTX 5070 Ti16 GB
- NVIDIA RTX 5060 Ti 16GB16 GB
- NVIDIA RTX 409024 GB
- NVIDIA RTX 408016 GB
- NVIDIA RTX 4070 Ti SUPER16 GB
- NVIDIA RTX 4060 Ti 16GB16 GB
- NVIDIA RTX 309024 GB
- NVIDIA RTX 3090 Ti24 GB
- NVIDIA B300 288GB288 GB
- NVIDIA B200 180GB180 GB
- +74 more GPUs run both
Which should you use?
- • 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
- • 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.