Auto-generated comparison

OpenAI: GPT-5 vs OpenAI: GPT-5.2-Codex

OpenAI: GPT-5 wins on 2 of 6 axes — pricing and capability skew in its favour for most workloads.

Side-by-side comparison

CapabilityOpenAI: GPT-5OpenAI: GPT-5.2-CodexWinner
Context window
Maximum number of input tokens the model can attend to in a single request.
400K400KTie
Input price (per 1M)
Cost per million input tokens billed by the provider.
$1.25$1.75🏆 OpenAI: GPT-5
Output price (per 1M)
Cost per million output tokens billed by the provider.
$10.00$14.00🏆 OpenAI: GPT-5
Tool / function calling
First-class support for emitting structured tool calls.
YesYesTie
Vision input
Accepts image inputs alongside text.
YesYesTie
Reasoning mode
Internal chain-of-thought / extended-thinking support.
YesYesTie

Frequently asked questions

Is OpenAI: GPT-5 better than OpenAI: GPT-5.2-Codex?

OpenAI: GPT-5 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 and OpenAI: GPT-5.2-Codex?

Input: $1.25 vs $1.75 per 1M tokens. Output: $10.00 vs $14.00 per 1M tokens.

What context windows do OpenAI: GPT-5 and OpenAI: GPT-5.2-Codex support?

OpenAI: GPT-5 supports up to 400K tokens. OpenAI: GPT-5.2-Codex supports up to 400K tokens.

Do both OpenAI: GPT-5 and OpenAI: GPT-5.2-Codex support tool calling?

OpenAI: GPT-5: yes. OpenAI: GPT-5.2-Codex: yes.

Compare OpenAI: GPT-5 with other models

Compare OpenAI: GPT-5.2-Codex with other models