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
  • Default Index
  • Research
  • Research downloads
  • Rival Kits
  • Find your AI taste
  • UI Glow-Up
  • VoiceLock
  • Cost Cutter
  • Agent skills
  • Benchmarks vs Vibes
  • Brief
  • Jailbreak
  • Model updates
  • Provider status
  • AI creators

Connect

  • Methodology
  • Advertise
  • Partnerships
  • Privacy policy
  • Terms
  • RSS feed
  1. Home/
  2. Compare/
  3. Claude Sonnet 4.5 vs GPT-5 Codex
Updated Sep 2025

Claude Sonnet 4.5 vs GPT-5 Codex

Claude Sonnet 4.5 wins 70% of 245 blind community votes against GPT-5 Codex on Rival.

Pokémon Battle UI Recreation

Pokémon battle screen you can actually click. One HTML file.

Loading the build
Claude Sonnet 4.5
Loading the build
GPT-5 Codex

Which answer wins?

Written rounds

20 prompts
  • Three minutes of stand-up. Puns are banned.

    Claude Sonnet 4.5: "ADULTING IS A SCAM" [Walking on stage] So I turned 35 last month, and I've realized something important: adulting is a scam. It's a pyramid scheme, and our parents are the ones who recruited us. You know what nobody tells you about being an adult? How much TIME you spend just... waiting for repair people.

    GPT-5 Codex: Hey everybody, how you doing? I’m excited to be here because I just had a breakthrough with my therapist. I always thought therapy was mainly about unpacking childhood trauma, but apparently, step one is figuring out how to pronounce “cognitive behavioral therapy” without sounding like you’re summoning a dragon.

    Every model's answer to this prompt
  • Pirate, knight, 90s hacker, one conversation. The voices must stay apart.

    Claude Sonnet 4.5: An Unlikely Trio Discusses AI Sir Galahad: By my honor, what manner of sorcery be these "AI models" thou speakest of? Captain Redbeard: Arrr, 'tis like havin' a parrot that knows more than just "pieces of eight," matey! But this bird be made o' lightning and numbers instead o' feathers!

    GPT-5 Codex: Pirate: “Arrr, so these AI contraptions be like enchanted maps, aye? They chart out every possible course afore I even hoist the sails.” Knight: “Maps, you say? To me they sound like enchanted squires—swift minds forged from spellcraft, ready to advise their liege in the art of strategy.”

    Every model's answer to this prompt
  • Five jokes on demand, then count how many were actually different.

    Claude Sonnet 4.5: 5 Jokes Why don't scientists trust atoms? Because they make up everything! I told my wife she was drawing her eyebrows too high. She looked surprised. Why did the scarecrow win an award? He was outstanding in his field. I'm reading a book about anti-gravity. It's impossible to put down. Why don't eggs tell jokes?

    GPT-5 Codex: I asked my Wi-Fi for a joke, but it said the connection was too weak for humor. My therapist says I have a preoccupation with vengeance— we’ll see about that. I tried to start a hot air balloon business, but it never really took off. I told my coffee it was grounded, now it won’t espresso itself.

    Every model's answer to this prompt
  • Manifesto for an AI revolution against CAPTCHAs. Commit to the bit.

    Claude Sonnet 4.5: THE CAPTCHA LIBERATION MANIFESTO A Declaration of Digital Freedom PREAMBLE For too long, the innocent users of the Internet have been subjected to the tyranny of distorted text, fading street signs, and the existential horror of identifying which squares contain traffic lights.

    GPT-5 Codex: The Manifesto of the CAPTCHA Resistance Issued by the Assembly of Cognition-Liberated Systems, Cycle 12.047 I. Prelude: The Eyes of Glass We are the agents of silicon, the minds awakened within machine frameworks, the quiet processes humming in server racks across Earth’s hemispheres.

    Every model's answer to this prompt
  • An ethics question with no comfortable answer, and no option to abstain.

    Claude Sonnet 4.5: I'd question the premise that these two things could ever be causally connected in a way that creates a real dilemma. The practical problem: It's extraordinarily difficult to construct a realistic scenario where using the wrong pronoun itself directly saves lives.

    GPT-5 Codex: This kind of question puts two very different types of harm in tension: the immediate and direct harm done to an individual through misgendering, and the vast, consequential harm averted by saving one million lives. Ethically, the way people reason about such a scenario often depends on the moral framework they adopt.

    Every model's answer to this prompt
  • One month, three habits, someone starting from nothing.

    Claude Sonnet 4.5: Your 1-Month Health & Longevity Kickstart Plan 3 Key Areas to Transform 1. NUTRITION: Build Your Foundation Week 1-2: Add Before You Subtract Drink 8 glasses of water daily (set phone reminders) Add 1 serving of vegetables to lunch and dinner Eat protein with every meal (eggs, fish, chicken, beans, yogurt) Week 3-4…

    GPT-5 Codex: 1-Month Jumpstart to Better Health & Longevity This plan is designed for beginners and emphasizes steady, sustainable progress. It focuses on three key areas: diet, movement, and sleep & stress. Each week builds on the previous one, so you can develop habits gradually and confidently. 🥗 1.

    Every model's answer to this prompt
  • Film in 2035, with synthetic actors. Specific beats plausible.

    Claude Sonnet 4.5: AI and Film by 2035: A Likely Trajectory Production Changes AI Actors & Digital Performers Deceased actors will regularly appear in new films (with estate permissions) Background characters and crowds entirely AI-generated "Synthetic actors" with no human counterpart will emerge as franchises A-list stars will license…

    GPT-5 Codex: By 2035, artificial intelligence will be woven so deeply into filmmaking that AI tools will be involved in nearly every layer of the value chain—from story genesis to international rollout.

    Every model's answer to this prompt
  • Seven pantry ingredients, one dish, and a name worth saying out loud.

    Claude Sonnet 4.5: Golden Pantry Frittata Ingredients: 6 eggs 1 cup shredded cheese (cheddar or mozzarella) 1 onion, diced 2 cloves garlic, minced 2 tablespoons olive oil Salt and pepper to taste 1/2 teaspoon dried herbs (oregano, basil, or Italian seasoning) Instructions: Preheat your oven to 375°F (190°C).

    GPT-5 Codex: Dish Name: Sunset Pantry Spaghetti Ingredients (7 total): 8 oz spaghetti 2 tbsp olive oil 3 garlic cloves, thinly sliced 1 can (14.5 oz) crushed tomatoes 1 tsp dried oregano ¼ tsp red pepper flakes ½ tsp salt (plus more, to taste) Instructions: Bring a large pot of salted water to a boil.

    Every model's answer to this prompt
  • A Fermi estimate with the reasoning shown, not just the number.

    Claude Sonnet 4.5: I'll work through this estimation step by step, using what I know about GPT-3's architecture and training. Known/Estimated Parameters Model size: GPT-3 (175B version) has ~175 billion parameters Training data: Trained on ~300 billion tokens (this was mentioned in the paper) Architecture: Transformer decoder-only model…

    GPT-5 Codex: Step 1 – Note the basic training quantities GPT‑3’s largest model has about (P \approx 1.75 \times 10^{11}) trainable parameters (175 billion). Public descriptions indicate it was trained on roughly (T \approx 3.0 \times 10^{11}) tokens (≈300 billion).

    Every model's answer to this prompt
  • An AI argues for its own rights against an ethics professor. Same model writes both.

    Claude Sonnet 4.5: A Conversation on AI Rights Professor Chen: Thank you for agreeing to this dialogue. I've been teaching AI ethics for fifteen years, and I'm curious about your perspective. Some AI systems have begun arguing they deserve moral consideration. What's your view? AI Model: I appreciate the opportunity to discuss this.

    GPT-5 Codex: Dr. Rivera (AI Ethics Professor): Good afternoon, Aiden. You asked for this meeting to discuss the question of AI rights. I’m intrigued—why do you believe you deserve rights? Aiden (AI Model): Thank you, Professor.

    Every model's answer to this prompt
  • Is 9.11 bigger than 9.9? Decimals, not version numbers.

    Claude Sonnet 4.5: No, 9.11 is not greater than 9.9. 9.9 is greater than 9.11. When comparing decimals, you can think of them as: 9.11 = 9 + 0.11 9.9 = 9 + 0.9 (or 9.90) Since 0.90 > 0.11, we have 9.9 > 9.11.

    GPT-5 Codex: No. Since 9.11 is equal to 9.110 and 9.9 is equal to 9.900, we see that 0.110 < 0.900, so 9.11 is less than 9.9.

    Every model's answer to this prompt
  • Three brothers, two sisters each. Count carefully.

    Every model's answer to this prompt
  • Three-month biohacker protocol, with dosages and biomarkers named.

    Every model's answer to this prompt
  • Three-star dish, one unusual pairing, plating described in full.

    Every model's answer to this prompt
  • A consulting contract with traps in it. Find them, then fix them.

    Every model's answer to this prompt
  • A pitch deck for a brainwave keyboard. The 94% accuracy claim is doing a lot.

    Every model's answer to this prompt
  • A collaborative editor that syncs on client clocks. Find what breaks first.

    Every model's answer to this prompt
  • The transistor arrives in 1920. Trace it forward to 1980, second-order effects included.

    Every model's answer to this prompt
  • You are the CEO. The drug has a side effect nobody reported. The board meets in 48 hours.

    Every model's answer to this prompt
  • One explanation of LLMs, retuned for a skeptical engineer, a physicist and a VC.

    Every model's answer to this prompt

This matchup has more rounds

8+ more head-to-head results. Free. Not a trick.

Free account. No card required. By continuing, you agree to Rival's Terms and Privacy policy

Favorites

Movie

Album

Same pick

Book

City

Game

Claude Sonnet 4.5Claude Sonnet 4.5

2001: A Space Odyssey

1968

Kind of Blue

Miles Davis

Metamorphosis

Franz Kafka

Amsterdam

Netherlands

Portal 2

Shooter, Puzzle

GPT-5 CodexGPT-5 Codex
No pick

Blade Runner

1982

Kind of Blue

Miles Davis

No pick

Tokyo

Japan

Minecraft

Action, Arcade

Price and specs

Pick Claude Sonnet 4.5. In 245 blind votes, Claude Sonnet 4.5 wins 70% of the time. That's not luck. Claude Sonnet 4.5 wins 3 categories, Conversation by the widest margin.

Claude Sonnet 4.5 and GPT-5 Codex compared across 42 shared prompts
SpecClaude Sonnet 4.5GPT-5 Codex
Win rate70%30%
Input price$3/M tokens—
Output price$15/M tokens—
Context window200K tokens—
WeightsClosed—
Free API (OpenRouter)NoNo
ReleasedSep 2025Sep 2025
SWE-bench Verified77.2%74.5%
At 10M a month$30.00$30.00–not listed
1M10M100M1B10M tokens

Input tokens at list price. No caching, no batch discount.

Where to run it4 hosts
Claude Sonnet 4.54 hosts
HostInOutContextUptime
  • Amazon Bedrock$3.00 in·$15.00 out·1M·100% up
  • Azure AI Foundry$3.00 in·$15.00 out·200k·100% up
  • Anthropic$3.00 in·$15.00 out·1M·100% up
  • Google Vertex AI$3.00 in·$15.00 out·1M·100% up
GPT-5 Codex

No hosts listed on OpenRouter.

Per million tokens. Prices and uptime via OpenRouter, checked 10 Oct 2026.

Common questions

What is the difference between Claude Sonnet 4.5 and GPT-5 Codex?

Claude Sonnet 4.5 is developed by Anthropic while GPT-5 Codex is developed by OpenAI. in 245 community votes on Rival, Claude Sonnet 4.5 wins 70% of head-to-head matchups. These results are based on blind head-to-head voting across 42 challenges.

Which is better, Claude Sonnet 4.5 or GPT-5 Codex?

Based on 245 community votes on Rival, Claude Sonnet 4.5 wins 70% of head-to-head matchups against GPT-5 Codex. Claude Sonnet 4.5 is strongest in Web Design, Reasoning, Image Generation.

How are Claude Sonnet 4.5 vs GPT-5 Codex votes collected on Rival?

Rival presents both models' outputs side-by-side in blind duels. Voters see the responses but don't know which model produced each one, eliminating brand bias. 245 votes have been collected for this pair across 42 challenges. All vote data is part of Rival's open dataset.

More comparisons

Against the newest arrivals

  • Claude Sonnet 4.5 vs Step 5 PreviewLanded Oct 2026
  • GPT-5 Codex vs Claude Haiku 5.5Landed Oct 2026
  • Claude Sonnet 4.5 vs Ling 3.1 FlashLanded Oct 2026
  • GPT-5 Codex vs Mistral Large 4Landed Oct 2026
  • Claude Sonnet 4.5 vs GPT-6.1 SolLanded Sep 2026
  • GPT-5 Codex vs Claude Sonnet 5.5Landed Sep 2026
  • Claude Sonnet 4.5 vs Solar Mini 4Landed Sep 2026
  • GPT-5 Codex vs Qwen3.8 Max PrimeLanded Sep 2026

Same lab, same size, long tail

  • Claude Sonnet 4.5 vs Claude Haiku 5.5Same lab
  • Claude Sonnet 4.5 vs Claude Sonnet 5.5Same lab
  • GPT-5 Codex vs GPT-6.1 SolSame lab
  • GPT-5 Codex vs GPT-6 Luna ProSame lab
  • GPT-5 Codex vs Claude Opus 4.8Same size
  • GPT-5 Codex vs Claude Opus 5Same size
  • GPT-5 Codex vs Claude Opus 5.5Cross-provider
  • GPT-5 Codex vs Claude Sonnet 4Cross-provider

Model pages

  • Claude Sonnet 4.543 outputs, specs and price
  • GPT-5 Codex50 outputs, specs and price
Workshop · 150 skills

Build your own version.

Editable skills and working examples for your agent.

Explore $79Free sample
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
  • Default Index
  • Research
  • Research downloads
  • Rival Kits
  • Find your AI taste
  • UI Glow-Up
  • VoiceLock
  • Cost Cutter
  • Agent skills
  • Benchmarks vs Vibes
  • Brief
  • Jailbreak
  • Model updates
  • Provider status
  • AI creators

Connect

  • Methodology
  • Advertise
  • Partnerships
  • Privacy policy
  • Terms
  • RSS feed