Skip to content
Alpha
  • Models
  • Rankings
  • Ori
Talk to sales

Footer

OpenRouterOpenRouter
© 2026 OpenRouter, Inc

Product

  • Chat
  • Rankings
  • Benchmarks
  • Apps
  • Discover
  • Models
  • Ori
  • Collections
  • Providers
  • Tools
  • Pricing
  • Business
  • Enterprise
  • Labs

Company

  • About
  • Blog
  • Customers
  • Careers
    Hiring
  • Privacy
  • Terms of Service
  • Trust Center
  • Support
  • Works With OR
  • Data
  • Brand

Developer

  • Documentation
  • API Reference
  • Developer Platform
  • Status
  • AI Site Map

Connect

  • Discord
  • GitHub
  • LinkedIn
  • X
  • YouTube
  1. Home
  2. /
  3. Compare

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
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
GPT-5 Codex
Reasoning
Claude Opus 4.5
Input modalities
GPT-5 Codex
Input modalities
Claude Opus 4.5
Output modalities
GPT-5 Codex
Output modalities

Analysis

Claude Opus 4.5 vs GPT-5 Codex at a glance

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
Intelligence Index
Not available
GPT-5 Codex
Intelligence Index
Not available
Claude Opus 4.5
Coding Index
Not available
GPT-5 Codex
Coding Index
Not available
Claude Opus 4.5
Agentic Index
Not available
GPT-5 Codex
Agentic Index
Not available
Claude Opus 4.5
Latency (p50)
1.01 s
GPT-5 Codex
Latency (p50)
Not available
Claude Opus 4.5
Throughput (p50)
40.0 tok/s
GPT-5 Codex
Throughput (p50)
Not available
Claude Opus 4.5
Provided by
Anthropic
GPT-5 Codex
Provided by
OpenAI
Claude Opus 4.5
Model page
Claude Opus 4.5 model details, providers and pricing
GPT-5 Codex
Model page
GPT-5 Codex model details, providers and pricing
Claude Opus 4.5 vs GPT-5 Codex comparison
AttributeClaude Opus 4.5GPT-5 Codex
Input price$5/M tokensPricing varies by provider
Output price$25/M tokensPricing varies by provider
Context window200,000 tokens400,000 tokens
Intelligence IndexNot availableNot available
Coding IndexNot availableNot available
Agentic IndexNot availableNot available
Latency (p50)1.01 sNot available
Throughput (p50)40.0 tok/sNot available
Provided byAnthropicOpenAI
Model pageClaude Opus 4.5 model details, providers and pricingGPT-5 Codex model details, providers and pricing

Benchmark data updated Oct 29, 2026

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.