Llama Guard 4 12B vs Ternary Bonsai 2 27B
Price, context window & benchmark comparison
VS
Compare different models
Verdict: Llama Guard 4 12B is 1% cheaper than Ternary Bonsai 2 27B on a typical 3:1 input/output mix. Ternary Bonsai 2 27B has the larger context window (262K vs 164K).
| Llama Guard 4 12B | Ternary Bonsai 2 27B | |
|---|---|---|
| Input price / 1M | $0.18 | $0.075 |
| Output price / 1M | $0.18 | $0.50 |
| Blended price (3:1) | $0.18 | $0.18 |
| Cached input / 1M | — | — |
| Context window | 164K | 262K |
| Max output | 16K | 33K |
| Intelligence index | — | — |
| Coding index | — | — |
| Providers | 1 | — |
| Best provider uptime (30m) | 100.0% | — |
| Vision input | Yes | Yes |
| Reasoning | No | Yes |
| Tool calling | No | Yes |
| Released | 2025-04-30 | 2026-09-18 |
| Retirement | — | — |
Cost calculator
FAQ
Which is cheaper, Llama Guard 4 12B or Ternary Bonsai 2 27B?
Llama Guard 4 12B is 1% cheaper than Ternary Bonsai 2 27B on a typical 3:1 input/output mix.
Llama Guard 4 12B vs Ternary Bonsai 2 27B: which has a bigger context window?
Llama Guard 4 12B: 163,840 tokens. Ternary Bonsai 2 27B: 262,144 tokens.
How much would 1 million requests cost?
At 2,000 input + 500 output tokens per request: Llama Guard 4 12B ≈ $450.00, Ternary Bonsai 2 27B ≈ $400.00.
More comparisons
Llama Guard 4 12B vs GLM 5.3 PrimeLlama Guard 4 12B vs Qwen3.8 Max PrimeLlama Guard 4 12B vs Command A+Llama Guard 4 12B vs GPT-6 Luna ProLlama Guard 4 12B vs GPT-6 LunaLlama Guard 4 12B vs GPT-6 Sol ProLlama Guard 4 12B vs GPT-6 SolLlama Guard 4 12B vs Claude Opus 5.5Llama Guard 4 12B vs MiMo-V2.6-Pro-UltraSpeedLlama Guard 4 12B vs MiMo-V2.6-FlashLlama Guard 4 12B vs Grok 4.7Llama Guard 4 12B vs Qwen3.8 Omni FlashLlama Guard 4 12B vs GLM 5.3 FlashXLlama Guard 4 12B vs DeepSeek V4.1 FlashLlama Guard 4 12B vs GPT-6 AstraLlama Guard 4 12B vs GPT-6 Astra ProTernary Bonsai 2 27B vs GLM 5.3 PrimeTernary Bonsai 2 27B vs Qwen3.8 Max PrimeTernary Bonsai 2 27B vs Command A+Ternary Bonsai 2 27B vs GPT-6 Luna ProTernary Bonsai 2 27B vs GPT-6 LunaTernary Bonsai 2 27B vs GPT-6 Sol ProTernary Bonsai 2 27B vs GPT-6 SolTernary Bonsai 2 27B vs Claude Opus 5.5