Compare Mistral Small 4 from Mistral AI and Ternary Bonsai 2 27B from Prism Ml on key metrics including benchmarks, price, context length, and other model features. Access both models and hundreds of others through the OpenRouter API.


Mistral Small 4 and Ternary Bonsai 2 27B are available through the OpenRouter API, so switching between them takes a model slug change rather than a new integration.
Mistral Small 4, from Mistral AI, has a 262,144-token context window and is priced at $0.15/M tokens input, $0.60/M tokens output on OpenRouter.
Ternary Bonsai 2 27B, from Prism Ml, has a 262,144-token context window and is priced at $0.075/M tokens input, $0.50/M tokens output on OpenRouter.