Prism Ml model page

PrismML: Ternary Bonsai 2 27B

prism-ml/ternary-bonsai-2-27b

Bonsai 2 27B is a 27B-parameter reasoning model from PrismML derived from Qwen3.8-27B. It supports coding, mathematics, tool calling, and image understanding with a 262K-token context window. Ternary compression shrinks...

TextVisionStructured outputTool callingReasoningLong context
Input / 1M
$0.10
Output / 1M
$0.65
Context
262K
Markup
30%

Use this model through UAI

A dedicated public landing page for this synced catalog row.

Provider
Prism Ml

Synced from the active catalog

Context window
262K tokens

Validated for gateway requests

UAI input
$0.10

Charged from your UAI balance

UAI output
$0.65

Same API key and billing flow

This page exists for direct linking, onboarding, and SEO. The same model row powers /v1/models, the public catalog, the app pricing screen, and request validation for /v1/chat/completions.

Why use this model through UAI

The same model route, but with one account, one balance, and one API shape.

Reasoning workloads

Use PrismML: Ternary Bonsai 2 27B for multi-step prompts, planning, and deeper analysis while keeping the same OpenAI-compatible UAI endpoint.

Long-context inputs

PrismML: Ternary Bonsai 2 27B exposes 262K tokens, which makes it a good fit for large documents, transcripts, and retrieval-heavy chat flows.

Multimodal prompts

The synced capabilities for this row indicate image or vision support, so you can route multimodal requests through the same UAI account and billing flow.

Pricing and access

Current synced numbers for this exact model row.

UAI input / 1M tokens
$0.10
UAI output / 1M tokens
$0.65
Prism Ml input / 1M
$0.07
Prism Ml output / 1M
$0.50
Context window
262,144
Current markup
30%

Need another option? Browse the full models catalog or compare rows in the signed-in pricing table.

Quickstart

Use this model with your UAI key over the standard OpenAI-compatible route.

Create a key in API Keys, then send requests to https://uai.sh/v1/chat/completions.

curl
curl https://uai.sh/v1/chat/completions \
  -H "Authorization: Bearer uai-YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "prism-ml/ternary-bonsai-2-27b",
    "messages": [{"role": "user", "content": "Say hi in one short sentence."}],
    "stream": false
  }'
Python (OpenAI SDK)
from openai import OpenAI

client = OpenAI(base_url="https://uai.sh/v1", api_key="uai-YOUR_API_KEY")
response = client.chat.completions.create(
    model="prism-ml/ternary-bonsai-2-27b",
    messages=[{"role": "user", "content": "Say hi in one short sentence."}],
    stream=False
)
print(response.choices[0].message.content)
Node.js (OpenAI SDK)
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://uai.sh/v1",
  apiKey: "uai-YOUR_API_KEY"
});

const response = await client.chat.completions.create({
  model: "prism-ml/ternary-bonsai-2-27b",
  messages: [{ role: "user", content: "Say hi in one short sentence." }],
  stream: false
});

console.log(response.choices[0].message.content);

Related models

Other active rows to compare without leaving the public catalog.

prism-ml
PrismML: Ternary Bonsai 2 9B
prism-ml/ternary-bonsai-2-9b
Input / 1M$0.10
Context262K tokens
bytedance-seed
ByteDance Seed: Seed 1.6 Flash
bytedance-seed/seed-1.6-flash
Input / 1M$0.10
Context262K tokens
google
Google: Gemma 4 26B A4B
google/gemma-4-26b-a4b-it
Input / 1M$0.10
Context262K tokens