AI Hub
← All models

Claude 3 Sonnet vs GPT-5 Codex

Anthropic vs OpenAI — benchmarks, pricing, and capabilities side by side.

  • GPT-5 Codex has the higher intelligence index (87.1 vs 45.8)
  • GPT-5 Codex is cheaper ($1.25 vs $3.00 per 1M input)
  • GPT-5 Codex is faster
  • GPT-5 Codex has a larger context window (400K)
Claude 3 SonnetGPT-5 Codex
Intelligence index45.887.1
DeveloperAnthropicOpenAI
TypeMultimodalMultimodal
AccessAPI onlyAPI only
Context window200,000 tokens400,000 tokens
Input price$3.00 / 1M$1.25 / 1M
Output price$15.00 / 1M$10.00 / 1M
Speed120 tok/s180 tok/s
ReleasedFebruary 29, 2024September 23, 2025
Parameters
Input modalitiesText, Image
Output modalitiesText

Shared benchmarks

Claude 3 Sonnet
GPT-5 Codex
GPQA Diamond
40.4
83.7
Humanity’s Last Exam
3.8
25.6
LiveCodeBench
17.5
84
MMLU-Pro
56.8
86.5