Spiral gives your agent every tool with one account. Browse the tools →

Perplexity · LLMReleased 2026-09-18

How to Use Ternary Bonsai 2 27B in Perplexity

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 Perplexity

Copy an example into Perplexity, or ask in your own words.

Use Ternary Bonsai 2 27B to check the mathematical solution in this conversation. Identify the first incorrect step, correct it, and verify the result against the original problem.

Ternary Bonsai 2 27BPerplexity
Try asking
  • Use Ternary Bonsai 2 27B to compare the two specification passages above. List changed requirements and quote the text supporting each change.

  • Use Ternary Bonsai 2 27B with medium reasoning effort to answer my question using only the reference text above. Keep the answer under 200 words and say when evidence is missing.

  • Use Ternary Bonsai 2 27B to review the code pasted in this conversation. Explain the bug, show an input that triggers it, and provide a corrected function.

  • Use Ternary Bonsai 2 27B to compare the incident timeline and runbook above. Separate documented events from proposed explanations and list the questions still unresolved.

How to set up Ternary Bonsai 2 27B in Perplexity

Pick the way that suits you. Each takes about two minutes.

Use the Perplexity connector

  1. Add a remote connector

    In Perplexity, open Plugins in the sidebar (or Customize › Connectors if you don't see Plugins yet). Choose Add custom › Add MCP connector, then Remote. Name it Spiral and paste this MCP server URL:

    https://api.spiral.ai/mcp
  2. Sign in to Spiral and approve

    Select the Spiral card on the Plugins page to start sign-in. Spiral opens: sign in, pick the organization and click Authorize. No API key.

Use the Spiral skill

  1. Send Perplexity this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. 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

  1. Create an API key

    In the console, under API keys.

  2. 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: Perplexity 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.

OpenRouterLLM
PrismML: Ternary Bonsai 2 27B
prism-ml/ternary-bonsai-2-27b

Settings you can ask for

Ask Perplexity for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Seeda whole number
Top ka whole number from 0
Top p0 to 1
Logprobson or off
Max tokens1 to 32768

The most output tokens to generate.

Temperature0 to 2
Top logprobs0 to 20
Presence penalty-2 to 2
Reasoning effortnone, medium, or xhighxhigh

How much the model reasons.

Frequency penalty-2 to 2
Repetition penalty0 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 Perplexity?

Ternary Bonsai 2 27B can help check mathematical work and compare lengthy reference text. Supply the material in the conversation and ask for evidence you can inspect.

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.

Questions about Ternary Bonsai 2 27B in Perplexity

Can Perplexity use Ternary Bonsai 2 27B?

Yes. Add Spiral to Perplexity as an MCP server, and Perplexity can find and run Ternary Bonsai 2 27B like any built-in tool.

How much does Ternary Bonsai 2 27B cost in Perplexity?

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 Perplexity plan is separate.

Do I need an OpenRouter account to use Ternary Bonsai 2 27B in Perplexity?

No. Spiral runs Ternary Bonsai 2 27B on its own OpenRouter account. You sign in to Spiral once and never paste a key.

How long does it take to set up Ternary Bonsai 2 27B in Perplexity?

About two minutes: add a remote connector, then sign in to Spiral and approve.

Does Perplexity wait while Ternary Bonsai 2 27B runs?

Ternary Bonsai 2 27B runs in the background. Perplexity 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.

Get started

Start using Ternary Bonsai 2 27B in Perplexity

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Perplexity:

Set up Perplexity

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options