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 Gemma 4 26B A4B
Updated Apr 2026

OpenAI Codex Mini vs Gemma 4 26B A4B

Gemma 4 26B A4B is cheaper than OpenAI Codex Mini at $0.13/M vs $1.5/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
Gemma 4 26B A4B

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.

    Gemma 4 26B A4B: Here are 5 jokes: Why don't scientists trust atoms? Because they make up everything! What do you call a fake noodle? An impasta! Why did the scarecrow win an award? Because he was outstanding in his field! Parallel lines have so much in common. It’s a shame they’ll never meet. Why don't scientists trust atoms?

    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.

    Gemma 4 26B A4B: (The comedian walks onto the stage, adjusts the mic, and looks at the audience with a slightly exhausted expression.) “How’s it going? Good? Good. I’m doing okay. I’m at that age now where my body has started making sound effects. You know what I mean? I don’t just sit down anymore. I announce my arrival.

    Every model's answer to this prompt

Price and specs

Not enough votes to call it. On the specs, Gemma 4 26B A4B has the edge: bigger model tier, newer. Gemma 4 26B A4B costs 15x less per token.

OpenAI Codex Mini and Gemma 4 26B A4B compared across 10 shared prompts
SpecOpenAI Codex MiniGemma 4 26B A4B
Input price$1.5/M tokens$0.13/M tokens
Output price$6/M tokens$0.4/M tokens
Context window200K tokens262K tokens
Weights—Open
Free API (OpenRouter)NoYes (1 provider)
ReleasedMay 2025Apr 2026
At 10M a month$15.00$15.00$1.30$1.30
1M10M100M1B10M tokens

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

Where to run it13 hosts, cheapest first
OpenAI Codex Mini

No hosts listed on OpenRouter.

Gemma 4 26B A4B13 hosts
HostInOutContextUptime
  • DDarkbloom$0.04 in·$0.22 out·131k·100% up
  • Iio.netbf16$0.05 in·$0.21 out·262k·100% up
  • DDekaLLMbf16$0.06 in·$0.33 out·262k·100% up
  • NNextBitbf16$0.07 in·$0.23 out·262k·100% up
  • DDeepInfrafp8$0.07 in·$0.34 out·262k·98.7% up
  • MMakora$0.08 in·$0.32 out·256k·100% up
7 more hostsFewer hosts
  • Cloudflare Workers AI$0.10 in·$0.30 out·256k·100% up
  • CCoreWeavebf16$0.10 in·$0.30 out·262k·99.8% up
  • NNovitabf16$0.13 in·$0.40 out·262k·99.8% up
  • PParasailbf16$0.13 in·$0.40 out·262k·99.8% up
  • SSiliconFlowfp8$0.14 in·$0.40 out·262k·97.2% up
  • VVenicebf16DegradedDegraded on OpenRouter when checked, 10 Oct 2026$0.13 in·$0.40 out·256k·99.4% up
  • Google Vertex AIDegradedDegraded on OpenRouter when checked, 10 Oct 2026$0.15 in·$0.60 out·262k·93.3% up

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

Common questions

What is the difference between OpenAI Codex Mini and Gemma 4 26B A4B?

OpenAI Codex Mini is developed by OpenAI while Gemma 4 26B A4B is developed by Google AI. OpenAI Codex Mini has a 200K token context window vs Gemma 4 26B A4B's 262K. You can compare their actual outputs across 10 challenges on Rival to see how they differ in practice.

Which is better, OpenAI Codex Mini or Gemma 4 26B A4B?

It depends on your use case. OpenAI Codex Mini and Gemma 4 26B A4B 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.

How much does OpenAI Codex Mini cost compared to Gemma 4 26B A4B?

OpenAI Codex Mini costs $1.5/M input tokens and Gemma 4 26B A4B costs $0.13/M input tokens. Gemma 4 26B A4B is $1.37/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 Gemma 4 26B A4B on Rival?

This page shows a side-by-side comparison of OpenAI Codex Mini and Gemma 4 26B A4B 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 Step 5 PreviewLanded Oct 2026
  • Gemma 4 26B A4B vs Claude Haiku 5.5Landed Oct 2026
  • OpenAI Codex Mini vs Ling 3.1 FlashLanded Oct 2026
  • Gemma 4 26B A4B vs Mistral Large 4Landed Oct 2026
  • OpenAI Codex Mini vs GPT-6.1 SolLanded Sep 2026
  • Gemma 4 26B A4B vs Claude Sonnet 5.5Landed Sep 2026
  • OpenAI Codex Mini vs Solar Mini 4Landed Sep 2026
  • Gemma 4 26B A4B vs Qwen3.8 Max PrimeLanded Sep 2026

Same lab, same size, long tail

  • OpenAI Codex Mini vs GPT-6 Luna ProSame lab
  • OpenAI Codex Mini vs GPT-6 Sol ProSame lab
  • Gemma 4 26B A4B vs Gemini 3.8 FlashSame lab
  • Gemma 4 26B A4B vs Gemini 3.7 FlashSame lab
  • Gemma 4 26B A4B vs MercuryNew provider
  • OpenAI Codex Mini vs Mercury 2Same size
  • OpenAI Codex Mini vs Mercury 2.5New provider
  • OpenAI Codex Mini vs Mercury 2.5 PreviewSame size

Model pages

  • OpenAI Codex Mini10 outputs, specs and price
  • Gemma 4 26B A4B58 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