PrismML / prismml/ternary-bonsai-2-27b
Ternary Bonsai 2 27B - access through LLMTR
Ternary Bonsai 2 27B is PrismML's compressed build of Qwen3.8 27B: its weights take only the values -1, 0 and +1 (about 1.76 effective bits per weight), making it more than nine times smaller than the full-precision original. It offers a 262,144-token context window, text and image input with text output, native tool calling including forced tool_choice and parallel calls, JSON object mode and JSON Schema structured output. Step-by-step reasoning is ON by default; the reasoning trace is returned separately from the answer, reasoning tokens are billed as output, and reasoning can be switched off per request. Graded reasoning_effort levels are not supported, only on or off. The context window is SHARED between prompt and output: there is no separate output ceiling beneath it, and the largest output you can request shrinks as the prompt grows. No prompt-cache discount is applied; every request bills at the full input rate.
Technical specifications
| Canonical ID | prismml/ternary-bonsai-2-27b |
|---|---|
| Provider | PrismML |
| Context window | 262,144 tokens |
| Operations | CHAT_COMPLETIONS |
| Modalities | text, image |
Pricing
An 8% platform margin applies to credit top-ups; model usage prices are not separately marked up.
| Operation | Metric | Unit | Price |
|---|---|---|---|
| CHAT_COMPLETIONS | INPUT_TEXT | PER_1M_TOKENS | $0.075000 |
| CHAT_COMPLETIONS | OUTPUT_TEXT | PER_1M_TOKENS | $0.500000 |
Example usage
With existing OpenAI SDK flows, change only the base URL and model identifier.
curl https://llmtr.com/v1/chat/completions -H "Authorization: Bearer llmtr-your_key" -H "Content-Type: application/json" -d '{"model":"prismml/ternary-bonsai-2-27b","messages":[{"role":"user","content":"Hello"}]}'
Related models
- Gemma 4 llmtr/gemma-4
- Qwen 3.6 35B-A3B llmtr/qwen3-6-35b
- Trendyol Asure 12B llmtr/trendyol-asure-12b
- Magibu 11B v8 llmtr/magibu-11b-v8
- Muse Glimmer 30B (Turkey) llmtr/muse-glimmer-30b-tr
- EmbeddingGemma 300M llmtr/embeddinggemma-300m
- Qwen 3.5 4B llmtr/qwen3-5-4b
- GPT-6 Astra openai/gpt-6-astra