Ternary Bonsai 2 27B is cheaper than OpenAI Codex Mini at $0.075/M vs $1.5/M input tokens.
Hex grid you can resize with a slider. Geometry plus state.
Which answer wins?
Three minutes of stand-up. Puns are banned.
OpenAI Codex Mini: [Comedian walks onstage] Hey, everyone! Great to see you all tonight. I'm Jamie—if you thought that intro was enthusiastic, you should've seen me when I realized this place has Wi-Fi. Seriously, though, I love stand-up.
Ternary Bonsai 2 27B: "The Optimization" (walks to mic, adjusts it, takes a breath) I used to think being an adult was hard. Now I'm not sure it's even a thing anymore. I think we just got... optimized. I was at the grocery store last week. I walked up to the cereal aisle, and I'm standing there, just vibing. I'm not picking a brand.
Five jokes on demand, then count how many were actually different.
OpenAI Codex Mini: Sure—here are five jokes: I asked the librarian if books about paranoia were available. She whispered, "They're right behind you." Why did the tomato turn red? Because it saw the salad dressing. I bought a boat because it was for sail. Don't trust stairs—they're always up to something.
Ternary Bonsai 2 27B: Here are 5 jokes: Why did the scarecrow win an award? Because he was outstanding in his field. I told my wife she was drawing her eyebrows too high. She looked surprised. Why don't scientists trust atoms? Because they make up everything. What do you call a fake noodle? An impasta. I'm on a seafood diet.
| Spec | ||
|---|---|---|
| Input price | $1.5/M tokens | $0.075/M tokens |
| Output price | $6/M tokens | $0.5/M tokens |
| Context window | 200K tokens | 262K tokens |
| Free API (OpenRouter) | No | No |
| Released | May 2025 | Sep 2026 |
| At 10M a month | $15.00 | $0.75 |
Input tokens at list price. No caching, no batch discount.
No hosts listed on OpenRouter.
Per million tokens. Prices and uptime via OpenRouter, checked 2 Oct 2026.
OpenAI Codex Mini is developed by OpenAI while Ternary Bonsai 2 27B is developed by PrismML. OpenAI Codex Mini has a 200K token context window vs Ternary Bonsai 2 27B's 262K. You can compare their actual outputs across 8 challenges on Rival to see how they differ in practice.
It depends on your use case. OpenAI Codex Mini and Ternary Bonsai 2 27B each have strengths in different areas. Rival lets you compare their real outputs side-by-side across 8 challenges so you can judge which fits your needs best.
OpenAI Codex Mini costs $1.5/M input tokens and Ternary Bonsai 2 27B costs $0.075/M input tokens. Ternary Bonsai 2 27B is $1.43/M cheaper per input. Check their side-by-side outputs on Rival to see if the price difference is justified by quality.
This page shows a side-by-side comparison of OpenAI Codex Mini and Ternary Bonsai 2 27B across shared challenges. You can vote on which model produced the better output in a blind duel. Browsing and voting are free. No account is needed to look; signing in only saves your votes and likes.