GPT-5.1-Codex-Max is OpenAI’s latest agentic coding model, designed for long-running, high-context software development tasks. It is based on an updated version of the 5.1 reasoning stack and trained on agentic...
Model details →OpenAI: GPT-5.1-Codex-Max vs Anthropic Claude Haiku Latest
Anthropic Claude Haiku Latest wins on 2 of 6 axes — pricing and capability skew in its favour for most workloads.
This model always redirects to the latest model in the Anthropic Claude Haiku family.
Model details →Side-by-side comparison
| Capability | OpenAI: GPT-5.1-Codex-Max | Anthropic Claude Haiku Latest | Winner |
|---|---|---|---|
| Context window Maximum number of input tokens the model can attend to in a single request. | 400K | 200K | 🏆 OpenAI: GPT-5.1-Codex-Max |
| Input price (per 1M) Cost per million input tokens billed by the provider. | $1.25 | $1.00 | 🏆 Anthropic Claude Haiku Latest |
| Output price (per 1M) Cost per million output tokens billed by the provider. | $10.00 | $5.00 | 🏆 Anthropic Claude Haiku Latest |
| Tool / function calling First-class support for emitting structured tool calls. | Yes | Yes | Tie |
| Vision input Accepts image inputs alongside text. | Yes | Yes | Tie |
| Reasoning mode Internal chain-of-thought / extended-thinking support. | Yes | Yes | Tie |
Frequently asked questions
Is OpenAI: GPT-5.1-Codex-Max better than Anthropic Claude Haiku Latest?
Anthropic Claude Haiku Latest wins on 2 of 6 axes — pricing and capability skew in its favour for most workloads.
What's the price difference between OpenAI: GPT-5.1-Codex-Max and Anthropic Claude Haiku Latest?
Input: $1.25 vs $1.00 per 1M tokens. Output: $10.00 vs $5.00 per 1M tokens.
What context windows do OpenAI: GPT-5.1-Codex-Max and Anthropic Claude Haiku Latest support?
OpenAI: GPT-5.1-Codex-Max supports up to 400K tokens. Anthropic Claude Haiku Latest supports up to 200K tokens.
Do both OpenAI: GPT-5.1-Codex-Max and Anthropic Claude Haiku Latest support tool calling?
OpenAI: GPT-5.1-Codex-Max: yes. Anthropic Claude Haiku Latest: yes.
Compare OpenAI: GPT-5.1-Codex-Max with other models
vs Anthropic Claude Haiku Latestvs Anthropic Claude Sonnet Latestvs Anthropic: Claude Fable Latestvs Anthropic: Claude Opus Latest