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. OpenAI Codex Mini vs Grok 4.7
Updated Sep 2026

OpenAI Codex Mini vs Grok 4.7

OpenAI Codex Mini is cheaper than Grok 4.7 at $1.5/M vs $1.6/M input tokens.

Pokémon Battle UI Recreation

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

Loading the build
OpenAI Codex Mini
Loading the build
Grok 4.7

Which answer wins?

Written rounds

2 prompts
  • Five jokes on demand, then count how many were actually different.

    OpenAI Codex Mini: Sure—here are five jokes: I asked the librarian if books about paranoia were available. She whispered, "They're right behind you." Why did the tomato turn red? Because it saw the salad dressing. I bought a boat because it was for sail. Don't trust stairs—they're always up to something.

    Grok 4.7: Here are 5 jokes: Why don’t scientists trust atoms? Because they make up everything. I told my computer I needed a break, and it said “No problem — I’ll go to sleep.” Why did the scarecrow win an award? He was outstanding in his field. Parallel lines have so much in common. It’s a shame they’ll never meet.

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

    OpenAI Codex Mini: [Comedian walks onstage] Hey, everyone! Great to see you all tonight. I'm Jamie—if you thought that intro was enthusiastic, you should've seen me when I realized this place has Wi-Fi. Seriously, though, I love stand-up.

    Grok 4.7: Three minutes. No puns. Just a guy who has lost an argument with a refrigerator. I meal-prepped this week. Which is a lie I tell myself so I can buy six containers and then eat cereal over the sink for four days. Sunday I was a scientist. I labeled everything. “Chicken, Monday.” “Chicken, Tuesday.”

    Every model's answer to this prompt

Price and specs

Not enough votes to call it. On the specs, Grok 4.7 has the edge: bigger model tier, newer, bigger context window.

OpenAI Codex Mini and Grok 4.7 compared across 9 shared prompts
SpecOpenAI Codex MiniGrok 4.7
Input price$1.5/M tokens$1.6/M tokens
Output price$6/M tokens$4.8/M tokens
Context window200K tokens500K tokens
Weights—Closed
Free API (OpenRouter)NoNo
ReleasedMay 2025Sep 2026
At 10M a month$15.00$15.00$16.00$16.00
1M10M100M1B10M tokens

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

Where to run it1 host
OpenAI Codex Mini

No hosts listed on OpenRouter.

Grok 4.71 host
HostInOutContextUptime
  • xAI$2.00 in·$6.00 out·500k·99.9% up

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

Common questions

What is the difference between OpenAI Codex Mini and Grok 4.7?

OpenAI Codex Mini is developed by OpenAI while Grok 4.7 is developed by xAI. OpenAI Codex Mini has a 200K token context window vs Grok 4.7's 500K. You can compare their actual outputs across 9 challenges on Rival to see how they differ in practice.

Which is better, OpenAI Codex Mini or Grok 4.7?

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

How much does OpenAI Codex Mini cost compared to Grok 4.7?

OpenAI Codex Mini costs $1.5/M input tokens and Grok 4.7 costs $1.6/M input tokens. OpenAI Codex Mini is $0.10/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 OpenAI Codex Mini and Grok 4.7 on Rival?

This page shows a side-by-side comparison of OpenAI Codex Mini 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.

More comparisons

Against the newest arrivals

  • OpenAI Codex Mini vs GPT-4 TurboLanded Oct 2026
  • Grok 4.7 vs Step 5 PreviewLanded Oct 2026
  • OpenAI Codex Mini vs Claude Haiku 5.5Landed Oct 2026
  • Grok 4.7 vs Ling 3.1 FlashLanded Oct 2026
  • OpenAI Codex Mini vs Mistral Large 4Landed Oct 2026
  • Grok 4.7 vs GPT-6.1 SolLanded Sep 2026
  • OpenAI Codex Mini vs Claude Sonnet 5.5Landed Sep 2026
  • Grok 4.7 vs Solar Mini 4Landed Sep 2026

Same lab, same size, long tail

  • OpenAI Codex Mini vs GPT-6.1 SolSame lab
  • OpenAI Codex Mini vs GPT-6 Luna ProSame lab
  • Grok 4.7 vs Grok 4.6Same lab
  • Grok 4.7 vs Grok 4.5Same lab
  • OpenAI Codex Mini vs Gemini 3.6 FlashNew provider
  • OpenAI Codex Mini vs Gemini 3.7 FlashNew provider
  • OpenAI Codex Mini vs Gemini 3.8 FlashNew provider
  • Grok 4.7 vs Gemini Pro 1.0Same size

Model pages

  • OpenAI Codex Mini10 outputs, specs and price
  • Grok 4.757 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