Ternary Bonsai 27B on Together AI

Bonsai · PrismML

Serverless
Open Source

Last refreshed 2026-11-20. Next refresh: weekly.

Why use Ternary Bonsai 27B on Together AI?

Together AI offers Ternary Bonsai 27B with free input token pricing. Together AI is a platform for running open-source and proprietary LLMs with fast serverless and dedicated endpoints at competitive inference pricing.

Input / 1M
Free
Output / 1M
Free
Cache
Not sourced
Batch
Not sourced

Setup recipe

Python + curl
Install
pip install together
Auth
export TOGETHER_API_KEY=...
Call
from together import Together
client = Together()  # reads TOGETHER_API_KEY from env
response = client.chat.completions.create(
    model="Prism-ML/Ternary-Bonsai-27B",
Model ID
Prism-ML/Ternary-Bonsai-27B

Request example

from together import Together

client = Together()  # reads TOGETHER_API_KEY from env
response = client.chat.completions.create(
    model="Prism-ML/Ternary-Bonsai-27B",
    messages=[{"role": "user", "content": "Hello"}]
)
print(response.choices[0].message.content)

Gotchas

  • Use provider model ID "Prism-ML/Ternary-Bonsai-27B", not the LLMReference slug "ternary-bonsai-27b".
  • Together uses "organization/model-name" format, e.g. "meta-llama/Llama-4-Scout-17B-16E-Instruct" or "Qwen/QwQ-32B". See the Together model catalog for the exact ID.
  • The examples expect TOGETHER_API_KEY; rename it only if your application config maps the new variable.

Pricing

TypePrice (per 1M)
Input tokensFree
Output tokensFree

Capabilities

VisionMultimodalReasoningJSON / Tool use

About Ternary Bonsai 27B

Ternary Bonsai 27B is PrismML's prior-generation ternary 27B open-weight multimodal model from the 2026-07-14 Bonsai 27B launch. Based on Qwen3.6 27B.

Get Started

Model Specs

Released2026-07-14
Parameters27B
Context256K