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
  • 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. Gemini 3.1 Pro PreviewvsGPT-5 Codex
Updated Feb 2026

Gemini 3.1 Pro PreviewvsGPT-5 Codex

Gemini 3.1 Pro Preview is the newer model, released after GPT-5 Codex.

Gemini 3.1 Pro Preview and GPT-5 Codex compared across 49 shared prompts
SpecGemini 3.1 Pro PreviewGPT-5 Codex
Input price$2/M tokens—
Output price$12/M tokens—
Context window1.0M tokens—
WeightsClosed—
Free API (OpenRouter)NoNo
ReleasedFeb 2026Sep 2025
SWE-bench Verified80.6%74.5%
Our Verdict
Gemini 3.1 Pro Preview
Gemini 3.1 Pro Preview
GPT-5 Codex
GPT-5 Codex

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

Too close to call

Reviewing agent-written code?See a Brief PR report

API pricing

Cost per 1M tokens

Gemini 3.1 Pro Preview
Input
$2.00
Output
$12.00
GPT-5 Codex
Input
—
Output
—
Where to run it

2 hosts, cheapest first

Gemini 3.1 Pro Preview2 hosts
HostInOutContextUptime
Google Vertex AI$1.00 in·$6.00 out·1M·6.7% upGoogle AI Studio$2.00 in·$12.00 out·1M·99.5% up
GPT-5 Codex

No hosts listed on OpenRouter.

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

Writing DNA

Style Comparison

Similarity
50%

GPT-5 Codex uses 14.6x more emoji

Gemini 3.1 Pro Preview
GPT-5 Codex
54%Vocabulary64%
18wSentence Length17w
0.29Hedging0.38
4.9Bold2.3
3.3Lists3.5
0.00Emoji0.15
0.72Headings0.49
0.14Transitions0.05
Based on 23 + 13 text responses
Research

What we learned reading every model

FAQ

Common questions

Keep exploring

More comparisons

GPT-5 Codex logoOx Alpha logo
GPT-5 Codex vs Ox AlphaNew provider
GPT-5 Codex logoMuse Spark 1.3 logo
GPT-5 Codex vs Muse Spark 1.3New provider
GPT-5 Codex logoMuse Spark 1.3 Contributor logo
GPT-5 Codex vs Muse Spark 1.3 ContributorNew provider
GPT-5 Codex logoGemini 3.6 Flash logo
GPT-5 Codex vs Gemini 3.6 FlashCross-provider
Gemini 3.1 Pro Preview logoMistral Nemo logo
Gemini 3.1 Pro Preview vs Mistral NemoNew provider
GPT-5 Codex logoMistral Small 4 logo
GPT-5 Codex vs Mistral Small 4New provider
Gemini 3.1 Pro Preview logoMistral Small Creative logo
Gemini 3.1 Pro Preview vs Mistral Small CreativeNew provider
GPT-5 Codex logoMuse Spark 1.1 logo
GPT-5 Codex vs Muse Spark 1.1New provider
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
  • 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