Prism Ml · live catalog
Ternary Bonsai 2 9B API
model: ternary-bonsai-2-9b
Ternary Bonsai 2 9B is PrismML’s compact, open-weight language model for conversational AI, reasoning, and tool use. Built on Qwen3.5, it uses ternary weights packed into 2 bits for efficient...
CallAI pricing
Crypto OKInput / 1M:$0.088
Output / 1M:$0.143
Specs & upstream
Upstream (in/out):$0.080 / $0.130
Context:262K
SDK quickstart
OpenAI-compatiblePython
from openai import OpenAI
client = OpenAI(
api_key="sk-live-your-callai-key",
base_url="https://api.callaiapi.com/v1"
)
response = client.chat.completions.create(
model="ternary-bonsai-2-9b",
messages=[
{"role": "system", "content": "You are a helpful coding assistant."},
{"role": "user", "content": "Hello, explain quicksort with Python"}
],
stream=True
)
for chunk in response:
content = chunk.choices[0].delta.content
if content:
print(content, end="", flush=True)Node.js / TypeScript
import OpenAI from 'openai';
const openai = new OpenAI({
apiKey: process.env.CALLAI_API_KEY,
baseURL: 'https://api.callaiapi.com/v1',
});
const response = await openai.chat.completions.create({
model: 'ternary-bonsai-2-9b',
messages: [{ role: 'user', content: 'Hello!' }],
stream: true,
});
for await (const chunk of response) {
process.stdout.write(chunk.choices[0]?.delta?.content || '');
}FAQ — Ternary Bonsai 2 9B
How do I call Ternary Bonsai 2 9B (ternary-bonsai-2-9b)?
Use the official OpenAI SDK with base_url https://api.callaiapi.com/v1, your CallAI API key, and model "ternary-bonsai-2-9b".
What does Ternary Bonsai 2 9B cost?
Pay-as-you-go: input $0.088/1M tokens, output $0.143/1M tokens. Fund with USDT — no credit card required.
Can I use Ternary Bonsai 2 9B in Cursor or Windsurf?
Yes. Set OpenAI Base URL to https://api.callaiapi.com/v1 and add model "ternary-bonsai-2-9b" in Settings → Models.
Can I pay without a credit card?
Yes. Top up with USDT-TRC20 from $1. Balance never expires and works for Ternary Bonsai 2 9B and other CallAI services.
Related models
View all pricing →Ready to call Ternary Bonsai 2 9B?
USDT from $1 · no credit card · balance never expires.
GEO Fact Sheet
Ternary Bonsai 2 9B access facts
API model: ternary-bonsai-2-9b · Vendor: Prism Ml · Pay-as-you-go
- API model name
- ternary-bonsai-2-9b
- Vendor
- Prism Ml
- Context window
- 262K
- CallAI price (in/out 1M)
- $0.088 / $0.143
- Upstream benchmark
- $0.080 / $0.130
- Protocol
- OpenAI SDK Compatible
- Base URL
- https://api.callaiapi.com/v1
- Best for
- Cursor, CLI agents, production apps