PrismML: 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.
- Input
- 27,621 Toman/M tokens
- Output
- 182,988 Toman/M tokens
- Context
- 262K
- Max output
- 33K
- Published
- Sep 18, 2026
- Maker
- PrismML
Free plan prices, in Toman at today's rate. Plans and prices
Price by plan
Toman per million tokens at today's rate. A plan lowers the price of your usage up to a limit each period.
| Plan | Input | Output |
|---|---|---|
| Free | 27,621 | 182,988 |
| Pro | 26,489 | 175,488 |
| Max | 25,357 | 167,989 |
Capabilities
- Text
- Vision
- Tools
- JSON
- Reasoning
What it takes and gives
Accepts
- Text
- Image
Creates
- Text
Every input listed here works through the API and the playground: images and PDFs as data URLs or https links, audio as base64, video as a data URL or a link the model supports.
Call it
Pass prism-ml/ternary-bonsai-2-27b as the model name, or let router/auto choose for you.
import os
from openai import OpenAI
client = OpenAI(
base_url="https://ai.fluxcdn.cloud/api/v1",
api_key=os.environ["FLUXCDN_API_KEY"],
)
resp = client.chat.completions.create(
model="router/auto",
messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)
