GPT-5 Codex is the newer model, released after Claude 2.
Catch the falling object. Paddle at the bottom, score at the top, one file.
Which answer wins?
Seven pantry ingredients, one dish, and a name worth saying out loud.
Claude 2: Here is a 7-ingredient recipe for a sweet dish I'll call "Cinnamon Apple Surprise": Cinnamon Apple Surprise Ingredients: 3 apples, cored and sliced 1⁄4 cup brown sugar 1⁄4 cup all-purpose flour 1 tsp ground cinnamon 1⁄4 tsp nutmeg 2 tbsp butter, melted 1 refrigerated pie crust Instructions: Preheat oven to 375°F.
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.
One month, three habits, someone starting from nothing.
Claude 2: Here is a 1-month beginner health and longevity plan focused on diet, exercise, and sleep: Diet: Eliminate sugary drinks and limit sweets. Replace with water and fruits. Eat more veggies. Aim for 1-2 cups with each meal. Focus on dark leafy greens, broccoli, carrots. Increase fiber intake.
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.
Not enough votes to call it. On the specs, GPT-5 Codex has the edge: bigger model tier, newer.
| Spec | ||
|---|---|---|
| Input price | $11.02/M tokens | — |
| Output price | $32.68/M tokens | — |
| Context window | 100K tokens | — |
| Free API (OpenRouter) | No | No |
| Released | Jun 2023 | Sep 2025 |
| At 10M a month | $110 | not listed |
Input tokens at list price. No caching, no batch discount.
Claude 2 is developed by Anthropic while GPT-5 Codex is developed by OpenAI. You can compare their actual outputs across 5 challenges on Rival to see how they differ in practice.
It depends on your use case. Claude 2 and GPT-5 Codex each have strengths in different areas. Rival lets you compare their real outputs side-by-side across 5 challenges so you can judge which fits your needs best.
This page shows a side-by-side comparison of Claude 2 and GPT-5 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.