# Gemma 4 31B vs Ternary Bonsai 2 27B

> Side-by-side benchmark comparison for Gemma 4 31B and Ternary Bonsai 2 27B across agentic, coding, multimodal, knowledge, reasoning, multilingual, and math tasks.

- Canonical page: https://benchlm.ai/compare/gemma-4-31b-vs-ternary-bonsai-2-27b
- Last updated: September 18, 2026

- Shared sourced benchmarks: 1
- HTML indexing: indexable
- Ranking lane: BenchAlign v5

## Quick Verdict

Evidence is too thin for a benchmark verdict: Gemma 4 31B and Ternary Bonsai 2 27B share only 1 sourced benchmark row.

## Summary

- Only 1 shared sourced benchmark row is available. That is not enough for a broad capability verdict, so this mirror does not name an overall winner.
- Ternary Bonsai 2 27B has the larger published context window at 262K.

## Model Snapshot

| Property | Gemma 4 31B | Ternary Bonsai 2 27B |
|----------|----------|----------|
| Creator | Google | Prism ML |
| Type | Open Weight | Open Weight |
| Reasoning | Reasoning | Reasoning |
| Context | 256K | 262K |
| Independent public score (not head-to-head) | 52.4 | 50.78 |
| Benchmarks Covered | 8 | 21 |
| Pricing (input/output) | $0.00 / $0.00 | $0.00 / $0.00 |

## Category Breakdown

### Agentic

- Winner: Insufficient shared evidence
- Gemma 4 31B public-lane score: 45.4 (Estimated · #86/154)
- Ternary Bonsai 2 27B public-lane score: 49.9 (Estimated · #59/154)

| Benchmark | Gemma 4 31B | Ternary Bonsai 2 27B | Winner |
|-----------|-----------|-----------|--------|
| Gert Labs | 35.26% | Coming soon | Coming soon |
| τ²-bench results | Coming soon | 80.2% | Coming soon |
| BFCL v3 | Coming soon | 74.9% | Coming soon |
| Terminal-Bench 2.1 | Coming soon | 52.8% | Coming soon |

### Coding

- Winner: Insufficient shared evidence
- Gemma 4 31B public-lane score: 42.3 (Supported · #108/154)
- Ternary Bonsai 2 27B public-lane score: 49.9 (Estimated · #64/154)

| Benchmark | Gemma 4 31B | Ternary Bonsai 2 27B | Winner |
|-----------|-----------|-----------|--------|
| SWE-Rebench | 41.6% | Coming soon | Coming soon |
| React Native Evals | 75.2% | Coming soon | Coming soon |
| LiveCodeBench v6 | Coming soon | 90.1% | Coming soon |
| BigCodeBench | Coming soon | 58.1% | Coming soon |
| SWE-bench Verified | Coming soon | 60.8% | Coming soon |
| Terminal-Bench 2.1 | Coming soon | 52.8% | Coming soon |

### Multimodal & Grounded

- Winner: Insufficient shared evidence
- Gemma 4 31B public-lane score: 58.5 (#30/48)
- Ternary Bonsai 2 27B public-lane score: Coming soon

| Benchmark | Gemma 4 31B | Ternary Bonsai 2 27B | Winner |
|-----------|-----------|-----------|--------|
| MMMU-Pro | 76.9% | Coming soon | Coming soon |
| CharXiv (overall) | Coming soon | 80.0% | Coming soon |
| A-OKVQA | Coming soon | 86.8% | Coming soon |
| OmniDocBench 1.6 | Coming soon | 89.1% | Coming soon |
| RealWorldQA | Coming soon | 80.1% | Coming soon |
| OCRBench V2 | Coming soon | 56.9% | Coming soon |

### Reasoning

- Winner: Insufficient shared evidence
- Gemma 4 31B public-lane score: 68.9 (Unranked · 2 rankable rows)
- Ternary Bonsai 2 27B public-lane score: 73.9 (Unranked · 1 rankable row)

### Knowledge

- Winner: Insufficient shared evidence
- Gemma 4 31B public-lane score: 45.7 (Supported · #108/184)
- Ternary Bonsai 2 27B public-lane score: 50.6 (Estimated · #78/184)

| Benchmark | Gemma 4 31B | Ternary Bonsai 2 27B | Winner |
|-----------|-----------|-----------|--------|
| GPQA | 84.3% | 85.8% | Ternary Bonsai 2 27B |
| MMLU-Pro | 85.2% | Coming soon | Coming soon |
| HLE | 26.5% | Coming soon | Coming soon |
| HLE w/o tools | 19.5% | Coming soon | Coming soon |
| MMLU-Redux | Coming soon | 89.1% | Coming soon |
| GPQA-D | Coming soon | 85.8% | Coming soon |

### Instruction Following

- Winner: Insufficient shared evidence
- Gemma 4 31B public-lane score: 91.5 (#12/124)
- Ternary Bonsai 2 27B public-lane score: 71 (#64/124)

| Benchmark | Gemma 4 31B | Ternary Bonsai 2 27B | Winner |
|-----------|-----------|-----------|--------|
| IFEval | Coming soon | 91.3% | Coming soon |
| IFBench | Coming soon | 74% | Coming soon |

### Mathematics

- Winner: Insufficient shared evidence
- Gemma 4 31B public-lane score: Coming soon
- Ternary Bonsai 2 27B public-lane score: 76.8 (Unranked · 4 rankable rows)

| Benchmark | Gemma 4 31B | Ternary Bonsai 2 27B | Winner |
|-----------|-----------|-----------|--------|
| GSM8K | Coming soon | 96.7% | Coming soon |
| MATH-500 | Coming soon | 98.8% | Coming soon |
| AIME 2025 | Coming soon | 95% | Coming soon |
| AIME26 | Coming soon | 95.8% | Coming soon |

## FAQ

### Is there enough evidence to pick between Gemma 4 31B and Ternary Bonsai 2 27B?

Not yet. The models share only 1 sourced benchmark row, so this mirror reports the available measurements and metadata without naming a broad winner.

### What can I compare safely on this page?

Published pricing, context windows, model type, and individual shared benchmark rows are directly comparable. Independent overall scores and non-overlapping benchmark coverage are labeled separately and should not be read as a controlled head-to-head result.

## Related Comparisons

- [Gemma 4 31B vs Gemma 4 26B A4B](/compare/gemma-4-26b-a4b-vs-gemma-4-31b)
- [Ternary Bonsai 2 27B vs Gemma 4 26B A4B](/compare/gemma-4-26b-a4b-vs-ternary-bonsai-2-27b)
- [Gemma 4 31B vs Gemma 4 12B](/compare/gemma-4-12b-vs-gemma-4-31b)
- [Ternary Bonsai 2 27B vs Gemma 4 12B](/compare/gemma-4-12b-vs-ternary-bonsai-2-27b)

## Explore More

- [Gemma 4 31B profile](/models/gemma-4-31b)
- [Ternary Bonsai 2 27B profile](/models/ternary-bonsai-2-27b)
- [Compare Pricing](/llm-pricing)
- [Alternative Finder](/tools/alternative-finder)
- [LLM Selector](/tools/llm-selector)
- [Overall Rankings](/best/overall)
