How to Use Ternary Bonsai 2 27B in dots
Ternary Bonsai 2 27B suits code debugging, math problems, and long-document analysis. Compared with Ternary Bonsai 27B, it retains more of its full-precision baseline's benchmark performance, according to PrismML.
Prompts to try with Ternary Bonsai 2 27B in dots
Copy an example into dots, or ask in your own words.
Every morning, use Ternary Bonsai 2 27B to compare the supplied current and previous specification text. Report changed requirements with supporting passages, or state that none were found.
After each scheduled test run, use Ternary Bonsai 2 27B to review the supplied failure output and code excerpts. Group failures by suspected cause and distinguish evidence from hypotheses.
Each week, use Ternary Bonsai 2 27B with medium reasoning effort to review the supplied incident summaries. Return recurring failure patterns and the incident passages supporting them.
Each day, use Ternary Bonsai 2 27B to check the supplied calculation explanations against their stated formulas. Show any discrepancy and the corrected calculation.
Every Friday, use Ternary Bonsai 2 27B to compare the supplied release notes with the supplied acceptance criteria. Report unresolved requirements with evidence in under 400 words.
How to set up Ternary Bonsai 2 27B in dots
Pick the way that suits you. Each takes about two minutes.
Use the Spiral skill
- Send dots this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use Spiral's MCP server
- Create an API key
In the console, open API keys and create a key for your dot. Copy it.
- Send your dot this message
Your dot reads Spiral's skill and asks for your API key.
set up https://spiral.ai/SKILL.md
- Give your dot the key
When your dot asks for the key, add it where your dot keeps secrets, never in the chat itself.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Ternary Bonsai 2 27B
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "openrouter", "model": "prism-ml/ternary-bonsai-2-27b", "input": { "messages": [ { "role": "system" } ] } }'
Then paste one of the prompts above: dots finds Ternary Bonsai 2 27B on Spiral, shows the price and runs it.
Ternary Bonsai 2 27B providers and prices
Spiral runs Ternary Bonsai 2 27B through OpenRouter. Open a card for today's price, with every fee included.
Up to $0.002667 per run at the default inputs. $0.0975 per 1M input tokens, $0.65 per 1M output tokens.
Settings you can ask for
Ask dots for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Seed | a whole number | ||
| Top k | a whole number from 0 | ||
| Top p | 0 to 1 | ||
| Logprobs | on or off | ||
| Max tokens | 1 to 32768 | The most output tokens to generate. | |
| Temperature | 0 to 2 | ||
| Top logprobs | 0 to 20 | ||
| Presence penalty | -2 to 2 | ||
| Reasoning effort | none, medium, or xhigh | xhigh | How much the model reasons. |
| Frequency penalty | -2 to 2 | ||
| Repetition penalty | 0 to 2 |
Every API field of PrismML: Ternary Bonsai 2 27B is on its tool page: open its card above.
What can you do with Ternary Bonsai 2 27B in dots?
Ternary Bonsai 2 27B can support recurring reviews of supplied reports, specifications, and incident text. Define what changed, what evidence to include, and how short the report should be.
Trace a bug across source files
Give Ternary Bonsai 2 27B the failing behavior and relevant source code. Ask it to trace the execution path, propose a small fix, and identify a regression check.
Explain an unfamiliar repository
Ask Ternary Bonsai 2 27B to map an entry point through the relevant modules, citing the functions responsible for each step.
Review an algorithm
Have Ternary Bonsai 2 27B examine code for boundary cases, explain its time complexity, and suggest inputs that could expose a defect.
Check a mathematical solution
Supply a problem and a proposed solution to Ternary Bonsai 2 27B. Ask it to find the first incorrect step and check the corrected result against the original conditions.
Compare lengthy specifications
Give Ternary Bonsai 2 27B the text of two specifications. Request changed requirements, conflicting statements, and short supporting passages.
Answer questions from reference text
Provide Ternary Bonsai 2 27B with relevant documentation and a focused question. Require supporting passages and an explicit statement when the answer is absent.
Prepare an incident review
Ask Ternary Bonsai 2 27B to compare a supplied event timeline with a runbook. Request contradictions, unresolved questions, and evidence for each proposed explanation.
More on Ternary Bonsai 2 27B and dots
Overview
Ternary Bonsai 2 27B in other agents
Questions about Ternary Bonsai 2 27B in dots
Can dots use Ternary Bonsai 2 27B?
Yes. Add Spiral to dots as an MCP server, and dots can find and run Ternary Bonsai 2 27B like any built-in tool.
How much does Ternary Bonsai 2 27B cost in dots?
Up to $0.002667 per run at the default inputs. $0.0975 per 1M input tokens, $0.65 per 1M output tokens. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your dots plan is separate.
Do I need an OpenRouter account to use Ternary Bonsai 2 27B in dots?
You need no OpenRouter account. dots uses one Spiral API key for every tool, and Spiral runs Ternary Bonsai 2 27B on its own OpenRouter account.
How long does it take to set up Ternary Bonsai 2 27B in dots?
About two minutes: create an API key, then send your dot this message, then give your dot the key.
Does dots wait while Ternary Bonsai 2 27B runs?
Ternary Bonsai 2 27B runs in the background. dots starts the run, checks on it and gives you the text, json when it's ready.
What is Ternary Bonsai 2 27B useful for?
Start with code debugging, math problems, or questions that require comparing several passages of text. PrismML highlights math and coding performance close to the full-precision baseline and lists long-document analysis as an intended use.
How much context does Ternary Bonsai 2 27B support?
PrismML documents a 262K-token context window. For document questions, ask for supporting passages alongside the answer so you can check the result.
How does it compare with Ternary Bonsai 27B?
PrismML reports that Ternary Bonsai 2 27B retains over 98% of its full-precision baseline's aggregate benchmark performance, versus 95% for Ternary Bonsai 27B. These are maker-reported benchmark results, so test the tasks you intend to run.
Which sampling settings should I start with?
For reasoning generation, PrismML recommends temperature 1.0, top-p 0.95, and top-k 20. Use those as a starting point and compare results on your own examples.
How can I get shorter responses?
PrismML recommends medium reasoning effort for shorter responses; the model defaults to xhigh. Also specify the length and format you want for the final answer.
Start using Ternary Bonsai 2 27B in dots
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into dots:
set up https://spiral.ai/SKILL.md


