PrismML, released Sep 18, 2026

Ternary Bonsai 2 27B

Ternary Bonsai 2 27B is PrismML's larger reasoning model, derived from Qwen3.8-27B and shrunk down with ternary compression. It sits above the smaller Ternary Bonsai 2 9B in PrismML's lineup - it came out a little earlier, in September 2026 - and it's built for coding, math, tool use and image inputs. Reasoning is on by default.

Already paying for ChatGPT or Claude?

Ternary Bonsai 2 27B costs $0.50 per 1M output tokens. Use GPT-6 and Claude through your plan instead, $0 per token.

Get your API key Free plan, no card needed

Updated

Ternary Bonsai 2 27B pricing and specs

Input
$0.075per 1M tokens
Output
$0.50per 1M tokens
Cached input
$0.0375per 1M tokens
Context window
262K262,144 tokens
Max output
33K32,768 tokens
Released
Sep 18, 2026
Accepts
TextImages
Features
Tool callingReasoningStructured outputsOpen weights

What Ternary Bonsai 2 27B is good at

  • Coding and math problems where you want the model to think before it answers, especially since it has plenty of room for long replies when a task takes a while to work through.
  • Agent loops and tool-heavy workflows. It supports tool calling and structured JSON output, and because input tokens are cheap and the context window is huge, you can pass big prompts or long histories without much pain.
  • Pipelines that mix text and images, since it takes image inputs directly.
  • Teams testing over an API who want the option to self-host later, given that the open weights are available as prism-ml/Ternary-Bonsai-2-27B-gguf.

Good to know

  • Output tokens cost a fair bit more than input tokens here, and with reasoning on by default, those extra tokens add up quickly if you're running simple prompts. Worth dialing reasoning down when you don't need it.
  • Check Ternary Bonsai 2 9B before you lock this in (PrismML released it a month later, in October 2026). Input pricing is basically the same on both, while the 9B is much cheaper on output. So if the smaller model clears your bar, there's no reason to pay extra.

Ternary Bonsai 2 27B vs similar models

API price per 1M tokens
ModelInputOutputPlan2APIContext
Ternary Bonsai 2 27B$0.075$0.50Not available262K
Ternary Bonsai 2 9B$0.08$0.13Not available262K
Claude Haiku 5.5$0.10$0.50$0 on Claude1M
MiMo-V2.6-Flash-MOPD$0.25$0.50Not available1M
Inkling 2 Small$0.15$0.50Not available1M
Muse Ember$0.10$0.50Not available1M

Ternary Bonsai 2 27B cost per month

Tokens a month at $0.075 input and $0.50 output per 1M
WorkloadAPI price
Side project2M in, 500K out$0.40
Production app25M in, 5M out$4.38
Agents at scale250M in, 50M out$43.75

FAQ

How much does the Ternary Bonsai 2 27B API cost?

Ternary Bonsai 2 27B costs $0.075 per 1M input tokens and $0.50 per 1M output tokens, and cached input costs $0.0375 per 1M.

What is the Ternary Bonsai 2 27B context window?

Ternary Bonsai 2 27B takes 262,144 tokens of context, with up to 32,768 output tokens per request.

When was Ternary Bonsai 2 27B released?

PrismML released Ternary Bonsai 2 27B on Sep 18, 2026.

Can I use Ternary Bonsai 2 27B with my subscription?

Plan2API turns Claude, ChatGPT, Gemini and Kimi subscriptions into one OpenAI-compatible API. GPT-6 and Claude models run through your ChatGPT or Claude plan at $0 per token instead.

Can I turn down the reasoning?

Yes. Reasoning is on out of the box, though you can dial it back when you want shorter replies.

What's it based on, and are the weights open?

It's derived from Qwen3.8-27B with ternary compression from PrismML. The open weights are published in GGUF format as prism-ml/Ternary-Bonsai-2-27B-gguf.

More PrismML models

All 2 PrismML models

Already paying for ChatGPT or Claude? Use GPT-6 and Claude through your plan, $0 per token.

  • Free: 1 subscription, no daily cap, no card
  • Pro: $12 a month

GPT-6 and Claude at $0 per tokenFree plan, no card needed

Get your API key

Guides

80