Claude Haiku 4.5 (latest) vs MAI Code 2 Flash: API price and specs
MAI Code 2 Flash is 90% cheaper than Claude Haiku 4.5 (latest) on input price.
MAI Code 2 Flash is 90% cheaper than Claude Haiku 4.5 (latest) on output price.
MAI Code 2 Flash is 90% cheaper than Claude Haiku 4.5 (latest) on a 1M-in / 200k-out workload.
| Field | Claude Haiku 4.5 (latest) | MAI Code 2 Flash |
|---|---|---|
| Lowest input, per 1M | $0.50 +900% | $0.05 |
| Median input, per 1M | $1.00 +1900% | $0.05 |
| Lowest output, per 1M | $2.50 +900% | $0.25 |
| Median output, per 1M | $5.00 +1900% | $0.25 |
| Lowest unit price | $0.001 / request | — |
| Cost of 1M in + 200k out | $1.00 +900% | $0.10 |
| Context | 200K | — |
| Max output | 64K | — |
| Providers | 35 | 2 +94.3% |
| Regions | APAC, AU, EU, GLOBAL, IN, JP, US | — |
| Accepts | application/pdf, file, image, image/gif, image/jpeg, image/png, image/webp, pdf, text | — |
| Returns | text | — |
| Type | Text models | Text models |
| Free option | no | no |
| Cheapest provider | openrouter | azure |
Your own workload: how many tokens the model gets (input) and gives back (output) - for example, in a month. The "Cost" row of the table above is recalculated for these numbers, for each model.
Computed from current offers each time the page opens; the best value of a row is bold, the percent is how far behind the best.
Providers selling both
Frequently asked questions
Which is cheaper, Claude Haiku 4.5 (latest) or MAI Code 2 Flash?
MAI Code 2 Flash is 90% cheaper than Claude Haiku 4.5 (latest) on input price. MAI Code 2 Flash is 90% cheaper than Claude Haiku 4.5 (latest) on output price. MAI Code 2 Flash is 90% cheaper than Claude Haiku 4.5 (latest) on a 1M-in / 200k-out workload.
Where can I use both Claude Haiku 4.5 (latest) and MAI Code 2 Flash?
azure, github-copilot