Tencent: Hy4 flash vs PrismML: Ternary Bonsai 2 9B
Side-by-side comparison of specs, pricing, benchmark scores, and task rankings. Updated 2026-11-19.
| Tencent: Hy4 flash | PrismML: Ternary Bonsai 2 9B | |
|---|---|---|
| Vendor | tencent | prism-ml |
| Quality Score | 100 | 100 |
| Input Price | $0.04/M | $0.08/M |
| Output Price | $0.14/M | $0.13/M |
| Context Window | 1,048,576 | 262,144 |
| Max Output | 65,536 | 65,536 |
| Tool Calling | ✓ | ✓ |
| Structured Output | ✓ | ✓ |
| Reasoning Mode | ✓ | ✓ |
| Vision | ✓ | ✓ |
| Audio | - | - |
The verdict
For a sample job of 1 million input tokens and 250,000 output tokens, Hy4 flash costs $0.070 and Ternary Bonsai 2 9B costs $0.11, so Hy4 flash is about 1.6 times cheaper for the same work.
Hy4 flash reads up to 1,048,576 tokens at once, roughly 1,573 pages of text, against about 393 pages for Ternary Bonsai 2 9B.
Across the 14 tasks where they differ, Hy4 flash scores higher on 14 (SQL Generation, Code Review, Code Completion and others).
Hy4 flash was released in November 2026 and Ternary Bonsai 2 9B in October 2026.
Pick Hy4 flash if you need lower cost, long documents or the stronger all-round task scores.
Costs use current list prices per million tokens; page counts assume about 0.75 words per token and 500 words per page.
Who wins by task?
| Task | Tencent: Hy4 flash | PrismML: Ternary Bonsai 2 9B |
|---|---|---|
| SQL Generation | 134 | 131 |
| Code Review | 132 | 126 |
| Code Completion | 132 | 129 |
| Code Refactoring | 136 | 127 |
| Bug Fixing | 136 | 130 |
| Unit Test Generation | 124 | 121 |
| Code Documentation | 132 | 126 |
| CI/CD Pipelines | 120 | 117 |
| CSV / Spreadsheet Cleanup | 134 | 128 |
| ETL Scripting | 128 | 122 |
| OCR / Document Parsing | 131 | 128 |
| Table Extraction from PDFs | 131 | 128 |
| Long-Document Summarization | 138 | 129 |
| Blog Post Writing | 122 | 119 |
Scores reflect capability match + benchmark data + pricing for each task. Methodology →