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. /
  3. Compare
  4. /
  5. GPT-5 CodexvsGrok 4.7
Updated Sep 2026

GPT-5 CodexvsGrok 4.7

Grok 4.7 is the newer model, released after GPT-5 Codex.

GPT-5 Codex and Grok 4.7 compared across 10 shared prompts
SpecGPT-5 CodexGrok 4.7
Input price—$1.6/M tokens
Output price—$4.8/M tokens
Context window—500K tokens
Weights—Closed
Free API (OpenRouter)NoNo
ReleasedSep 2025Sep 2026
Side by side

Same prompt, both answers

Opening lines from 2 of the 10 prompts both answered. Formatting stripped, words untouched.

Simple 7-Ingredient Recipe

Create a simple recipe for a delicious dish (sweet or savory) using only 7 common pantry ingredients. Include a creative name for the dish…

GPT-5 Codex179 words
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.
Read the full answer
Grok 4.7129 words
Pantry Gold Honey Biscuits A sweet, buttery, slightly salty biscuit that tastes like it took more effort than it did. Ingredients (7) 2 cups all-purpose flour 1 tbsp baking powder ½ tsp salt ¼ cup sugar ½ cup butter (cold) ¾ cup milk 2 tbsp honey Time: about 10 minutes prep, 12–15 minutes bake Instructions Heat the…
Read the full answer

Beginner's Longevity Plan

Outline a simple, actionable 1-month plan for someone starting their journey towards better health and longevity. Focus on 3 key areas…

GPT-5 Codex569 words
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.
Read the full answer
Grok 4.7442 words
1-month beginner plan for better health and longevity Focus on three foundations: nutrition, movement, and sleep. Aim for consistency over perfection. If you have a medical condition, check with a clinician before big changes. Week-by-week rhythm Week 1: Build awareness and one easy habit in each area.
Read the full answer
Our Verdict
GPT-5 Codex
GPT-5 Codex
Grok 4.7
Grok 4.7

Not enough votes to call it. On the specs, nothing separates them.

Too close to call
API pricing

Cost per 1M tokens

GPT-5 Codex
Input
—
Output
—
Grok 4.7
Input
$1.60
Output
$4.80
Where to run it

1 host

GPT-5 Codex

No hosts listed on OpenRouter.

Grok 4.71 host
HostInOutContextUptime
xAI$1.60 in·$4.80 out·500k·99.1% up

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

Research

What we learned reading every model

FAQ

Common questions

GPT-5 Codex is developed by OpenAI while Grok 4.7 is developed by xAI. You can compare their actual outputs across 10 challenges on Rival to see how they differ in practice.

It depends on your use case. GPT-5 Codex and Grok 4.7 each have strengths in different areas. Rival lets you compare their real outputs side-by-side across 10 challenges so you can judge which fits your needs best.

This page shows a side-by-side comparison of GPT-5 Codex and Grok 4.7 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.

Keep exploring

More comparisons

Against the newest arrivals

GPT-5 Codex logoDeepSeek V4 Flash Vision Exp logo
GPT-5 Codex vs DeepSeek V4 Flash Vision ExpLanded Sep 2026
Grok 4.7 logoSolar Pro 4 logo
Grok 4.7 vs Solar Pro 4Landed Sep 2026
GPT-5 Codex logoHy3 logo
GPT-5 Codex vs Hy3Landed Sep 2026
Grok 4.7 logoQwen3.7 Flash logo
Grok 4.7 vs Qwen3.7 FlashLanded Sep 2026
GPT-5 Codex logoLing 3.0 Flash logo
GPT-5 Codex vs Ling 3.0 FlashLanded Sep 2026
Grok 4.7 logoMuse Glimmer 30B logo
Grok 4.7 vs Muse Glimmer 30BLanded Sep 2026
GPT-5 Codex logoGLM 5.3 logo
GPT-5 Codex vs GLM 5.3Landed Sep 2026
Grok 4.7 logoTernary Bonsai 2 27B logo
Grok 4.7 vs Ternary Bonsai 2 27BLanded Sep 2026

Same lab, same size, long tail

GPT-5 Codex logoGPT-6 Astra Pro logo
GPT-5 Codex vs GPT-6 Astra ProSame lab
GPT-5 Codex logoGPT-6 Astra logo
GPT-5 Codex vs GPT-6 AstraSame lab
Grok 4.7 logoGrok 4.6 logo
Grok 4.7 vs Grok 4.6Same lab
Grok 4.7 logoGrok 4.5 logo
Grok 4.7 vs Grok 4.5Same lab
Grok 4.7 logoClaude Haiku 4.5 logo
Grok 4.7 vs Claude Haiku 4.5Same size
Grok 4.7 logoClaude Opus 4 logo
Grok 4.7 vs Claude Opus 4New provider
Grok 4.7 logoClaude Opus 4.1 logo
Grok 4.7 vs Claude Opus 4.1New provider
Grok 4.7 logoClaude Opus 4.5 logo
Grok 4.7 vs Claude Opus 4.5New provider

Model pages

GPT-5 Codex logo
GPT-5 Codex50 outputs, specs and price
Grok 4.7 logo
Grok 4.710 outputs, specs and price
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