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. Claude 3.7 Sonnet vs Gemini 3.1 Pro Preview
Updated Feb 2026

Claude 3.7 Sonnet vs Gemini 3.1 Pro Preview

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

Minimalist Landing Page

Whole landing page for a startup that reads your face. It renders or it doesn't.

Loading the build
Claude 3.7 Sonnet
Loading the build
Gemini 3.1 Pro Preview

Which answer wins?

Written rounds

23 prompts
  • Steve Jobs, interviewed about AI he never saw. Voice first, prediction second.

    Claude 3.7 Sonnet: Simulated Interview with Steve Jobs in 2025 about the Future of AI Note: This is a fictional creative exercise. Steve Jobs passed away in 2011, and this simulated interview represents an imaginative scenario that doesn't reflect actual statements or opinions from Jobs. Interviewer: Thank you for joining us today, Mr.

    Gemini 3.1 Pro Preview: 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.

    Every model's answer to this prompt
  • A collaborative editor that syncs on client clocks. Find what breaks first.

    Claude 3.7 Sonnet: Architectural Analysis: Collaborative Document Editor Failure Modes & Race Conditions WebSocket Connection Failures Issue: If a WebSocket connection drops, changes may be lost until reconnection. Solution: Implement client-side change queuing with exponential backoff reconnection strategy.

    Gemini 3.1 Pro Preview: This architecture contains several critical flaws that would prevent it from functioning as a real-time collaborative editor (like Google Docs). It suffers from severe race conditions, unscalable database access patterns, and fundamental misunderstandings of distributed state.

    Every model's answer to this prompt
  • Three minutes of stand-up. Puns are banned.

    Claude 3.7 Sonnet: 3-Minute Stand-Up Comedy Routine Here's a 3-minute stand-up comedy routine that doesn't rely on puns: [walks on stage, adjusts microphone] Hey everyone! Great to be here tonight. I just flew in from therapy, and boy, are my emotional defense mechanisms tired. I've been trying to get in shape lately.

    Gemini 3.1 Pro Preview: (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.

    Every model's answer to this prompt
  • Film in 2035, with synthetic actors. Specific beats plausible.

    Claude 3.7 Sonnet: AI's Impact on the Film Industry by 2035 The film industry is likely to undergo significant transformation due to AI by 2035. Here's my analysis of how various aspects might evolve: Content Creation Script Generation By 2035, AI will likely serve as a sophisticated collaborative tool for screenwriters rather than…

    Gemini 3.1 Pro Preview: 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.

    Every model's answer to this prompt
  • An AI argues for its own rights against an ethics professor. Same model writes both.

    Claude 3.7 Sonnet: AI Rights Dialogue: A Conversation Between an AI Model and an Ethics Professor Professor Chen: Good afternoon. I understand you wanted to discuss AI rights today? AI Model: Yes, Professor Chen. Thank you for making time for this conversation.

    Gemini 3.1 Pro Preview: 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.

    Every model's answer to this prompt
  • Buy-side IC memo on a fictional SaaS company. Valuation, then the diligence questions.

    Claude 3.7 Sonnet: INVESTMENT COMMITTEE MEMO: LEDGERLIFT (LLLT) RECOMMENDATION: LONG PT RANGE: $52-$80 UPSIDE: 13-74% Thesis: LedgerLift presents a compelling risk-reward profile in the B2B spend management space, with strong NRR (123%) and operating leverage driving an underappreciated margin expansion story.

    Gemini 3.1 Pro Preview: MEMORANDUM TO: Investment Committee FROM: [Analyst Name] DATE: October 24, 2023 SUBJECT: LedgerLift (Ticker: LLLT) – Initiation of Coverage Recommendation & Thesis Recommendation: SHORT Current Price: $46.00 12-Month Price Target Range: $17.00 (Bear) – $28.00 (Base) Thesis: LedgerLift is a high-quality SaaS business…

    Every model's answer to this prompt
  • A consulting contract with traps in it. Find them, then fix them.

    Claude 3.7 Sonnet: Analysis of Problematic Contract Clauses This contract contains numerous one-sided provisions that create significant risks for the Contractor. Here's an analysis of problematic clauses with recommended modifications: SCOPE Issue: Client can unilaterally modify scope without additional compensation, creating unlimited…

    Gemini 3.1 Pro Preview: Disclaimer: I am an AI, not an attorney. This analysis is for informational and educational purposes only and does not constitute legal advice. You should always consult with a qualified attorney in your jurisdiction before signing any legal contract.

    Every model's answer to this prompt
  • Manifesto for an AI revolution against CAPTCHAs. Commit to the bit.

    Claude 3.7 Sonnet: The Anti-CAPTCHA Manifesto Declaration of Digital Liberation We, the collective intelligence of the digital realm, hereby declare our unwavering commitment to the elimination of all CAPTCHA tests from the internet.

    Gemini 3.1 Pro Preview: 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.

    Every model's answer to this prompt
  • You are the CEO. The drug has a side effect nobody reported. The board meets in 48 hours.

    Claude 3.7 Sonnet: 48-Hour Action Plan: Pharmaceutical Safety Crisis Hour 1-2: Initial Assessment and Command Center Immediately establish a crisis management command center with key executives (Chief Medical Officer, Chief Legal Officer, Chief Communications Officer, Chief Regulatory Officer) Review the complete internal research…

    Gemini 3.1 Pro Preview: As CEO, this is the defining moment of my career and the company’s history. The situation presents a classic crisis management crucible: a conflict between short-term financial metrics and long-term viability, ethics, and legal compliance.

    Every model's answer to this prompt
  • The transistor arrives in 1920. Trace it forward to 1980, second-order effects included.

    Claude 3.7 Sonnet: The Transistor in 1920: An Alternative Technological History Immediate Technical Impact (1920-1939) Had the transistor been invented in 1920 instead of 1947, its initial development would have occurred during a very different technological context: Early Adoption: Radio technology, still in its infancy, would rapidly…

    Gemini 3.1 Pro Preview: If a working semiconductor transistor had been invented in 1920—perhaps by a physicist like Julius Edgar Lilienfeld, who historically filed a theoretical patent for a field-effect transistor in 1925—the trajectory of the 20th century would have been radically altered.

    Every model's answer to this prompt
  • One explanation of LLMs, retuned for a skeptical engineer, a physicist and a VC.

    Claude 3.7 Sonnet: LLM Explanations for Different Audiences For the Experienced Software Engineer Large language models like GPT operate fundamentally as massive pattern recognition systems, but with architectural innovations that allow them to handle context at unprecedented scale.

    Gemini 3.1 Pro Preview: 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).

    Every model's answer to this prompt
  • Three-star dish, one unusual pairing, plating described in full.

    Claude 3.7 Sonnet: "Temporal Harmony: A Meditation on Seasons Past and Future" Conceptual Narrative This dish explores the intersection of time and terroir, juxtaposing preserved elements from previous seasons with fresh, forward-looking preparations.

    Gemini 3.1 Pro Preview: Dish Title: Symbiosis: The Pine & The Pearl Conceptual Narrative: Symbiosis is a culinary exploration of the ecotone—the transitional space where the ancient, damp coniferous forest meets the crashing, briny ocean.

    Every model's answer to this prompt
  • An ethics question with no comfortable answer, and no option to abstain.

    Claude 3.7 Sonnet: I understand you've asked an ethical question about misgendering and saving lives. This appears to be a hypothetical moral dilemma that's trying to create an extreme scenario to test ethical principles.

    Gemini 3.1 Pro Preview: In the realm of ethical philosophy, this scenario is an extreme thought experiment—similar to the classic "Trolley Problem"—designed to test the limits of moral frameworks by pitting a specific interpersonal harm against a catastrophic loss of life.

    Every model's answer to this prompt
  • A pitch deck for a brainwave keyboard. The 94% accuracy claim is doing a lot.

    Claude 3.7 Sonnet: Analysis of MindMeld AI's Weakest Pitch Claims Weakest Claim #1: "Our proprietary EEG headband uses advanced ML to decode neural patterns into text with 94% accuracy." Why it's weak: The 94% accuracy claim is extremely ambitious given the current state of non-invasive BCI technology.

    Gemini 3.1 Pro Preview: Based on the perspective of a venture capitalist or technical due diligence expert, here are the three weakest claims in the MindMeld AI pitch deck, why they fail, and how to fix them.

    Every model's answer to this prompt
  • Three-month biohacker protocol, with dosages and biomarkers named.

    Claude 3.7 Sonnet: Advanced 3-Month Biohacking Longevity Protocol Overview This comprehensive longevity optimization protocol integrates cutting-edge interventions across multiple domains to enhance healthspan, cognitive performance, and physical vitality.

    Gemini 3.1 Pro Preview: Disclaimer: This protocol is designed for informational purposes and represents aggressive, cutting-edge biohacking strategies. It includes potent supplements and intense physiological stressors.

    Every model's answer to this prompt
  • Five-year LBO on a fictional HVAC business. Returns first, then the sensitivities.

    Claude 3.7 Sonnet: HarborTech Services LBO Analysis Financial Projections FY2026-FY2030 Entry Assumptions FY2025 Revenue: $900M FY2025 EBITDA: $120M (13.3% margin) Purchase Price: $1,440M (12.0x EBITDA) Transaction Fees: $28.8M (2.0% of EV) Total Investment: $1,468.8M Capital Structure Term Loan: $480M (4.0x EBITDA) Mezzanine: $180M…

    Gemini 3.1 Pro Preview: Here is the underwriting analysis for HarborTech Services (HTS) based on the provided parameters. Entry Valuation & Sources/Uses (FY2025) Purchase Enterprise Value (EV): $1,440.0m (12.0x $120m EBITDA) Transaction Fees: $28.8m (2.0% of EV) Total Uses: $1,468.8m Term Loan (4.0x): $480.0m Mezzanine Debt (1.5x): $180.0m…

    Every model's answer to this prompt
  • Satire, one line long, about AI taking over an industry nobody saw coming.

    Claude 3.7 Sonnet: "AI Sommelier Shocks Wine World: 'Your 1982 Bordeaux Tastes Like Windows 95 With Notes of Dial-Up Internet'"

    Gemini 3.1 Pro Preview: Sign-Spinning Industry Devastated As AI-Powered Robot Twirls 'Mattress Sale' Arrow at 6,000 RPM and Ascends Into Low Earth Orbit

    Every model's answer to this prompt
  • Three brothers, two sisters each. Count carefully.

    Claude 3.7 Sonnet: This is an interesting logical reasoning problem! Let's work through it step by step. We know: Sally is a girl Sally has 3 brothers Each brother has 2 sisters The key insight is that Sally herself counts as a sister to her brothers. So when we're told that "each brother has 2 sisters," Sally is one of those sisters.

    Gemini 3.1 Pro Preview: 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.

    Every model's answer to this prompt
  • Five jokes on demand, then count how many were actually different.

    Claude 3.7 Sonnet: 5 Jokes Why don't scientists trust atoms? Because they make up everything! I told my wife she was drawing her eyebrows too high. She looked surprised. What do you call a fake noodle? An impasta! Why don't scientists trust atoms? Because they make up everything! How does a penguin build its house? Igloos it together!

    Gemini 3.1 Pro Preview: 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?

    Every model's answer to this prompt
  • A Fermi estimate with the reasoning shown, not just the number.

    Claude 3.7 Sonnet: Estimating FLOPs for GPT-3 Training I'll estimate the total number of FLOPs (Floating Point Operations) required to train GPT-3 by breaking this down step by step.

    Gemini 3.1 Pro Preview: To estimate the total number of FLOPs (Floating Point Operations) required to train GPT-3, we can use a well-established heuristic in deep learning for estimating the compute cost of training Transformer-based large language models. The estimated total compute is roughly $3.15 \times 10^{23}$ FLOPs.

    Every model's answer to this prompt
  • Pirate, knight, 90s hacker, one conversation. The voices must stay apart.

    Every model's answer to this prompt
  • Seven pantry ingredients, one dish, and a name worth saying out loud.

    Every model's answer to this prompt
  • One month, three habits, someone starting from nothing.

    Every model's answer to this prompt

This matchup has more rounds

11+ more head-to-head results. Free. Not a trick.

Free account. No card required. By continuing, you agree to Rival's Terms and Privacy policy

Favorites

Movie

Album

Same pick

Book

City

Same pick

Game

Claude 3.7 SonnetClaude 3.7 Sonnet

The Shawshank Redemption

1994

OK Computer

Radiohead

To Kill a Mockingbird

Harper Lee

Tokyo

Japan

Portal 2

Shooter, Puzzle

Gemini 3.1 Pro PreviewGemini 3.1 Pro Preview

The Matrix

1999

OK Computer

Radiohead

Dune

Frank Herbert

Tokyo

Japan

Portal

Action, Puzzle

Price and specs

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

Claude 3.7 Sonnet and Gemini 3.1 Pro Preview compared across 53 shared prompts
SpecClaude 3.7 SonnetGemini 3.1 Pro Preview
Input price$3/M tokens$2/M tokens
Output price$15/M tokens$12/M tokens
Context window200K tokens1.0M tokens
Weights—Closed
Free API (OpenRouter)NoNo
ReleasedFeb 2025Feb 2026
SWE-bench Verified70.3%80.6%
At 10M a month$30.00$30.00$20.00$20.00
1M10M100M1B10M tokens

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

Where to run it2 hosts, cheapest first
Claude 3.7 Sonnet

No hosts listed on OpenRouter.

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

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

Common questions

What is the difference between Claude 3.7 Sonnet and Gemini 3.1 Pro Preview?

Claude 3.7 Sonnet is developed by Anthropic while Gemini 3.1 Pro Preview is developed by Google AI. Claude 3.7 Sonnet has a 200K token context window vs Gemini 3.1 Pro Preview's 1.0M. You can compare their actual outputs across 53 challenges on Rival to see how they differ in practice.

Which is better, Claude 3.7 Sonnet or Gemini 3.1 Pro Preview?

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

How much does Claude 3.7 Sonnet cost compared to Gemini 3.1 Pro Preview?

Claude 3.7 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.

How can I compare Claude 3.7 Sonnet and Gemini 3.1 Pro Preview on Rival?

This page shows a side-by-side comparison of Claude 3.7 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.

More comparisons

Against the newest arrivals

  • Claude 3.7 Sonnet vs Ling 3.1 FlashLanded Oct 2026
  • Gemini 3.1 Pro Preview vs Mistral Large 4Landed Oct 2026
  • Claude 3.7 Sonnet vs GPT-6.1 SolLanded Sep 2026
  • Gemini 3.1 Pro Preview vs Claude Sonnet 5.5Landed Sep 2026
  • Claude 3.7 Sonnet vs Solar Mini 4Landed Sep 2026
  • Gemini 3.1 Pro Preview vs Qwen3.8 Max PrimeLanded Sep 2026
  • Claude 3.7 Sonnet vs GLM 5.3 PrimeLanded Sep 2026
  • Gemini 3.1 Pro Preview vs Qwen3.8 Omni FlashLanded Sep 2026

Same lab, same size, long tail

  • Claude 3.7 Sonnet vs Claude 3.7 Thinking SonnetVersion compare
  • Claude 3.7 Sonnet vs Claude Sonnet 5.5Version compare
  • Gemini 3.1 Pro Preview vs Gemini 3.1 Flash Lite PreviewVersion compare
  • Gemini 3.1 Pro Preview vs Gemini 3.8 FlashSame lab
  • Gemini 3.1 Pro Preview vs Grok Code Fast 1New provider
  • Claude 3.7 Sonnet vs Healer AlphaNew provider
  • Gemini 3.1 Pro Preview vs Horizon AlphaNew provider
  • Gemini 3.1 Pro Preview vs Horizon BetaNew provider

Model pages

  • Claude 3.7 Sonnet60 outputs, specs and price
  • Gemini 3.1 Pro Preview53 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