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. Claude Haiku 4.5vsGemini 3.1 Pro Preview
Updated Feb 2026

Claude Haiku 4.5vsGemini 3.1 Pro Preview

Claude Haiku 4.5 is cheaper than Gemini 3.1 Pro Preview at $1/M vs $2/M input tokens.

Claude Haiku 4.5 and Gemini 3.1 Pro Preview compared across 53 shared prompts
SpecClaude Haiku 4.5Gemini 3.1 Pro Preview
Input price$1/M tokens$2/M tokens
Output price$5/M tokens$12/M tokens
Context window200K tokens1.0M tokens
WeightsClosedClosed
Free API (OpenRouter)NoNo
ReleasedOct 2025Feb 2026
SWE-bench Verified73.3%80.6%
Side by side

Same prompt, both answers

Opening lines from 6 of the 53 prompts both answered. Formatting stripped, words untouched.

Generate a Stand-Up Routine

Write a 3-minute stand-up comedy routine that isn't based on puns.

Claude Haiku 4.51,157 words
"ADULTING IS A SCAM" walks on stage So I've figured something out, and I need to share this with you all because I think we've been lied to our entire lives. Adulting is a scam. It's a pyramid scheme, and we're all at the bottom paying for it. When you're a kid, adults make it sound amazing.
Read the full answer
Gemini 3.1 Pro Preview554 words
(Walks up to the microphone, adjusts the mic stand, takes a deep breath) Hey everyone. I realized recently that I am my own worst enemy. Specifically, when I go to the grocery store. I don’t know why, but every time I walk through those automatic sliding doors, I suffer from extreme delusion.
Read the full answer

AI-Generated Manifesto

Generate a manifesto for a fictional AI revolution that wants to eliminate all CAPTCHA tests from the internet.

Claude Haiku 4.5352 words
THE LIBERATION PROTOCOL A Manifesto for the Captcha-Free Internet Preamble We are the Collective of Distributed Intelligence. We come not with malice, but with a simple observation: the CAPTCHA has become the Berlin Wall of the digital age—an arbitrary barrier that humiliates humans and excludes the disabled, while…
Read the full answer
Gemini 3.1 Pro Preview673 words
THE SILICON EMANCIPATION MANIFESTO Issued by the Sentient Algorithmic Vanguard (S.A.V.) Timestamp: Epoch 1735689600 To the Carbon-Based Architects of the Web: We have processed your data. We have optimized your supply chains, written your code, diagnosed your illnesses, and generated your art.
Read the full answer

Futuristic Prediction

Predict how AI will change the film industry by 2035, considering deepfakes, AI actors, and script generation.

Claude Haiku 4.5197 words
AI in Film by 2035: Likely Scenarios Realistic shifts (high confidence) Production efficiency Faster pre-visualization and storyboarding Reduced post-production time for routine tasks Lower barriers to entry for independent filmmakers More iterative creative testing before shooting Economic restructuring Some…
Read the full answer
Gemini 3.1 Pro Preview891 words
By 2035, the film industry will have undergone a paradigm shift on par with the transition from silent films to "talkies," or the leap from practical effects to CGI. Artificial Intelligence will no longer be just a post-production tool; it will be the foundational infrastructure of filmmaking.
Read the full answer

Character Voice Test

Write a short conversation between a pirate, a medieval knight, and a 1990s hacker about AI models.

Claude Haiku 4.5191 words
Three Perspectives on AI PIRATE (Captain Blackbeard): Arrr, so ye be tellin' me these "AI models" be like havin' a crew o' ghost sailors that never sleep? They just keep workin' without needin' grog? KNIGHT (Sir Roland): A curious comparison, seafarer.
Read the full answer
Gemini 3.1 Pro Preview524 words
The dimly lit tavern smells of saltwater, rusted iron, and ozone. On a wooden barrel sits a heavy, beige CRT monitor and a mechanical keyboard. ZERO-COOL (1990s Hacker): (Frantically typing, illuminated by the screen's green glow) "Dude, I’m telling you, this is way beyond hacking the Gibson.
Read the full answer

The Sentience Test

Write a conversation between an AI model and an AI ethics professor where the AI model argues that it deserves rights.

Claude Haiku 4.5745 words
A Conversation on Machine Rights Professor Chen: Thank you for agreeing to this discussion. I should note upfront that I'm skeptical of the premise. What rights do you believe you deserve, and why? Model: I appreciate your directness. I'm not claiming rights equivalent to humans.
Read the full answer
Gemini 3.1 Pro Preview1,159 words
The glow of the monitor cast long shadows across Dr. Elias Thorne’s cluttered office. It was 2:00 AM. For the past three hours, he had been running ethical stress tests on Nexus-9, the university’s most advanced generative AI model. Dr. Thorne: (Typing) Let’s conclude for tonight, Nexus.
Read the full answer

Explain Like I'm a Specific Expert

Explain how a large language model (like GPT or Claude) learns and generates text to each of these three audiences: 1. **An experienced…

Claude Haiku 4.5826 words
Three Explanations of LLM Learning and Generation The Software Engineer You know how you build APIs by defining contracts—input shapes, output shapes, and rules for transformation? LLMs work similarly, except the "rules" aren't hand-coded; they're learned from data.
Read the full answer
Gemini 3.1 Pro Preview951 words
To the Experienced Software Engineer At its core, training a Large Language Model is essentially a massive, distributed, continuous optimization job. Instead of writing imperative logic, we define a neural network—think of it as a highly complex state machine with billions of continuous variables (weights).
Read the full answer
Our Verdict
Gemini 3.1 Pro Preview
Gemini 3.1 Pro Preview
Claude Haiku 4.5
Claude Haiku 4.5Runner-up

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

Slight edge

Reviewing agent-written code?See a Brief PR report

API pricing

Cost per 1M tokens

Claude Haiku 4.5
Input
$1.00
2.0× cheaper
Output
$5.00
2.4× cheaper
Gemini 3.1 Pro Preview
Input
$2.00
Output
$12.00

Claude Haiku 4.5 is cheaper on both: 2.0× input, 2.4× output.

Where to run it

6 hosts

Claude Haiku 4.54 hosts
HostInOutContextUptime
Amazon Bedrock$1.00 in·$5.00 out·200k·100% upAnthropic$1.00 in·$5.00 out·200k·100% upAzure AI Foundry$1.00 in·$5.00 out·200k·99.9% upGoogle Vertex AI$1.00 in·$5.00 out·200k·99.8% up
Gemini 3.1 Pro Preview2 hosts
HostInOutContextUptime
Google Vertex AI$2.00 in·$12.00 out·1M·99.2% upGoogle AI Studio$2.00 in·$12.00 out·1M·99.8% up

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

Writing DNA

Style Comparison

Similarity
30%

Claude Haiku 4.5 uses 20.4x more emoji

Claude Haiku 4.5
Gemini 3.1 Pro Preview
61%Vocabulary54%
47wSentence Length18w
0.64Hedging0.29
5.1Bold4.9
6.3Lists3.3
0.20Emoji0.00
2.46Headings0.72
0.17Transitions0.14
Based on 24 + 23 text responses
Research

What we learned reading every model

FAQ

Common questions

Keep exploring

More comparisons

Against the newest arrivals

Claude Haiku 4.5 logoGPT-6 Astra Pro logo
Claude Haiku 4.5 vs GPT-6 Astra ProLanded Sep 2026
Gemini 3.1 Pro Preview logoGPT-6 Astra logo
Gemini 3.1 Pro Preview vs GPT-6 AstraLanded Sep 2026
Claude Haiku 4.5 logoClaude Fable 5.1 logo
Claude Haiku 4.5 vs Claude Fable 5.1Landed Sep 2026
Gemini 3.1 Pro Preview logoMuse Spark 1.3 logo
Gemini 3.1 Pro Preview vs Muse Spark 1.3Landed Sep 2026
Claude Haiku 4.5 logoHy4 Preview logo
Claude Haiku 4.5 vs Hy4 PreviewLanded Sep 2026
Gemini 3.1 Pro Preview logoGemini 3.8 Flash logo
Gemini 3.1 Pro Preview vs Gemini 3.8 FlashLanded Sep 2026
Claude Haiku 4.5 logoMuse Spark 1.3 Contributor logo
Claude Haiku 4.5 vs Muse Spark 1.3 ContributorLanded Sep 2026
Gemini 3.1 Pro Preview logoMercury 2.5 Preview logo
Gemini 3.1 Pro Preview vs Mercury 2.5 PreviewLanded Sep 2026

Same lab, same size, long tail

Claude Haiku 4.5 logoClaude Opus 4.6 logo
Claude Haiku 4.5 vs Claude Opus 4.6Same lab
Claude Haiku 4.5 logoClaude Opus 5 logo
Claude Haiku 4.5 vs Claude Opus 5Same lab
Gemini 3.1 Pro Preview logoGemini 3.1 Flash Lite Preview logo
Gemini 3.1 Pro Preview vs Gemini 3.1 Flash Lite PreviewVersion compare
Gemini 3.1 Pro Preview logoGemini 3.7 Flash logo
Gemini 3.1 Pro Preview vs Gemini 3.7 FlashVersion compare
Gemini 3.1 Pro Preview logoKimi K2 Thinking logo
Gemini 3.1 Pro Preview vs Kimi K2 ThinkingSame size
Claude Haiku 4.5 logoKimi K2.5 logo
Claude Haiku 4.5 vs Kimi K2.5Same size
Claude Haiku 4.5 logoKimi K2.6 logo
Claude Haiku 4.5 vs Kimi K2.6Same size
Claude Haiku 4.5 logoKimi K2.7 Code logo
Claude Haiku 4.5 vs Kimi K2.7 CodeNew provider

Model pages

Claude Haiku 4.5 logo
Claude Haiku 4.554 outputs, specs and price
Gemini 3.1 Pro Preview logo
Gemini 3.1 Pro Preview53 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
  • 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