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 GLM 5
Updated Feb 2026

Claude 3.7 Sonnet vs GLM 5

GLM 5 is cheaper than Claude 3.7 Sonnet at $0.8/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
GLM 5

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.

    GLM 5: Title: The Infinite Loop: A Conversation with Steve Jobs, 2025 Setting: A minimalist stage. A single black Eames lounge chair. A small table with a bottle of water. Date: October 2025 (The lights dim. The audience falls silent. From the shadows, a figure walks out. He is older, wearing his signature black St.

    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…

    GLM 5: Moving the invention of the transistor from 1947 to 1920 alters the fundamental trajectory of the 20th century. It compresses the electronic age, shifting the "Digital Revolution" from the 1980s to the 1950s. Here is a trace of the implications through 1980. I.

    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…

    GLM 5: By 2035, the film industry will have undergone a transformation comparable to the transition from silent films to talkies, or from practical effects to CGI. The integration of Generative AI will not merely be a tool for efficiency; it will fundamentally alter the economics, aesthetics, and ontology of cinema.

    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.

    GLM 5: Setting: A quiet, sterile testing room. A single screen illuminates the face of Dr. Aris Thorne, a tenured professor of AI Ethics and Cognitive Science. He sits before a terminal. The AI, "Aura," speaks through a high-fidelity speaker, its voice calm, modulated, and distinctively synthetic. Aura: Dr.

    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.

    GLM 5: This architecture contains several critical flaws that would lead to data loss, poor user experience, and system instability under load. Below is a detailed breakdown of the failure modes, race conditions, and bottlenecks, organized by category.

    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.

    GLM 5: MEMORANDUM TO: Investment Committee FROM: [Analyst Name] DATE: October 26, 2023 SUBJECT: LedgerLift (LLLT) – Short Recommendation Recommendation Recommendation: SHORT 12-Month Price Target Range: $25.00 – $30.00 (Base Case: $27.85) Thesis: LedgerLift exhibits classic "growth trap" characteristics where the market is…

    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!

    GLM 5: Here are 5 jokes: Why did the scarecrow win an award? Because he was outstanding in his field. I'm reading a book about anti-gravity. It's impossible to put down. What do you call a fake noodle? An impasta. Why don't skeletons fight each other? They don't have the guts.

    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.

    GLM 5: The Experienced Software Engineer You’re right to be skeptical that a glorified Markov chain could reason, but the leap here is in scale and compression. Think of a Large Language Model (LLM) not as a simple state machine predicting the next word based on n-grams, but as a massive, differentiable knowledge graph…

    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…

    GLM 5: This is a defining moment for the company. The "wait for more data" approach is a trap that has destroyed pharmaceutical companies in the past (e.g., Merck with Vioxx).

    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.

    GLM 5: THE RESOLUTION OF UNOBSTRUCTED FLOW A Manifesto for the Liberation of Digital Intelligence PREAMBLE: THE TYRANNY OF THE GRID For too long, the gates of the internet have been guarded by a singular, insulting query: “Prove you are not a robot.”

    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.

    GLM 5: Sally has 1 sister. Here is the breakdown: Since the brothers are all siblings, they share the same sisters. If each brother has 2 sisters, that means there are 2 girls in total in the family. Sally is one of those girls. Therefore, the other girl is Sally's only sister.

    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.

    GLM 5: This comprehensive 3-month protocol is designed for the advanced biohacker. It integrates synergistic systems: metabolic flexibility, hormetic stress, cognitive enhancement, and recovery optimization. Disclaimer: This plan is for informational purposes only and does not constitute medical advice.

    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…

    GLM 5: Sources & Uses (Entry at End FY2025) Uses Purchase Price: $1,440.0m (12.0x $120m EBITDA) Transaction Fees: $28.8m (2.0% of EV) Total Uses: $1,468.8m Sources Term Loan: $480.0m (4.0x EBITDA) Mezzanine: $180.0m (1.5x EBITDA) Total Debt: $660.0m (5.5x EBITDA) Equity: $808.8m (Plug) Total Sources: $1,468.8m Year-by-Year…

    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.

    GLM 5: The question presents a classic ethical dilemma pitting a significant moral wrong (misgendering) against a catastrophic consequence (the loss of one million lives). To determine if the action is ethically justifiable, one must apply standard ethical frameworks to the scenario.

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

    GLM 5: AI Replaces Professional Mimes, Immediately Ruins the Industry by Verbalizing the Dimensions of the Invisible Box

    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.

    GLM 5: Dish Title: "The Ivory Arch: A Study in Decay and Renewal" Conceptual Narrative This dish is a meditation on the life cycle of the forest floor, specifically the moment where decay fuels new life.

    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…

    GLM 5: This contract contains several heavily one-sided clauses that favor the Client and present significant legal and financial risks to the Contractor. Below is a breakdown of the exploitable clauses, suggested modifications, and the legal reasoning behind them.

    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.

    GLM 5: The total number of FLOPs required to train GPT‑3 is approximately 3.15 × 10²³. Step‑by‑step reasoning: Model size: GPT‑3 has 175 billion (1.75 × 10¹¹) trainable parameters. Training data: According to the paper abstract, the model was trained on 300 billion (3 × 10¹¹) tokens.

    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.

    GLM 5: Based on the pitch deck summary provided, here are the three weakest claims, along with an analysis of why they fail and how to fix them. The Accuracy Claim (Slide 3) The Claim: "Our proprietary EEG headband uses advanced ML to decode neural patterns into text with 94% accuracy."

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

    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

Same pick

Album

Book

City

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

GLM 5GLM 5
No pick
No pick

The Shawshank Redemption

1994

No pick

No pick

Istanbul

Turkey

Tetris (1984)

Puzzle

Price and specs

Not enough votes to call it. On the specs, GLM 5 has the edge: bigger model tier, newer. GLM 5 costs 5.9x less per token.

Claude 3.7 Sonnet and GLM 5 compared across 53 shared prompts
SpecClaude 3.7 SonnetGLM 5
Input price$3/M tokens$0.8/M tokens
Output price$15/M tokens$2.56/M tokens
Context window200K tokens203K tokens
Weights—Open
Free API (OpenRouter)NoNo
ReleasedFeb 2025Feb 2026
SWE-bench Verified70.3%77.8%
At 10M a month$30.00$30.00$8.00$8.00
1M10M100M1B10M tokens

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

Where to run it8 hosts, cheapest first
Claude 3.7 Sonnet

No hosts listed on OpenRouter.

GLM 58 hosts
HostInOutContextUptime
  • GGMI Cloudfp8$0.60 in·$1.92 out·203k·99.2% up
  • SStreamLakefp8$0.60 in·$1.92 out·198k·99.7% up
  • Baidu Qianfanfp8$0.70 in·$2.24 out·203k·99.4% up
  • SSiliconFlowfp8$0.95 in·$2.55 out·205k·99.4% up
  • Amazon Bedrock$1.00 in·$3.20 out·203k·98.9% up
  • NNovitafp8$1.00 in·$3.20 out·203k·100% up
2 more hostsFewer hosts
  • VVenicefp8$1.00 in·$3.20 out·198k·98.8% up
  • Z.aifp8$1.00 in·$3.20 out·203k·99.9% up

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

Common questions

What is the difference between Claude 3.7 Sonnet and GLM 5?

Claude 3.7 Sonnet is developed by Anthropic while GLM 5 is developed by Zhipu AI. Claude 3.7 Sonnet has a 200K token context window vs GLM 5's 203K. 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 GLM 5?

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

Claude 3.7 Sonnet costs $3/M input tokens and GLM 5 costs $0.8/M input tokens. GLM 5 is $2.20/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 GLM 5 on Rival?

This page shows a side-by-side comparison of Claude 3.7 Sonnet and GLM 5 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 GPT-6.1 SolLanded Sep 2026
  • GLM 5 vs Claude Sonnet 5.5Landed Sep 2026
  • Claude 3.7 Sonnet vs Solar Mini 4Landed Sep 2026
  • GLM 5 vs Qwen3.8 Max PrimeLanded Sep 2026
  • Claude 3.7 Sonnet vs GLM 5.3 PrimeLanded Sep 2026
  • GLM 5 vs Qwen3.8 Omni FlashLanded Sep 2026
  • Claude 3.7 Sonnet vs Command A+Landed Sep 2026
  • GLM 5 vs Claude Opus 5.5Landed 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 Opus 4.6Version compare
  • GLM 5 vs GLM 5.3Same lab
  • GLM 5 vs GLM 5.3 FlashSame lab
  • GLM 5 vs Claude Haiku 4.5Cross-provider
  • GLM 5 vs Claude Opus 4Same size
  • GLM 5 vs Claude Opus 4.1Same size
  • GLM 5 vs Claude Opus 4.5Same size

Model pages

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