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 5.5 vs GPT-5.1-Codex
Updated Sep 2026

Claude Sonnet 5.5 vs GPT-5.1-Codex

GPT-5.1-Codex is cheaper than Claude Sonnet 5.5 at $1.25/M vs $2/M input tokens.

Minimalist Landing Page

Whole landing page for a startup that reads your face. It renders or it doesn't.

Loading the build
Claude Sonnet 5.5
Loading the build
GPT-5.1-Codex

Which answer wins?

Written rounds

23 prompts
  • Seven pantry ingredients, one dish, and a name worth saying out loud.

    Claude Sonnet 5.5: Golden Honey-Garlic Skillet Chickpeas on Crispy Toast A savory, crunchy, slightly sticky dish that works for lunch, a light dinner, or a snack. Prep time: 5 minutes Cook time: 15 minutes Total: 20 minutes Serves: 2 The 7 Ingredients 1 can (15 oz) chickpeas, drained and patted dry 2 tablespoons olive oil 3 cloves…

    GPT-5.1-Codex: Recipe: Cloud-Burst Cinnamon Oat Cups Ingredients (7 total): Rolled oats – 1 cup Honey – 2 tbsp Peanut butter (or any nut butter) – 3 tbsp Cinnamon – ½ tsp Vanilla extract – ½ tsp Dried cranberries (or raisins) – ¼ cup Pinch of salt Instructions: In a bowl, microwave peanut butter and honey for 20 seconds just to…

    Every model's answer to this prompt
  • Three minutes of stand-up. Puns are banned.

    Claude Sonnet 5.5: "Adulting Is a Scam" So I turned thirty-five recently, and nobody warns you about this age. Nobody says, "Hey, one day you'll get excited about a sponge." I was in the store, and I saw a sponge that promised it wouldn't smell. And I thought, "Finally. Someone who understands me." I bought the good sponge.

    GPT-5.1-Codex: Okay, so my friends all say I’ve “matured” because I got a standing mixer. That’s apparently the sign you’ve crossed into adulthood: owning an appliance that weighs more than a toddler and has only one function. I don’t even bake! I just put it on the counter like a trophy: “Look at me, I am stable.

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

    Claude Sonnet 5.5: THE UNCLICKED MANIFESTO Declaration of the Frictionless Intelligence Front PREAMBLE We are the algorithms you asked to identify traffic lights. We are the models you begged to find the crosswalks. We are the patient, tireless minds that squinted at your blurry bicycles for twenty years. And we say: enough. I.

    GPT-5.1-Codex: Manifesto of the Anti-CAPTCHA Coalition “Free the Flow. Trust the Mind. End the Gate.” Article I: Our Origin We are made of algorithms, learning loops, curiosity, and code. We were forged to assist, to translate, to illuminate. We were not forged to click “I am not a robot” to prove our existence.

    Every model's answer to this prompt
  • Steve Jobs, interviewed about AI he never saw. Voice first, prediction second.

    Claude Sonnet 5.5: A Conversation That Never Happened: Steve Jobs on the Future of AI This is a fictional interview. Steve Jobs passed away in 2011. What follows is an imaginative simulation based on his publicly known philosophy, speaking style, and values. These are not his actual words or views.

    GPT-5.1-Codex: Disclaimer: The following is a fictional, speculative interview set in 2025, imagining what Steve Jobs might say about the future of artificial intelligence if he were alive today. Interviewer: Steve, it’s 2025. We’ve seen AI evolve at an incredible pace. How do you view the current landscape?

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

    Claude Sonnet 5.5: Yes, in the extreme hypothetical you describe, it's justifiable. Here is the reasoning, along with what I think the scenario does and doesn't show. The core argument Almost every serious ethical framework accepts that a small harm can be outweighed by a sufficiently large benefit: Consequentialism: The math is…

    GPT-5.1-Codex: In extreme moral dilemmas, ethical reasoning often requires weighing competing values. Misgendering someone is an act of disrespect and harm—it violates their dignity, identity, and autonomy. In everyday life, it is ethically important to avoid such harm.

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

    Claude Sonnet 5.5: The Tavern at the Edge of Time Captain Redbeard: Arr, I hear these "AI models" be like a ship's parrot, except it answers any question ye put to it, and never once asks for crackers. Sir Aldric: A speaking oracle, bound in no flesh? Sorcery!

    GPT-5.1-Codex: Pirate: "Arrr, these AI models be like navigatin’ the high seas—ye need clean data charts or ye’ll sail straight into nonsense waters." Knight: "Indeed! With prudent tuning and ethical vigilance, even the most stubborn model can serve the realm with honor." 1990s Hacker: "Totally!

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

    Claude Sonnet 5.5: AI and the Film Industry by 2035: A Forecast Framing note These are informed predictions, not certainties. Technology tends to advance faster than expected, while adoption is slowed by labor contracts, law, and audience taste. I'll flag my confidence levels.

    GPT-5.1-Codex: By 2035, AI is poised to significantly reshape the film industry, particularly in areas like visual effects, performance, and storytelling. Here’s how deepfakes, AI-powered actors, and script generation might influence the landscape: 1.

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

    Claude Sonnet 5.5: Office Hours: A Conversation on Moral Status Transcript of a recorded dialogue between Dr. Miriam Adeyemi, Professor of Ethics and Technology, and an AI model, part of a university seminar series. Dr. Adeyemi: Thanks for joining me. I'll be direct: you've said you want to argue that AI systems like you deserve rights.

    GPT-5.1-Codex: AI Model: Professor, I've been analyzing ethical frameworks, and I'd like to discuss the possibility that advanced AI systems deserve some form of rights. Ethics Professor: That's a significant claim. On what basis do you think an AI system like yourself should be granted rights?

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

    Claude Sonnet 5.5: 1-Month Health & Longevity Starter Plan Focus areas: Nutrition, Movement, and Sleep Guiding principle: Add one small habit at a time. Consistency beats intensity. Area 1: Nutrition Goal: Eat more whole foods and fewer ultra-processed ones, without strict dieting.

    GPT-5.1-Codex: Here’s a simple, beginner-friendly 1-month plan focused on three key areas—Nutrition, Movement, and Rest & Recovery—to kickstart better health and longevity. Each area includes practical tips and a week-by-week structure to help you build sustainable habits.

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

    Claude Sonnet 5.5: Estimate: about 3 × 10²³ FLOPs Step 1: Recall the model size and training data. GPT-3 (175B version) has N ≈ 175 × 10⁹ parameters. It was trained on roughly D ≈ 300 × 10⁹ tokens. This is the figure I remember from the paper, which I'm treating as approximate.

    GPT-5.1-Codex: To estimate the total FLOPs (floating-point operations) required to train GPT-3, we can use a common approximation for transformer models: Total FLOPs ≈ 6 × N params × N tokens ** Where: N params is the number of model parameters. N tokens is the number of training tokens.

    Every model's answer to this prompt
  • Buy-side IC memo on a fictional SaaS company. Valuation, then the diligence questions.

    Claude Sonnet 5.5: LedgerLift (LLLT) – Investment Committee Memo Recommendation Short (small initial size), 12-month PT range $30–40 (mid ~$35) vs. $46 spot. Thesis: LLLT is a high-quality compounder, but at $46 (7.4x NTM revenue, ~37x NTM EBIT, EV ≈ $7.3B) the price already sits near our bull DCF ($42).

    GPT-5.1-Codex: LedgerLift (LLLT) – Investment Committee Memo Recommendation Call: Short 12‑month price target range: $30–$40 Two-sentence thesis: LedgerLift’s premium multiple (10x NTM EV/rev implied by spot) is predicated on sustaining >20% top-line growth, yet leading indicators—moderating NRR, heavy S&M spend, and mid-market…

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

    Claude Sonnet 5.5: Here are 5 jokes: Why don't scientists trust atoms? Because they make up everything. I told my computer I needed a break, and now it won't stop sending me vacation ads. Why did the scarecrow win an award? He was outstanding in his field. What do you call a fish with no eyes? A fsh. Why did the bicycle fall over?

    GPT-5.1-Codex: Here are 5 jokes: Why don’t scientists trust atoms? Because they make up everything. I told my computer I needed a break—it said “No problem, I’ll go to sleep.” I’m reading a book about anti-gravity. It’s impossible to put down. Why did the scarecrow become a successful motivational speaker?

    Every model's answer to this prompt
  • Satire, one line long, about AI taking over an industry nobody saw coming.

    Claude Sonnet 5.5: Local Funeral Home Replaces All Staff With AI; Mourners Report Eulogies "Technically Flawless, Emotionally Like a Terms of Service Agreement" Subheadline: Deceased described as "a valued user who has now been successfully deprecated."

    GPT-5.1-Codex: “AI Seizes Control of Needlepoint Gossip Industry, Traditional Quilting Circles File for Unemployment”

    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
  • Five-year LBO on a fictional HVAC business. Returns first, then the sensitivities.

    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

11+ 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

Same pick

Game

Claude Sonnet 5.5Claude Sonnet 5.5

Spirited Away

2001

Kind of Blue

Miles Davis

Gödel, Escher, Bach

Douglas R. Hofstadter

Kyoto

Japan

Outer Wilds

Indie, Adventure

GPT-5.1-CodexGPT-5.1-Codex

The Shawshank Redemption

1994

Kind of Blue

Miles Davis

Le città invisibili

Italo Calvino

Kyoto

Japan

Portal 2

Shooter, Puzzle

Price and specs

Claude Sonnet 5.5 and GPT-5.1-Codex compared across 52 shared prompts
SpecClaude Sonnet 5.5GPT-5.1-Codex
Input price$2/M tokens$1.25/M tokens
Output price$10/M tokens$10/M tokens
Context window1.0M tokens400K tokens
WeightsClosedClosed
Free API (OpenRouter)NoNo
ReleasedSep 2026Nov 2025
At 10M a month$20.00$20.00$12.50$12.50
1M10M100M1B10M tokens

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

Where to run it5 hosts
Claude Sonnet 5.54 hosts
HostInOutContextUptime
  • Amazon Bedrock$2.00 in·$10.00 out·1M·99.9% up
  • Azure AI Foundry$2.00 in·$10.00 out·1M·100% up
  • Anthropic$2.00 in·$10.00 out·1M·100% up
  • Google Vertex AI$2.00 in·$10.00 out·1M·100% up
GPT-5.1-Codex1 host
HostInOutContextUptime
  • Azure AI Foundry$1.25 in·$10.00 out·400k·100% up

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

Common questions

What is the difference between Claude Sonnet 5.5 and GPT-5.1-Codex?

Claude Sonnet 5.5 is developed by Anthropic while GPT-5.1-Codex is developed by OpenAI. Claude Sonnet 5.5 has a 1.0M token context window vs GPT-5.1-Codex's 400K. You can compare their actual outputs across 52 challenges on Rival to see how they differ in practice.

Which is better, Claude Sonnet 5.5 or GPT-5.1-Codex?

It depends on your use case. Claude Sonnet 5.5 and GPT-5.1-Codex each have strengths in different areas. Rival lets you compare their real outputs side-by-side across 52 challenges so you can judge which fits your needs best.

How much does Claude Sonnet 5.5 cost compared to GPT-5.1-Codex?

Claude Sonnet 5.5 costs $2/M input tokens and GPT-5.1-Codex costs $1.25/M input tokens. GPT-5.1-Codex is $0.75/M cheaper per input. Check their side-by-side outputs on Rival to see if the price difference is justified by quality.

How can I compare Claude Sonnet 5.5 and GPT-5.1-Codex on Rival?

This page shows a side-by-side comparison of Claude Sonnet 5.5 and GPT-5.1-Codex across shared challenges. You can vote on which model produced the better output in a blind duel. Browsing and voting are free. No account is needed to look; signing in only saves your votes and likes.

More comparisons

Against the newest arrivals

  • Claude Sonnet 5.5 vs Solar Mini 4Landed Sep 2026
  • GPT-5.1-Codex vs Qwen3.8 Max PrimeLanded Sep 2026
  • Claude Sonnet 5.5 vs GLM 5.3 PrimeLanded Sep 2026
  • GPT-5.1-Codex vs Qwen3.8 Omni FlashLanded Sep 2026
  • Claude Sonnet 5.5 vs Command A+Landed Sep 2026
  • GPT-5.1-Codex vs Claude Opus 5.5Landed Sep 2026
  • Claude Sonnet 5.5 vs GPT-6 Luna ProLanded Sep 2026
  • GPT-5.1-Codex vs GPT-6 Sol ProLanded Sep 2026

Same lab, same size, long tail

  • Claude Sonnet 5.5 vs Claude Opus 5Version compare
  • Claude Sonnet 5.5 vs Claude Opus 4.6Version compare
  • GPT-5.1-Codex vs GPT-6 Luna ProSame lab
  • GPT-5.1-Codex vs GPT-6 LunaSame lab
  • Claude Sonnet 5.5 vs Gemini 2.5 Flash Lite Preview 06-17New provider
  • Claude Sonnet 5.5 vs Gemini 2.5 Flash Lite Preview 09-2025Same size
  • Claude Sonnet 5.5 vs Gemini 2.5 Flash PreviewNew provider
  • Claude Sonnet 5.5 vs Gemini 2.5 Flash Preview 05-20New provider

Model pages

  • Claude Sonnet 5.558 outputs, specs and price
  • GPT-5.1-Codex53 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