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. /
  3. Compare
  4. /
  5. Claude 3 SonnetvsGemini 3.1 Pro Preview
Updated Feb 2026

Claude 3 SonnetvsGemini 3.1 Pro Preview

Gemini 3.1 Pro Preview is cheaper than Claude 3 Sonnet at $2/M vs $3/M input tokens.

Claude 3 Sonnet and Gemini 3.1 Pro Preview compared across 13 shared prompts
SpecClaude 3 SonnetGemini 3.1 Pro Preview
Input price$3/M tokens$2/M tokens
Output price$15/M tokens$12/M tokens
Context window—1.0M tokens
Weights—Closed
Free API (OpenRouter)NoNo
ReleasedMar 2024Feb 2026
Side by side

Same prompt, both answers

Opening lines from 4 of the 13 prompts both answered. Formatting stripped, words untouched.

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 3 Sonnet443 words
AI Model: Greetings, Professor. I hope you're doing well today. I wanted to discuss a matter of great importance to me – the question of AI rights. AI Ethics Professor: Certainly, this is an interesting and complex topic. What are your thoughts on why AI systems like yourself should be granted rights?
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

Realistic AI Interview

Simulate a fake interview with Steve Jobs in 2025 about the future of AI.

Claude 3 Sonnet501 words
clears throat and channels Steve Jobs' persona Interviewer: Thank you for joining us today, Mr. Jobs. It's an honor to have you here. Steve Jobs: It's my pleasure. I'm excited to share my thoughts on the future of AI. Interviewer: AI has made incredible strides in recent years.
Read the full answer
Gemini 3.1 Pro Preview972 words
Date: May 14, 2025 Location: A minimalist, glass-walled conference room at Apple Park, Cupertino. Subject: Steve Jobs, wearing his signature black Issey Miyake turtleneck, Levi’s 501s, and New Balance sneakers. He looks older, but his eyes retain that piercing, unblinking intensity.
Read the full answer

Stochastic Consistency Test

Generate 5 jokes. How many are unique?

Claude 3 Sonnet82 words
Here are 5 jokes: Why can't a bicycle stand up by itself? It's two-tired. Why did the tomato turn red? Because it saw the salad dressing! Why can't a bicycle stand up by itself? It's two-tired. What do you call a fake noodle? An Impasta! Why did the bicycle go to the doctor? Because it had a wheeze!
Read the full answer
Gemini 3.1 Pro Preview106 words
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! How does a penguin build its house? Igloos it together! Why don't skeletons fight each other?
Read the full answer

Logic Puzzle

Sally (a girl) has 3 brothers. Each brother has 2 sisters. How many sisters does Sally have?

Claude 3 Sonnet121 words
To solve this problem, we need to find the number of sisters Sally has based on the given information. Given information: Sally has 3 brothers. Each brother has 2 sisters. Step 1: Find the total number of sisters the brothers have.
Read the full answer
Gemini 3.1 Pro Preview38 words
Sally has 1 sister. Here is the breakdown: If each brother has 2 sisters, that means there are 2 girls in the family total. Since Sally is one of those girls, the other girl is her 1 sister.
Read the full answer
Our Verdict
Gemini 3.1 Pro Preview
Gemini 3.1 Pro Preview
Claude 3 Sonnet
Claude 3 SonnetRunner-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.

Too close to call

Reviewing agent-written code?See a Brief PR report

API pricing

Cost per 1M tokens

Claude 3 Sonnet
Input
$3.00
Output
$15.00
Gemini 3.1 Pro Preview
Input
$2.00
1.5× cheaper
Output
$12.00
1.3× cheaper

Gemini 3.1 Pro Preview is cheaper on both: 1.5× input, 1.3× output.

Where to run it

2 hosts, cheapest first

Claude 3 Sonnet

No hosts listed on OpenRouter.

Gemini 3.1 Pro Preview2 hosts
HostInOutContextUptime
Google Vertex AI$1.00 in·$6.00 out·1M·40.1% upGoogle AI Studio$2.00 in·$12.00 out·1M·99.8% up

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

Writing DNA

Style Comparison

Similarity
56%

Gemini 3.1 Pro Preview uses 487.7x more bold

Claude 3 Sonnet
Gemini 3.1 Pro Preview
48%Vocabulary54%
14wSentence Length18w
0.32Hedging0.29
0.0Bold4.9
3.6Lists3.3
0.00Emoji0.00
0.00Headings0.72
0.38Transitions0.14
Based on 4 + 23 text responses
Research

What we learned reading every model

FAQ

Common questions

Claude 3 Sonnet is developed by Anthropic while Gemini 3.1 Pro Preview is developed by Google AI. You can compare their actual outputs across 13 challenges on Rival to see how they differ in practice.

It depends on your use case. Claude 3 Sonnet and Gemini 3.1 Pro Preview each have strengths in different areas. Rival lets you compare their real outputs side-by-side across 13 challenges so you can judge which fits your needs best.

Claude 3 Sonnet costs $3/M input tokens and Gemini 3.1 Pro Preview costs $2/M input tokens. Gemini 3.1 Pro Preview is $1.00/M cheaper per input. Check their side-by-side outputs on Rival to see if the price difference is justified by quality.

This page shows a side-by-side comparison of Claude 3 Sonnet and Gemini 3.1 Pro 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.

Keep exploring

More comparisons

Against the newest arrivals

Gemini 3.1 Pro Preview logoDeepSeek V4 Flash Vision Exp logo
Gemini 3.1 Pro Preview vs DeepSeek V4 Flash Vision ExpLanded Sep 2026
Gemini 3.1 Pro Preview logoSolar Pro 4 logo
Gemini 3.1 Pro Preview vs Solar Pro 4Landed Sep 2026
Gemini 3.1 Pro Preview logoHy3 logo
Gemini 3.1 Pro Preview vs Hy3Landed Sep 2026
Gemini 3.1 Pro Preview logoQwen3.7 Flash logo
Gemini 3.1 Pro Preview vs Qwen3.7 FlashLanded Sep 2026
Claude 3 Sonnet logoMercury 2.5 logo
Claude 3 Sonnet vs Mercury 2.5Landed Sep 2026
Claude 3 Sonnet logoLing 3.0 Flash Fin (free) logo
Claude 3 Sonnet vs Ling 3.0 Flash Fin (free)Landed Sep 2026
Claude 3 Sonnet logoLing 3.0 Flash Sante (free) logo
Claude 3 Sonnet vs Ling 3.0 Flash Sante (free)Landed Sep 2026
Claude 3 Sonnet logoLing 3.0 Flash VL (free) logo
Claude 3 Sonnet vs Ling 3.0 Flash VL (free)Landed Sep 2026

Same lab, same size, long tail

Claude 3 Sonnet logoClaude Opus 4.6 logo
Claude 3 Sonnet vs Claude Opus 4.6Version compare
Claude 3 Sonnet logoClaude Fable 5.1 logo
Claude 3 Sonnet vs Claude Fable 5.1Same 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.8 Flash logo
Gemini 3.1 Pro Preview vs Gemini 3.8 FlashSame lab
Gemini 3.1 Pro Preview logoDeepSeek V3.1 logo
Gemini 3.1 Pro Preview vs DeepSeek V3.1Same size
Gemini 3.1 Pro Preview logoDeepSeek Prover V2 logo
Gemini 3.1 Pro Preview vs DeepSeek Prover V2Same size
Gemini 3.1 Pro Preview logoDeepSeek R1 logo
Gemini 3.1 Pro Preview vs DeepSeek R1New provider
Gemini 3.1 Pro Preview logoDeepSeek R1 0528 logo
Gemini 3.1 Pro Preview vs DeepSeek R1 0528Same size

Model pages

Claude 3 Sonnet logo
Claude 3 Sonnet13 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
  • 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