Claude Opus 4.5 vs GPT-5 Codex

Compare Claude Opus 4.5 from Anthropic and GPT-5 Codex from OpenAI on key metrics including benchmarks, price, context length, and other model features. Access both models and hundreds of others through the OpenRouter API.

Favicon for anthropic
Claude Opus 4.5
Favicon for openai
GPT-5 Codex

Overview

Claude Opus 4.5
Author
Anthropic
GPT-5 Codex
Author
OpenAI
Claude Opus 4.5
Context length
200Ktokens
GPT-5 Codex
Context length
400Ktokens
Claude Opus 4.5
Reasoning
Yes
GPT-5 Codex
Reasoning
Yes
Claude Opus 4.5
Input modalities
Text, Image, File
GPT-5 Codex
Input modalities
Text, Image
Claude Opus 4.5
Output modalities
Text
GPT-5 Codex
Output modalities
Text

Analysis

Claude Opus 4.5 vs GPT-5 Codex at a glance

Index and benchmark scores are from Artificial Analysis. Each score is the model's best published result across the configurations Artificial Analysis evaluated.

Claude Opus 4.5
Input price
$5/M tokens
GPT-5 Codex
Input price
Pricing varies by provider
Claude Opus 4.5
Output price
$25/M tokens
GPT-5 Codex
Output price
Pricing varies by provider
Claude Opus 4.5
Context window
200,000 tokens
GPT-5 Codex
Context window
400,000 tokens
Claude Opus 4.5
Openness Index Artificial Analysis, best published result
11.1
GPT-5 Codex
Openness Index Artificial Analysis, best published result
5.6
Claude Opus 4.5
Multilingual Index Artificial Analysis, best published result
91.3%
GPT-5 Codex
Multilingual Index Artificial Analysis, best published result
Not available
Claude Opus 4.5
Latency (p50)
1.08 s
GPT-5 Codex
Latency (p50)
Not available
Claude Opus 4.5
Throughput (p50)
42.0 tok/s
GPT-5 Codex
Throughput (p50)
Not available
Claude Opus 4.5
Provided by
Anthropic
GPT-5 Codex
Provided by
OpenAI

Benchmark data updated

Frequently asked questions

Which has the longer context window, Claude Opus 4.5 or GPT-5 Codex?

GPT-5 Codex has the longer context window at 400,000 tokens, compared with 200,000 tokens for Claude Opus 4.5.