Gemini 3.1 Pro Preview Custom Tools vs Ternary Bonsai 2 27B
Ternary Bonsai 2 27B costs 24.0x less per output token than Gemini 3.1 Pro Preview Custom Tools ($0.50 vs $12.00 per million). Updated October 22, 2026; no benchmark has tested both models yet.
- Coding
- No data
- Overall
- No data
- Output $/M
- $12.00
- Coding
- No data
- Overall
- No data
- Output $/M
- $0.50
Gemini 3.1 Pro Preview Custom Tools or Ternary Bonsai 2 27B: which to pick
Neither model has a coding score yet, so the two cannot be ranked on coding.
Pick Gemini 3.1 Pro Preview Custom Tools for a larger context window (1.05M against 262K tokens).
No benchmark has tested both yet. Gemini 3.1 Pro Preview Custom Tools has results on Vending-Bench 2; Ternary Bonsai 2 27B has none yet. Compare them on price and context instead.
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
No call
Neither has a coding score yet.
One side not measured
Long documents
Listed context window
Gemini 3.1 Pro Preview Custom Tools
Gemini 3.1 Pro Preview Custom Tools takes 1.05M tokens against 262K.
Listed by OpenRouter
Everyday cost
1K input + 500 output tokens
Ternary Bonsai 2 27B
Gemini 3.1 Pro Preview Custom Tools $0.0080, Ternary Bonsai 2 27B $0.0003 per turn.
List prices
At a glance
- Coding index
- Gemini 3.1 Pro Preview Custom Tools not benchmarked, Ternary Bonsai 2 27B not benchmarked.
- Widest category
- None yet: no category has been tested on both models.
- Widest single gap
- None yet: no benchmark has tested both models.
- Output price
- Gemini 3.1 Pro Preview Custom Tools $12.00 against Ternary Bonsai 2 27B $0.50 per million output tokens, 24.0x apart.
- Context window
- Gemini 3.1 Pro Preview Custom Tools takes 1.05M tokens, Ternary Bonsai 2 27B 262K.
Benchmark by benchmark
Every board either model has a result on, a category to a fold; bars are each result on a 0 to 100 scale. Only one model is measured on each, so no row names a leader.
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index1 board measured
| Benchmark | Gemini 3.1 Pro Preview Custom Tools | Ternary Bonsai 2 27B | Leader |
|---|---|---|---|
| Vending-Bench 2 | $3,774 | Not measured | Only Gemini 3.1 Pro Preview Custom Tools measured |
| Neither model has a result on the other 41 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
Ternary Bonsai 2 27B costs less
Repository review
50K input + 3K output tokens
Ternary Bonsai 2 27B costs less
Agent loop
200K input + 10K output tokens
Ternary Bonsai 2 27B 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 Gemini 3.1 Pro Preview Custom Tools | PrismML Ternary Bonsai 2 27B |
|---|---|---|
| Maker | Prism-ml | |
| Weights | No public weights listed | Open weights |
| Released | February 25, 2026 | September 18, 2026 |
| Context window | 1.05M | 262K |
| Input $/Mtok | $2.00 | $0.075 |
| Output $/Mtok | $12.00 | $0.50 |
| Coding index | Not benchmarked | Not benchmarked |
| Independent measurements behind it | 0 | 0 |
| Cost per solved task | Not computable | Not computable |
| Source | OpenRouter listing | OpenRouter listing |
Questions
Is Gemini 3.1 Pro Preview Custom Tools better than Ternary Bonsai 2 27B for coding?
Neither model has a coding score yet, so the two cannot be ranked on coding. Pick Gemini 3.1 Pro Preview Custom Tools for a larger context window (1.05M against 262K tokens).
Which is cheaper, Gemini 3.1 Pro Preview Custom Tools or Ternary Bonsai 2 27B?
Gemini 3.1 Pro Preview Custom Tools costs $2.00 per million input tokens and $12.00 per million output tokens; Ternary Bonsai 2 27B costs $0.075 and $0.50. Cost per solved task is known for neither of them.
Which has the bigger context window, Gemini 3.1 Pro Preview Custom Tools or Ternary Bonsai 2 27B?
Gemini 3.1 Pro Preview Custom Tools, with 1.05M tokens against 262K.
Has any benchmark tested both Gemini 3.1 Pro Preview Custom Tools and Ternary Bonsai 2 27B?
No benchmark has tested both yet. Gemini 3.1 Pro Preview Custom Tools has results on Vending-Bench 2; Ternary Bonsai 2 27B has none yet. Compare them on price and context instead. Data as of October 22, 2026.