AI Rate Card

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.

FieldClaude 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
Context200K—
Max output64K—
Providers352 +94.3%
RegionsAPAC, AU, EU, GLOBAL, IN, JP, US—
Acceptsapplication/pdf, file, image, image/gif, image/jpeg, image/png, image/webp, pdf, text—
Returnstext—
TypeText modelsText models
Free optionnono
Cheapest provideropenrouterazure

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

azure, github-copilot

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