← All models
PrismML · Language model
Ternary Bonsai 2 27B
prism-ml/ternary-bonsai-2-27b- Language
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...
Specifications
- Context window
- 262,144 tokens
- Max output
- 32,768 tokens
- Input
- text, image
- Output
- text
- Reasoning effort
- xhigh, medium
- Tokenizer
- Qwen
Supported parameters
Accepted by the model and forwarded as-is by the gateway.
- frequency_penalty
- logprobs
- max_tokens
- presence_penalty
- reasoning
- reasoning_effort
- repetition_penalty
- response_format
- seed
- stop
- structured_outputs
- temperature
- tool_choice
- tools
- top_k
- top_logprobs
- top_p
Use it
POST /api/v1/chat/completions · MCP chat · full reference
curl https://omnirail.org/api/v1/chat/completions \
-H "Authorization: Bearer $OMNIRAIL_KEY" -H "Content-Type: application/json" \
-d '{"model":"prism-ml/ternary-bonsai-2-27b","messages":[{"role":"user","content":"Hello"}],"max_tokens":300}'