Claude Haiku 4.5 vs GPT-4.1 nano
A direct API-pricing comparison between Claude Haiku 4.5 and GPT-4.1 nano. Below: every cost dimension side by side, then the bottom line for a typical workload.
Bottom line
For a typical 5K-in / 1K-out request, GPT-4.1 nano is the cheaper choice at $0.0009 per call — 11.1× less than Claude Haiku 4.5 at $0.010.
| Claude Haiku 4.5Anthropic | GPT-4.1 nanoOpenAI | |
|---|---|---|
| Input / 1M tokens | $1.00 | $0.100 |
| Output / 1M tokens | $5.00 | $0.400 |
| Cached input / 1M | $0.100 | — |
| Context window | 200K | 1M |
| Provider | Anthropic | OpenAI |
Green = cheaper on that line. Prices are estimates from public pricing pages; verify against Anthropic and OpenAI before relying on them.
Which is cheaper, Claude Haiku 4.5 or GPT-4.1 nano?
On output tokens — usually the dominant cost — Claude Haiku 4.5 charges $5.00 per million versus $0.400 for GPT-4.1 nano. The right pick depends on your input/output ratio and how much you can serve from cache. Use the calculator to model your exact traffic.