Hy4 vs Hy4 flash vs MAI Code 2
No independent capability benchmark covers every model here yet. The score uses context window.
Price in rating: Excluded · Include price
Tencent
Hy4
65/100- ECI—
- Price$0.834 / $2.50
- Context1.05M
Tencent
Hy4 flash
65/100- ECI—
- Price$0.07 / $0.281
- Context1.05M
Microsoft
MAI Code 2
65/100- ECI—
- Price$0.50 / $2.50
- Context1.05M
Capability evidence is incomplete
There is not enough shared capability evidence to name an overall winner. The scores (MAI Code 2 65/100, Hy4 65/100, Hy4 flash 65/100) compare the available specifications only. The score weighs context window 100%. None of the shared benchmarks cover every model here yet, so capability is left out of this verdict.
- CapabilityNot enough dataNo independent benchmark covers every model here yet
- Lowest priceHy4 flashHy4 flash $0.123 · MAI Code 2 $1.00 · Hy4 $1.25 per 1M tokens (3:1 blend)
- Longest contextAbout the sameMAI Code 2 1,050,000 · Hy4 1,048,576 · Hy4 flash 1,048,576 tokens
- Widest inputsSame inputsHy4: Text, Images · Hy4 flash: Text, Images · MAI Code 2: Text, Images
- Self-hostingNo confirmed open weightsAll three are available only through APIs
| Measure | Weight | Hy4 | Hy4 flash | MAI Code 2 |
|---|---|---|---|---|
| Context window | 100% | 65 | 65 | 65 |
| Specs only | 100% | 65/100 | 65/100 | 65/100 |
Left out because at least one model lacks the data: capability and inputs & features. The remaining weights were rescaled.
Every spec in one table
Highlighted cells lead their row. Dashes mean the data is not published.
| Specification | |||
|---|---|---|---|
| Task | — | — | Coding |
| Published capabilities | A next-generation multimodal productivity model with significantly enhanced Agent and complex task execution capabilities. | Tencent's lower-cost Hy4 tier for everyday agent and productivity tasks, with image understanding and a 1M-token context window. | Mixture-of-experts coding model for long-running engineering tasks and multi-file changes. |
| Model size | — | — | 80B active parameters |
| Access | — | — | GitHub Copilot |
| Billing terms | — | — | Promotional GitHub Copilot token rates until May 17, 2027. |
| Sources | — | — | Publisher documentation · Additional documentation · Pricing documentation |
| Capability | |||
| Capabilities Index (ECI) | — | — | — |
| ECI rank | — | — | — |
| Price per million tokens | |||
| Input | $0.834 | $0.07 (best) | $0.50 |
| Output | $2.50 | $0.281 (best) | $2.50 |
| Cached input | $0.042 | — | $0.025 (best) |
| Blended (3:1) | $1.25 | $0.123 (best) | $1.00 |
| Long-context rate | Same rate | Same rate | Same rate |
| Price source | Official Tencent TokenHub API | Median of 10 providers | Official GitHub Copilot API |
| Limits | |||
| Context window | 1,048,576 tokens | 1,048,576 tokens | 1,050,000 tokens (best) |
| Max output | 65,536 tokens | 65,536 tokens | 128,000 tokens (best) |
| Inputs and features | |||
| Text | Yes | Yes | Yes |
| Images | Yes | Yes | Yes |
| PDFs | No | No | No |
| Audio | No | No | No |
| Video | No | No | No |
| Reasoning | Yeshigh | Yes | Yes |
| Tool calling | Yes | Yes | Yes |
| Structured output | No | No | — |
| Availability | |||
| Weights | Proprietary | Proprietary | Proprietary |
| API model ID | hy4 | — | — |
| API providers | 12 (best) | 11 | — |
| Released | Nov 4, 2026 | Nov 16, 2026 | Nov 17, 2026 |
| Knowledge cutoff | — | — | — |
What would a month cost?
Enter your expected volume in millions of tokens. List prices only; caching and batch discounts would lower these.
Hy4$13.34
Hy4 flash$1.26
MAI Code 2$10.00
Which should you choose?
Which is better: Hy4, Hy4 flash or MAI Code 2?
There is not enough shared capability evidence to name an overall winner. The scores (MAI Code 2 65/100, Hy4 65/100, Hy4 flash 65/100) compare the available specifications only. The score weighs context window 100%. None of the shared benchmarks cover every model here yet, so capability is left out of this verdict.
Which is cheaper, Hy4, Hy4 flash or MAI Code 2?
Hy4 flash is cheaper at $0.07 input / $0.281 output per million tokens (median across 10 API providers). MAI Code 2 costs $0.50 input / $2.50 output per million tokens (official GitHub Copilot API price); Hy4 costs $0.834 input / $2.50 output per million tokens (official Tencent TokenHub API price). At a typical mix of three input tokens to one output token, that is $0.123 per million tokens for Hy4 flash versus $1.00 for MAI Code 2 (8.1× as much) and $1.25 for Hy4 (10× as much).
Which scores higher on benchmarks?
There is no independent benchmark that covers all three models yet. Hy4 has not been scored yet, Hy4 flash has not been scored yet and MAI Code 2 has not been scored yet.
Which is better for coding?
There are no published SWE-bench Verified results for Hy4, Hy4 flash and MAI Code 2 yet, so there is no like-for-like coding score. Test both on a sample of your own tasks. All three support tool calling for agent workflows.
Which has the bigger context window?
Their context windows are effectively the same size: Hy4 1,048,576, Hy4 flash 1,048,576 and MAI Code 2 1,050,000 tokens. Maximum output per response: Hy4 up to 65,536, Hy4 flash up to 65,536, MAI Code 2 up to 128,000 tokens.
Which can read images, PDFs, audio or video?
Hy4 accepts text and images; Hy4 flash accepts text and images; MAI Code 2 accepts text and images. They handle the same number of input types.
Are any of these open source?
No. Hy4, Hy4 flash and MAI Code 2 are proprietary and only available through APIs and apps.
Which is newer?
MAI Code 2 is the newest, released Nov 17, 2026. Hy4 flash came out Nov 16, 2026; Hy4 came out Nov 4, 2026.
How do you decide the winner?
This rating uses context window (100%, maximum tokens per request, log scale). Dimensions missing for any model are dropped and the remaining weights rescaled, so every model is judged on the same evidence. Specs and prices come from public model listings and the labs’ own API pages; capability scores come from independent benchmark runs. Data updated Nov 19, 2026.