AI Rate Card

Claude Haiku 4.5 (latest) vs GPT-5.1 Codex Max: API price and specs

Claude Haiku 4.5 (latest) is 55% cheaper than GPT-5.1 Codex Max on input price.

Claude Haiku 4.5 (latest) is 72% cheaper than GPT-5.1 Codex Max on output price.

Claude Haiku 4.5 (latest) is 66% cheaper than GPT-5.1 Codex Max on a 1M-in / 200k-out workload.

GPT-5.1 Codex Max has a 100% larger context than Claude Haiku 4.5 (latest).

FieldClaude Haiku 4.5 (latest)GPT-5.1 Codex Max
Lowest input, per 1M$0.50$1.10 +120%
Median input, per 1M$1.00$1.25 +25%
Lowest output, per 1M$2.50$9.00 +260%
Median output, per 1M$5.00$10.00 +100%
Lowest unit price$0.001 / request—
Cost of 1M in + 200k out$1.00$2.90 +190%
Context200K +50%400K
Max output64K +50%128K
Providers3411 +67.6%
RegionsAPAC, AU, EU, GLOBAL, IN, JP, USGLOBAL
Acceptsapplication/pdf, file, image, image/gif, image/jpeg, image/png, image/webp, pdf, textfile, image, pdf, text
Returnstexttext
TypeText modelsText models
Free optionnono
Cheapest provideropenrouterpoe

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

aihubmix, aiml, azure, edenai, jiekou, kilo, ofox, opencode, openrouter, poe, vercel

Frequently asked questions

Which is cheaper, Claude Haiku 4.5 (latest) or GPT-5.1 Codex Max?

Claude Haiku 4.5 (latest) is 55% cheaper than GPT-5.1 Codex Max on input price. Claude Haiku 4.5 (latest) is 72% cheaper than GPT-5.1 Codex Max on output price. Claude Haiku 4.5 (latest) is 66% cheaper than GPT-5.1 Codex Max on a 1M-in / 200k-out workload.

Which has the larger context, Claude Haiku 4.5 (latest) or GPT-5.1 Codex Max?

Claude Haiku 4.5 (latest): 200K tokens; GPT-5.1 Codex Max: 400K tokens.

Where can I use both Claude Haiku 4.5 (latest) and GPT-5.1 Codex Max?

aihubmix, aiml, azure, edenai, jiekou, kilo, ofox, opencode, openrouter, poe, vercel