Skip to main content
idapt
HomeCodeAI ModelsPricing
Sign inStart free
  • Home
  • Pricing
  • AI Models
  • Image models
  • Voice models
  • Video models
  • Rankings
  • New models
  • Model status
  • Multi-Model Chat
  • Voice Mode
  • Voice HUD
  • Web Search
  • Image Generation
  • Video Generation
  • Audio Generation
  • Transcription
  • Drive
  • Credentials
  • Sharing
  • Workspaces
  • Tasks
  • Memory
  • Agents
  • Subagents
  • Automations
  • Skills
  • idapt Code
  • Code Execution
  • Computers
  • Computer Use
  • Computer Assist · Soon
  • Containers · Soon
  • Cloud Computers
  • Local AI
  • AI Gateway
  • API & SDK
  • CLI
  • MCP
  • Tunnels
  • All features →
  • LLM cost calculator
  • Token counter
  • Context window checker
  • Can I run it
  • Model picker quiz
  • Savings finder
  • Video cost estimator
  • Text to speech cost
  • Transcription cost
  • API endpoint tester
  • All free tools →
  • Blog
  • Use cases
  • Comparisons
  • Best of
  • Skills
  • Learn
  • Changelog
  • Help center
  • FAQ
  • Privacy
  • Compare all models
  • Support
  • idapt Code
  • Developers
  • Quickstarts
  • API reference
  • API pricing
  • CLI
  • MCP
  • Downloads
  • Desktop
  • Badges and embeds
© idapt[email protected]TermsPrivacy PolicyLegal noticeReport content
X (Twitter)

GPT 5.1 Codex vs Claude Sonnet 5

At a glance

Previous-generation coding-optimized model for software engineering.

400K ctx$1.25/$10.00 per M

Anthropic's fifth-generation Sonnet — near-Opus intelligence at Sonnet speed and price.

801M ctx$2.00/$10.00 per M#26/92
Agent Demos
All agent demos

No shared agent demos for these models yet.

AI Output
All AI outputs

No captured outputs for these models yet.

Benchmarks
See rankings
No benchmarks available

This model hasn't been benchmarked yet.

Reasoning
CI 72.7-84.7
CodingInsufficient data
AgenticInsufficient data
Sources:Epoch ECI·Epoch AI·OpenRouter· as of 2026-07-10
Capability
CapabilityECI80.1
Reasoning & Knowledge
Graduate Science90.5%Factual Recall25.0%
Math
Competition Math94.7%
Specs
400K
Context
128K
Max output
Nov 2025
Released
1M
Context
128K
Max output
Jun 2026
Released
Capabilities
Vision
Audio
Reasoning
Vision
Audio
Reasoning
Pricing
Live pricing, shown before you run
Input38%$1.25/M tokens
Output$10.00/M tokens
Cache read37%$0.13/M tokens
Web search$0.01/search
Live pricing, shown before you run
Input$2.00/M tokens
Output$10.00/M tokens
Cache read$0.20/M tokens
Cache write$2.50/M tokens
Web search$0.01/search
Chat with GPT 5.1 CodexGo to model
Chat with Claude Sonnet 5Go to model
Frequently Asked Questions: GPT 5.1 Codex vs Claude Sonnet 5▼

Which is better, GPT 5.1 Codex or Claude Sonnet 5?

▼

Both GPT 5.1 Codex and Claude Sonnet 5 are capable AI models. The best choice depends on your specific use case: consider pricing, context window, speed, and which capabilities (vision, reasoning, audio) you need.

Which is cheaper, GPT 5.1 Codex or Claude Sonnet 5?

▼

GPT 5.1 Codex has a lower blended cost. GPT 5.1 Codex: $1.25 input / $10.00 output. Claude Sonnet 5: $2.00 input / $10.00 output.

Which has a larger context window, GPT 5.1 Codex or Claude Sonnet 5?

▼

Claude Sonnet 5 has a larger context window: GPT 5.1 Codex supports 400K tokens vs Claude Sonnet 5 at 1M tokens.

Do both GPT 5.1 Codex and Claude Sonnet 5 support vision?

▼

Yes, both GPT 5.1 Codex and Claude Sonnet 5 support vision/image input.

What are the key differences between GPT 5.1 Codex and Claude Sonnet 5?

▼

GPT 5.1 Codex and Claude Sonnet 5 have similar overall capabilities. The main differences lie in pricing, context window size, and provider-specific strengths. Use this comparison page to review all metrics side by side.

Which model should I choose for my use case?

▼

If cost is your priority, choose the cheaper option. If you need the highest intelligence for complex tasks, pick the higher-scoring model. For long documents or codebases, choose the larger context window. You can try both GPT 5.1 Codex and Claude Sonnet 5 for free on idapt.app to see which performs better for your specific needs.

Open in App