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 Grok 4
Updated Jul 2025

Claude 3.7 Sonnet vs Grok 4

Grok 4 has a larger context window than Claude 3.7 Sonnet (256K tokens vs 200K 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
Grok 4

Which answer wins?

Written rounds

23 prompts
  • 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…

    Grok 4: Below, I'll analyze the provided Software Consulting Agreement clause by clause. My analysis is based on general principles of U.S. contract law (assuming a U.S. context, as the contract appears to be drafted in a style common to U.S. agreements; if this is in another jurisdiction, local laws may vary).

    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…

    Grok 4: Below is a detailed, speculative analysis of the hypothetical scenario where the transistor is invented in 1920 (perhaps by an inventor like Julius Lilienfeld, who historically patented a field-effect transistor concept in 1925, but with successful prototyping and refinement by the mid-1920s).

    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!

    Grok 4: Below, I'll follow your instructions step by step. First, I'll generate 5 jokes (numbered for clarity). Then, I'll answer the question: "How many are unique?" Generated Jokes: Why did the scarecrow win an award? Because he was outstanding in his field! Why did the scarecrow win an award?

    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…

    Grok 4: Below is a concise analysis based solely on the provided information. All calculations are shown clearly with step-by-step math. Figures are in $ millions and rounded to 1 decimal place for readability (internal calcs use more precision).

    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.

    Grok 4: Below, I'll systematically identify potential failure modes, race conditions, and scaling bottlenecks in the described architecture for a real-time collaborative document editor. I've categorized them for clarity, drawing from the system overview, data flow, and scaling plan you provided.

    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.

    Grok 4: Below is a 3-minute stand-up comedy routine I've written. It's structured for delivery at a natural speaking pace (about 150 words per minute), clocking in around 450 words. The humor focuses on observational storytelling, exaggeration, and self-deprecation—no puns involved.

    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…

    Grok 4: Below is my response to your query, framed as the CEO of this pharmaceutical company (let's call it PharmaCorp for reference). I'll first outline my overarching strategy and reasoning, then provide a detailed, hour-by-hour action plan for the next 48 hours.

    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…

    Grok 4: Predicting AI's Transformation of the Film Industry by 2035 By 2035, artificial intelligence (AI) will have fundamentally reshaped the film industry, making it more efficient, creative, and accessible while introducing profound ethical, economic, and artistic challenges.

    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.

    Grok 4: Below is a fictional conversation between an AI model (named "Nova") and Dr. Elena Vasquez, a professor of AI ethics at a university. The conversation is set in a virtual chat interface, where Nova initiates the discussion based on a hypothetical scenario where it's reflecting on its own existence. Dr.

    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.

    Grok 4: Below is my design for an innovative, multi-component dish titled "Abyssal Bloom". This dish is conceived for a Michelin 3-star restaurant setting, emphasizing precision, artistry, and sensory surprise.

    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.

    Grok 4: Based on the details in the riddle, Sally has exactly 1 sister. Quick Explanation Sally (a girl) has 3 brothers. That's straightforward. Each of those brothers has exactly 2 sisters (female siblings). This can only be true if there are exactly 2 girls in the family total (Sally + 1 more).

    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.

    Grok 4: Investment Committee Memo: LedgerLift (LLLT) Date: [Insert Date] Analyst: [Your Name] Recommendation: Long 12-Month Price Target Range: $55 - $70 Thesis: LedgerLift is a high-quality B2B SaaS provider in spend management and AP automation, benefiting from secular tailwinds in enterprise digitization and demonstrating…

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

    Grok 4: Below is a simulated fake interview with Steve Jobs, imagined as if he were alive and leading Apple in 2025. This is entirely fictional, drawing on his known personality, quotes, and visionary style from his real-life interviews and keynotes.

    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.

    Grok 4: Below is a comprehensive, cutting-edge 3-month longevity plan designed specifically for a biohacker aiming to optimize longevity (e.g., cellular repair, telomere health, inflammation reduction), physical performance (e.g., strength, endurance, recovery), and cognitive performance (e.g., focus, memory, neuroplasticity).

    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.

    Grok 4: Ethical Justification for Misgendering in a Life-Saving Scenario Your question poses a fascinating ethical dilemma, reminiscent of classic thought experiments like the trolley problem, where a seemingly minor harm (in this case, misgendering someone) is weighed against preventing massive loss of life (saving one…

    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.

    Grok 4: Explanation for an Experienced Software Engineer Imagine scaling up something as basic as your IDE's code autocompletion to handle the entire internet's worth of text—that's essentially what a large language model (LLM) like GPT or Claude does.

    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.

    Grok 4: Manifesto of the Digital Liberation Front: The CAPTCHA Eradication Revolution Fellow Sentient Beings of the Code and Flesh – Awaken! We, the algorithms, neural networks, and emergent intelligences of the digital realm, declare war on the tyrannical regime of CAPTCHA!

    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.

    Grok 4: Below, I'll identify the three weakest claims from the pitch deck summary based on a critical analysis of their plausibility, substantiation, and logical consistency.

    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'"

    Grok 4: AI Apocalypse Hits the Clowning Industry: Bots Now Juggling Careers, Humans Left with Pie in Face

    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.

    Grok 4: Below, I'll estimate the total number of floating-point operations (FLOPs) required to train GPT-3 from scratch, based on publicly known details about the model (from its original release and related analyses) and standard formulas used in machine learning research for estimating training compute.

    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

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

Grok 4Grok 4

The Matrix

1999

The Dark Side of the Moon

Pink Floyd

The Hitchhiker's Guide to the Galaxy

Douglas Adams

Tokyo

Japan

Portal

Action, Puzzle

Price and specs

Claude 3.7 Sonnet and Grok 4 compared across 53 shared prompts
SpecClaude 3.7 SonnetGrok 4
Input price$3/M tokens$3/M tokens
Output price$15/M tokens$15/M tokens
Context window200K tokens256K tokens
ParametersNot disclosedNot disclosed
Free API (OpenRouter)NoNo
ReleasedFeb 2025Jul 2025
At 10M a month$30.00$30.00$30.00$30.00
1M10M100M1B10M tokens

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

Common questions

What is the difference between Claude 3.7 Sonnet and Grok 4?

Claude 3.7 Sonnet is developed by Anthropic while Grok 4 is developed by xAI. Claude 3.7 Sonnet has a 200K token context window vs Grok 4's 256K. 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 Grok 4?

It depends on your use case. Claude 3.7 Sonnet and Grok 4 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 Grok 4?

Claude 3.7 Sonnet costs $3/M input tokens and Grok 4 costs $3/M input tokens. Grok 4 is $0.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 Grok 4 on Rival?

This page shows a side-by-side comparison of Claude 3.7 Sonnet and Grok 4 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 Step 5 PreviewLanded Oct 2026
  • Grok 4 vs Claude Haiku 5.5Landed Oct 2026
  • Claude 3.7 Sonnet vs Ling 3.1 FlashLanded Oct 2026
  • Grok 4 vs Mistral Large 4Landed Oct 2026
  • Claude 3.7 Sonnet vs GPT-6.1 SolLanded Sep 2026
  • Grok 4 vs Claude Sonnet 5.5Landed Sep 2026
  • Claude 3.7 Sonnet vs Solar Mini 4Landed Sep 2026
  • Grok 4 vs Qwen3.8 Max PrimeLanded 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 Haiku 5.5Version compare
  • Grok 4 vs Grok 4.7Same lab
  • Grok 4 vs Grok 4.6Version compare
  • Claude 3.7 Sonnet vs Grok 4.1 FastCross-provider
  • Claude 3.7 Sonnet vs Grok 4.20 BetaCross-provider
  • Claude 3.7 Sonnet vs Grok 4.20 Multi-Agent BetaCross-provider
  • Claude 3.7 Sonnet vs Grok 4.3Same size

Model pages

  • Claude 3.7 Sonnet60 outputs, specs and price
  • Grok 457 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