PrismML
Bonsai 2 27B
PrismML's Qwen3.8-derived 27B model, served by Darkbloom in native MLX 2-bit format. Start with text chat and evaluate it on your own coding and reasoning tasks.
Run this model
prism-ml/ternary-bonsai-2-27b
Use an endpoint supported by this model.
Get a key for this setup →const response = await fetch('https://api.minirouter.sh/v1/chat/completions', { method: 'POST', headers: { Authorization: `Bearer ${process.env.MINIROUTER_KEY}`, 'Content-Type': 'application/json', }, body: JSON.stringify({ model: 'prism-ml/ternary-bonsai-2-27b', messages: [{ role: 'user', content: 'Why is the sky blue?' }], max_tokens: 1024, }),}) const data = await response.json()console.log(data.choices[0].message.content)Use prism-ml/ternary-bonsai-2-27b with Chat Completions. Image input and structured-output modes are not supported on this route. Reasoning can consume the output allowance before visible text appears; use a generous max_tokens limit.
Text input and a per-request minimumDarkbloom serves ternary weights in MLX 2-bit format. This route accepts text input only. MiniRouter charges a minimum of $0.000105 per request on this model route; reasoning tokens count as output. Source ↗
Model overview
- Input / 1M
- $0.07875
- All-in MiniRouter rate
- Output / 1M
- $0.525
- All-in MiniRouter rate
- Context
- 262K
- 262,144 tokens
- Max output
- 33K
- tokens
- Foundation
- 27B dense
- Derived from Qwen3.8 27B
- Serving format
- MLX 2-bit
- Ternary language weights
- Announced
- 17 Sept 2026
- publisher release
Compare text-model alternatives or estimate token costs for your workload.
A smaller representation of a 27B model.
- [ 01 ]
Keep format claims specific
PrismML also distributes GGUF files. Their download sizes describe a different package from the MLX weights Darkbloom serves.
- [ 02 ]
Treat publisher scores as a starting point
The announcement reports 98.2% aggregate benchmark retention against full precision. That result does not guarantee the same accuracy on your prompts or the same speed through a hosted API.
Try bounded coding and reasoning work.
- [ 01 ]
Code explanations and small fixes
Begin with tasks you can check: explain a function, propose a patch, or identify an error. Run the resulting code and tests before adopting an answer.
- [ 02 ]
Text documents and tool workflows
The catalog above shows the route's limits. Build up context gradually; a maximum context window is not a latency or capacity guarantee. Validate tool arguments in your application.
- [ 03 ]
Choose another route for images
The source model has vision, but this MiniRouter route accepts text only. Use a model that advertises image input for screenshots and visual documents.
Include the minimum when comparing short requests.
- [ 01 ]
Tiny requests still have a floor
The current minimum charge on this model route is $0.000105 per request. A token-only estimate below that floor understates the charge.
- [ 02 ]
Budget for reasoning and answers together
Longer reasoning can change the total cost even when the final answer is short. Compare completed tasks, including retries, instead of input price alone.
- [ 03 ]
Keep the same MiniRouter key
Select the exact model ID in the setup example. To require this provider explicitly, set providerOptions.gateway.only to ["darkbloom"] in a Chat Completions request.
Separate the model from the service.
- [ 01 ]
Model release
PrismML announced Bonsai 2 on September 17, 2026. Our release article links the primary announcement and the provider pricing feed.
- [ 02 ]
Hosted availability
Model discovery and the route table reflect MiniRouter's published catalog. Supported inputs and limits can differ from a locally hosted copy of the model.
One route, standard clients.
https://api.minirouter.sh/v1prism-ml/ternary-bonsai-2-27b/v1/chat/completions/v1/messages/v1/responsesConfigured providers. Priority follows the live catalog order.
| Provider | Priority | Input / 1M | Output / 1M | Parameters | Access |
|---|---|---|---|---|---|
darkbloom | 102 | $0.07875 | $0.525 | max_tokens, temperature, top_p, frequency_penalty, presence_penalty, stop, seed, tools, tool_choice | MiniRouter balance |