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


Ternary Bonsai 2 27B and Hy4 preview are available through the OpenRouter API, so switching between them takes a model slug change rather than a new integration.
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.
Hy4 preview, from tencent, has a 1,048,576-token context window and is priced at $0.834/M tokens input, $2.501/M tokens output on OpenRouter.