Try Ternary Bonsai 2 27B
Generate with Ternary Bonsai 2 27B right here. Verify your email to start with free credits.
Specifications
Context window
262K tokens
Max output
33K tokens
Input price
$0.11 / 1M tokens
Output price
$0.75 / 1M tokens
Cached input
$0.056 / 1M tokens
Capabilities
Reasoning
Works through multi-step problems before answering, for harder tasks.
Vision input
Accepts images alongside text, so you can prompt with pictures and screenshots.
Tool use
Can call functions and tools, enabling agentic and structured workflows.
Structured output
Returns validated JSON that conforms to a schema you define.
Use Ternary Bonsai 2 27B through the API
The model id is prism-ml/ternary-bonsai-2-27b. Requests bill your GenMagic balance at the price above, and each response reports what it cost.
curl https://genmagic.co/api/v1/chat/completions \
-H "Authorization: Bearer $GENMAGIC_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "prism-ml/ternary-bonsai-2-27b",
"messages": [{ "role": "user", "content": "Explain vector databases in two sentences." }]
}'from openai import OpenAI
client = OpenAI(base_url="https://genmagic.co/api/v1", api_key="YOUR_GENMAGIC_API_KEY")
resp = client.chat.completions.create(
model="prism-ml/ternary-bonsai-2-27b",
messages=[{"role": "user", "content": "Explain vector databases in two sentences."}],
)
print(resp.choices[0].message.content)From an AI agent, call generate_text with "model": "prism-ml/ternary-bonsai-2-27b" on the GenMagic MCP server. Keys, limits and every endpoint are in the API documentation.
Use Ternary Bonsai 2 27B in n8n
- In n8n, open the nodes panel, search for GenMagic and install it (a verified community node), then add it to your workflow.
- Set Resource to Text and Operation to Generate.
- In Model Name or ID, pick PrismML: Ternary Bonsai 2 27B, or enter
prism-ml/ternary-bonsai-2-27bas an expression. - Connect your GenMagic API key (get one free). Each run is billed at the price above, and the node returns what it cost.
Ready-to-import workflows that already use the node are on GenMagic for n8n.
Similar-priced text models from other providers
Other text models GenMagic runs at a comparable price, on the same balance and API key.
| Model | Provider | Price | Context |
|---|---|---|---|
| PrismML: Ternary Bonsai 2 27B (this model) | Prism Ml | $0.11 in / $0.75 out per 1M tokens | 262K |
| Anthropic: Claude Haiku 5.5 | Anthropic | $0.15 in / $0.75 out per 1M tokens | 1M |
| OpenAI: GPT-6 Luna Pro | OpenAI | $0.15 in / $0.75 out per 1M tokens | 1.1M |
| Google: Gemma 4 31B | $0.30 in / $0.60 out per 1M tokens | 262K | |
| Particle AI: Particle-1 | Particle Ai | $0.075 in / $0.75 out per 1M tokens | 1M |
| DeepSeek: DeepSeek V4.1 Flash | DeepSeek | $0.068 in / $0.75 out per 1M tokens | 1M |
More from Prism Ml
Price and listing history
Every change GenMagic has recorded for Ternary Bonsai 2 27B since it began tracking the model on Oct 29, 2026. Prices are GenMagic's, the same the studio and the API charge.
| Date | Change | Before | After |
|---|---|---|---|
| Nov 1, 2026 | Price up 36% | $0.083 in / $0.55 out per 1M tokens | $0.11 in / $0.75 out per 1M tokens |
Where these figures come from
- Price: GenMagic's own price, what the studio and the API charge, recomputed from the provider's price list every few minutes and recorded daily. How pricing works.
- Specs and description: as Prism Ml publishes them (model card on Hugging Face), checked daily.
- Changes: the data on this page last changed on Nov 1, 2026, tracked since Oct 29, 2026. Every model's new listings, price changes and retirements are in the model changes log, and how every figure on GenMagic is sourced is on our sources page.
Generate with Ternary Bonsai 2 27B today
One GenMagic plan unlocks Ternary Bonsai 2 27B and every other model across text, image, audio, and video.