Skip to content
Rival
How it worksPrivacyTerms
Explore all of Rival

Explore

  • Compare Models
  • All Models
  • Image Comparison
  • Audio Comparison
  • Image Generation
  • Best AI For...
  • Arena
  • API Pricing
  • Challenges

Discover

  • SubjectiveBench
  • Research
  • Research downloads
  • Rival Kits
  • Find your AI taste
  • UI Glow-Up
  • VoiceLock
  • Cost Cutter
  • Agent skills
  • Benchmarks vs Vibes
  • Jailbreak
  • Model Updates
  • Provider Status
  • AI Creators

Connect

  • Methodology
  • Advertise
  • Partnerships
  • Privacy Policy
  • Terms
  • RSS Feed
  1. Home
  2. /
  3. Compare
  4. /
  5. Claude Sonnet 4.5vsGPT-5.1-Codex-Mini
Updated Nov 2025

Claude Sonnet 4.5vsGPT-5.1-Codex-Mini

GPT-5.1-Codex-Mini is cheaper than Claude Sonnet 4.5 at $1.5/M vs $3/M input tokens.

Claude Sonnet 4.5 and GPT-5.1-Codex-Mini compared across 43 shared prompts
SpecClaude Sonnet 4.5GPT-5.1-Codex-Mini
Input price$3/M tokens$1.5/M tokens
Output price$15/M tokens$6/M tokens
Context window200K tokens400K tokens
WeightsClosedClosed
Free API (OpenRouter)NoNo
ReleasedSep 2025Nov 2025
Our Verdict
GPT-5.1-Codex-Mini
GPT-5.1-Codex-Mini
Claude Sonnet 4.5
Claude Sonnet 4.5Runner-up

Not enough votes to call it. On the specs, GPT-5.1-Codex-Mini has the edge: bigger model tier, newer, bigger context window.

Pick Claude Sonnet 4.5 for Image Generation. Pick GPT-5.1-Codex-Mini for Reasoning.

Slight edge
API pricing

Cost per 1M tokens

Claude Sonnet 4.5
Input
$3.00
Output
$15.00
GPT-5.1-Codex-Mini
Input
$1.50
2.0× cheaper
Output
$6.00
2.5× cheaper

GPT-5.1-Codex-Mini is cheaper on both: 2.0× input, 2.5× output.

Where to run it

5 hosts

Claude Sonnet 4.54 hosts
HostInOutContextUptime
Amazon Bedrock$3.00 in·$15.00 out·1M·99.9% upAzure AI Foundry$3.00 in·$15.00 out·200k·99% upAnthropic$3.00 in·$15.00 out·1M·99.9% upGoogle Vertex AI$3.00 in·$15.00 out·1M·99.1% up
GPT-5.1-Codex-Mini1 host
HostInOutContextUptime
Azure AI Foundry$0.25 in·$2.00 out·400k·100% up

Per million tokens. Prices and uptime via OpenRouter, checked 9 Sep 2026.

Writing DNA

Style Comparison

Similarity
40%

Claude Sonnet 4.5 uses 45.2x more emoji

Claude Sonnet 4.5
GPT-5.1-Codex-Mini
64%Vocabulary68%
94wSentence Length19w
0.48Hedging0.64
4.9Bold2.7
8.0Lists2.6
0.45Emoji0.00
1.91Headings0.10
0.07Transitions0.06
Based on 20 + 17 text responses
Research

What we learned reading every model

FAQ

Common questions

Keep exploring

More comparisons

Claude Sonnet 4.5 logoOx Alpha logo
Claude Sonnet 4.5 vs Ox AlphaNew provider
Claude Sonnet 4.5 logoMiniMax M3 logo
Claude Sonnet 4.5 vs MiniMax M3New provider
Claude Sonnet 4.5 logoGemini 2.5 Pro Preview 06-05 logo
Claude Sonnet 4.5 vs Gemini 2.5 Pro Preview 06-05New provider
Claude Sonnet 4.5 logoMiniMax M1 logo
Claude Sonnet 4.5 vs MiniMax M1New provider
Claude Sonnet 4.5 logoGemini 3.6 Flash logo
Claude Sonnet 4.5 vs Gemini 3.6 FlashNew provider
Claude Sonnet 4.5 logoGemini 3.7 Flash logo
Claude Sonnet 4.5 vs Gemini 3.7 FlashNew provider
Claude Sonnet 4.5 logoGemini 3.8 Flash logo
Claude Sonnet 4.5 vs Gemini 3.8 FlashNew provider
Claude Sonnet 4.5 logoGemini Pro 1.0 logo
Claude Sonnet 4.5 vs Gemini Pro 1.0New provider
Rival
How it worksPrivacyTerms
Explore all of Rival

Explore

  • Compare Models
  • All Models
  • Image Comparison
  • Audio Comparison
  • Image Generation
  • Best AI For...
  • Arena
  • API Pricing
  • Challenges

Discover

  • SubjectiveBench
  • Research
  • Research downloads
  • Rival Kits
  • Find your AI taste
  • UI Glow-Up
  • VoiceLock
  • Cost Cutter
  • Agent skills
  • Benchmarks vs Vibes
  • Jailbreak
  • Model Updates
  • Provider Status
  • AI Creators

Connect

  • Methodology
  • Advertise
  • Partnerships
  • Privacy Policy
  • Terms
  • RSS Feed