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 Hy4 Preview
Updated Aug 2026

OpenAI Codex Mini vs Hy4 Preview

Hy4 Preview is cheaper than OpenAI Codex Mini at $0.834/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
Hy4 Preview

Which answer wins?

Written rounds

2 prompts
  • 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.

    Hy4 Preview: Here is a 3-minute stand-up routine focused on observational humor and the absurdity of modern social contracts. Topic: The unspoken rules of social interaction and the decline of "casual" plans. Tone: Conversational, slightly exasperated, energetic. (Walk up to mic, adjust height, take a breath.

    Every model's answer to this prompt
  • 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.

    Hy4 Preview: Here are 5 jokes: Why don’t scientists trust atoms? Because they make up everything! What do you call a fake stone? A sham-rock! Why did the scarecrow win an award? Because he was outstanding in his field! What do you call a fake stone? A sham-rock! Why did the math book look so sad? Because it had too many problems.

    Every model's answer to this prompt

Price and specs

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

OpenAI Codex Mini and Hy4 Preview compared across 10 shared prompts
SpecOpenAI Codex MiniHy4 Preview
Input price$1.5/M tokens$0.834/M tokens
Output price$6/M tokens$2.501/M tokens
Context window200K tokens1.0M tokens
ParametersNot disclosed770B total / 49B active
Weights—Open
Free API (OpenRouter)NoNo
ReleasedMay 2025Aug 2026
At 10M a month$15.00$15.00$8.34$8.34
1M10M100M1B10M tokens

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

Where to run it5 hosts, cheapest first
OpenAI Codex Mini

No hosts listed on OpenRouter.

Hy4 Preview5 hosts
HostInOutContextUptime
  • Tencentfp8$0.75 in·$2.25 out·1M·100% up
  • MMakorafp8$0.83 in·$2.50 out·131k·100% up
  • DDeepInfrafp8$0.83 in·$2.50 out·1M·100% up
  • NNovitafp8$0.83 in·$2.50 out·1M·97.2% up
  • SSiliconFlowfp8$0.83 in·$2.50 out·1M·99.1% up

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

Common questions

What is the difference between OpenAI Codex Mini and Hy4 Preview?

OpenAI Codex Mini is developed by OpenAI while Hy4 Preview is developed by Tencent. OpenAI Codex Mini has a 200K token context window vs Hy4 Preview's 1.0M. 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 Hy4 Preview?

It depends on your use case. OpenAI Codex Mini and Hy4 Preview 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 Hy4 Preview?

OpenAI Codex Mini costs $1.5/M input tokens and Hy4 Preview costs $0.834/M input tokens. Hy4 Preview is $0.67/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 Hy4 Preview on Rival?

This page shows a side-by-side comparison of OpenAI Codex Mini and Hy4 Preview 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 Gemini 4 ArgonLanded Oct 2026
  • Hy4 Preview vs Muse WonderLanded Oct 2026
  • OpenAI Codex Mini vs GPT-4 TurboLanded Oct 2026
  • Hy4 Preview vs Step 5 PreviewLanded Oct 2026
  • OpenAI Codex Mini vs Claude Haiku 5.5Landed Oct 2026
  • Hy4 Preview vs Ling 3.1 FlashLanded Oct 2026
  • OpenAI Codex Mini vs Mistral Large 4Landed Oct 2026
  • Hy4 Preview vs GPT-6.1 SolLanded 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
  • Hy4 Preview vs Hy3Same lab
  • Hy4 Preview vs Gemini 4 ArgonSame size
  • Hy4 Preview vs MiniMax M2-herNew provider
  • Hy4 Preview vs MiniMax M2.1New provider
  • Hy4 Preview vs MiniMax M2.5New provider
  • OpenAI Codex Mini vs MiniMax M2.7New provider

Model pages

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