AI Hub
← All models

Claude 3 Sonnet vs GPT-5.1-Codex

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

  • GPT-5.1-Codex has the higher intelligence index (88.2 vs 45.8)
  • GPT-5.1-Codex is cheaper ($1.25 vs $3.00 per 1M input)
  • GPT-5.1-Codex is faster
  • GPT-5.1-Codex has a larger context window (400K)
Claude 3 SonnetGPT-5.1-Codex
Intelligence index45.888.2
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/s188 tok/s
ReleasedFebruary 29, 2024November 13, 2025
Parameters
Input modalitiesText, Image
Output modalitiesText

Shared benchmarks

Claude 3 Sonnet
GPT-5.1-Codex
GPQA Diamond
40.4
86
Humanity’s Last Exam
3.8
23.4
LiveCodeBench
17.5
84.9
MMLU-Pro
56.8
86