GPT-5.2-Codex is an upgraded version of GPT-5.1-Codex optimized for software engineering and coding workflows. It is designed for both interactive development sessions and long, independent execution of complex engineering tasks....
Model details →OpenAI: GPT-5.2-Codex vs Anthropic: Claude Fable Latest
OpenAI: GPT-5.2-Codex 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 Claude Fable family.
Model details →Side-by-side comparison
| Capability | OpenAI: GPT-5.2-Codex | Anthropic: Claude Fable Latest | Winner |
|---|---|---|---|
| Context window Maximum number of input tokens the model can attend to in a single request. | 400K | 1M | 🏆 Anthropic: Claude Fable Latest |
| Input price (per 1M) Cost per million input tokens billed by the provider. | $1.75 | $10.00 | 🏆 OpenAI: GPT-5.2-Codex |
| Output price (per 1M) Cost per million output tokens billed by the provider. | $14.00 | $50.00 | 🏆 OpenAI: GPT-5.2-Codex |
| 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.2-Codex better than Anthropic: Claude Fable Latest?
OpenAI: GPT-5.2-Codex 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.2-Codex and Anthropic: Claude Fable Latest?
Input: $1.75 vs $10.00 per 1M tokens. Output: $14.00 vs $50.00 per 1M tokens.
What context windows do OpenAI: GPT-5.2-Codex and Anthropic: Claude Fable Latest support?
OpenAI: GPT-5.2-Codex supports up to 400K tokens. Anthropic: Claude Fable Latest supports up to 1M tokens.
Do both OpenAI: GPT-5.2-Codex and Anthropic: Claude Fable Latest support tool calling?
OpenAI: GPT-5.2-Codex: yes. Anthropic: Claude Fable Latest: yes.
Compare OpenAI: GPT-5.2-Codex with other models
vs Anthropic Claude Haiku Latestvs Anthropic Claude Sonnet Latestvs Anthropic: Claude Fable Latestvs Anthropic: Claude Opus Latest