Ternary Bonsai 2 27B is Ternary's language model with a 262K context window and up to 33K output tokens, starting at $0.075 / 1M input and $0.5 / 1M output. A 27B-parameter reasoning model derived from Qwen that supports coding, mathematics, tool calling, and image understanding with a large context window.
Specifications
Canonical IDternary-bonsai-2-27b
TypeLanguage
StatusActive
CreatorTernary
Providers
Context Window262K tokens
Max Output33K tokens
Input ModalitiesImageText
Output ModalitiesText
Reasoning Effortsdefault
Parameters27B
Release Date · 28 days ago

Capabilities

Input2/5
Text✓
Image✓
Audio·
Video·
PDF·
Output1/5
Text✓
Image·
Audio·
Video·
Embedding·
Capabilities4/13
Reasoning✓
Adaptive Reasoning·
Function Calling✓
Parallel Function Calling·
Structured Outputs✓
Native JSON Schema✓
Web Search·
URL Context·
Computer Use·
Code Execution·
File Search·
Prompt Caching·
Assistant Prefill·

Pricing by Provider

US Dollar ($)
Per 1M tokens
ProviderStandard
Input
$ / 1M
Output
$ / 1M
Cache Read
$ / 1M
OpenRouter logo
OpenRouter
prism-ml/ternary-bonsai-2-27b
$0.075$0.5$0.0375

Cost Calculator

US Dollar ($)
Preset:

Cheapest Instances to Run It

Cloud GPU instances that can host Ternary Bonsai 2 27B, ranked by cheapest on-demand price. The model needs about 65 GB of GPU memory at FP16 precision (estimated from its parameter count), so treat the fit as guidance rather than a guarantee.

All clouds
FP16 (full precision)
US Dollar ($)
Instance
Cloud
GPU
VRAM
Price
Cheapest region
Standard_NP20sAzure2× AMD Alveo U250 FPGA (64GB)128 GB$3.30/hr
g7e.2xlargeAWSRTX PRO Server 600096 GB$3.36/hr
Standard_NC24ads_A100_v4AzureNVIDIA A10080 GB$3.67/hr
7 more instances can run Ternary Bonsai 2 27B
Unlock the full ranked list and FP8 / INT4 quantization with a CloudPrice subscription.

Versions

VersionReleasedContextInput / 1MOutput / 1MStatus
Qwen3.8 2.4T A95B1.0M$2.00$6.00Available
Qwen Audio 3 Flash ASR————Available
Qwen Audio 3 Flash ASR Filetrans————Available
Qwen Audio 3 Flash ASR Streaming————Available
Qwen Audio 3 Flash Realtime——$0.230$0.930Available
Qwen Audio 3 Plus Realtime——$0.800$6.40Available
Qwen Audio 3 Plus TTS————Available
Qwen Audio 3.1 Plus Realtime——$0.800$6.40Available
Qwen Image 3————Available
Qwen Image 3.0 Pro————Available
Ternary Bonsai 2 27B262K$0.075$0.500Current

Model IDs

prism-ml/ternary-bonsai-2-27b
ternary-bonsai-2-27b