Ternary Bonsai 27B API Pricing
As of October 10, 2026, Ternary Bonsai 27B is free to use on Together AI. It has a 262,144-token context window.
- Price
- Free
- Context window
- 262,144 tokens
- Providers
- 1
- Added to LiteLLM
- August 25, 2026
Ternary Bonsai 27B pricing by provider
1 listing across 1 provider. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.
| Provider | Model name in LiteLLM | Input | Output | Context |
|---|---|---|---|---|
| Together AI | together_ai/Prism-ML/Ternary-Bonsai-27B | $0 | $0 | 256K |
What Ternary Bonsai 27B costs in practice
1,000 requests with 2,000 input and 500 output tokens each
| Together AI | $0 |
100 long-document requests with 100,000 input and 2,000 output tokens each
| Together AI | $0 |
Use Ternary Bonsai 27B with LiteLLM
Call Ternary Bonsai 27B through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/chat/completions. LiteLLM tracks the cost of every request at these prices.
from litellm import completion
response = completion(
model="together_ai/Prism-ML/Ternary-Bonsai-27B",
messages=[{"role": "user", "content": "Hello!"}],
)model_list:
- model_name: ternary-bonsai-27b
litellm_params:
model: together_ai/Prism-ML/Ternary-Bonsai-27B
api_key: os.environ/TOGETHERAI_API_KEYcurl http://0.0.0.0:4000/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer sk-1234" \
-d '{
"model": "ternary-bonsai-27b",
"messages": [{"role": "user", "content": "Hello!"}]
}'Ternary Bonsai 27B FAQ
How much does Ternary Bonsai 27B cost?
Ternary Bonsai 27B is free to use on Together AI.
What is the context window of Ternary Bonsai 27B?
Ternary Bonsai 27B has a 262,144-token context window.
Which providers offer Ternary Bonsai 27B?
Ternary Bonsai 27B is available from Together AI through LiteLLM, using the model name together_ai/Prism-ML/Ternary-Bonsai-27B.
How do I call Ternary Bonsai 27B with an OpenAI-compatible API?
Use the LiteLLM Python SDK with model="together_ai/Prism-ML/Ternary-Bonsai-27B", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/chat/completions from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.
When did LiteLLM add Ternary Bonsai 27B?
Ternary Bonsai 27B was added to LiteLLM's model price file on August 25, 2026.
Sources
Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Provider pricing pages:
LiteLLM docs: Together AI.
Provider pages: Together AI.
