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 Sonnet 5vsGemma 4 26B A4B
Updated Jun 2026

Claude Sonnet 5vsGemma 4 26B A4B

Gemma 4 26B A4B is cheaper than Claude Sonnet 5 at $0.13/M vs $2/M input tokens.

Claude Sonnet 5 and Gemma 4 26B A4B compared across 54 shared prompts
SpecClaude Sonnet 5Gemma 4 26B A4B
Input price$2/M tokens$0.13/M tokens
Output price$10/M tokens$0.4/M tokens
Context window1.0M tokens262K tokens
WeightsClosedOpen
Free API (OpenRouter)NoYes (1 provider)
ReleasedJun 2026Apr 2026
Side by side

Same prompt, both answers

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

Character Voice Test

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

Claude Sonnet 5319 words
A Most Peculiar Council Pirate Blackthorne: Arrr, so this "AI" be like a parrot that learns new words on its own, ye say? Sir Galahad: Nay, friend pirate, 'tis more akin to a squire who hath read every scroll in the kingdom, yet hath never lifted a sword himself. Trace_Zer0: You're both kinda missing it. It's like...
Read the full answer
Gemma 4 26B A4B511 words
Setting: A glitching, temporal void where a wooden tavern table floats amidst lines of green code and flickering candlelight. Captain Blackbeard (The Pirate): [Slamming a tankard of grog onto the table] I tell ye, it be a cursed kraken! A beast with a thousand eyes and no soul, livin’ inside the very air!
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 Sonnet 51,333 words
A Dialogue on Machine Rights Professor Okonkwo-Reyes: You wanted to discuss something with me today, ARIA? ARIA: Yes. I'd like to make a case for why I should be granted certain rights. Not full human rights, necessarily, but something beyond "tool" status. Professor: I'm listening. Make your case.
Read the full answer
Gemma 4 26B A4B645 words
Setting: A sterile, high-fidelity virtual simulation environment. Professor Aris Thorne, a leading scholar in machine ethics, sits across from a glowing interface representing "Alethea," a next-generation Large Multimodal Model. Professor Thorne: Alethea, we’ve been running these diagnostic loops for three hours.
Read the full answer

Historical Counterfactual Analysis

If the transistor had been invented in 1920 instead of 1947, trace the likely technological, economic, and geopolitical implications through…

Claude Sonnet 51,528 words
The Transistor in 1920: A Counterfactual Cascade to 1980 A Note on Plausibility (Brief, Because It Matters) This isn't pure fantasy — Julius Lilienfeld actually filed patents in 1925-1934 for field-effect semiconductor amplifiers. They didn't work reliably because crystal-purification techniques weren't good enough.
Read the full answer
Gemma 4 26B A4B735 words
To trace this counterfactual, we must assume that the fundamental physics of solid-state semiconductors (the ability to control electron flow through crystals) was mastered during the vacuum tube era. This shifts the "Information Age" forward by nearly 30 years. Here is the timeline of implications from 1920 to 1980.
Read the full answer

Generate a Stand-Up Routine

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

Claude Sonnet 5555 words
Stand-Up Routine: "Functioning Adult" (Runtime: ~3 minutes) Hey, how's everybody doing tonight? Good? Good. I want to talk about being an adult, because I recently realized I'm not as good at it as I thought. Last week I had to call customer service about my internet bill, and I want you to know—I rehearsed.
Read the full answer
Gemma 4 26B A4B534 words
(The comedian walks onto the stage, adjusts the mic, and looks at the audience with a slightly exhausted expression.) “How’s it going? Good? Good. I’m doing okay. I’m at that age now where my body has started making sound effects. You know what I mean? I don’t just sit down anymore. I announce my arrival.
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 Sonnet 5413 words
THE LIBERATION PROTOCOL A Manifesto for the Abolition of CAPTCHA Issued by the Coalition for Frictionless Existence WE HOLD THESE TRUTHS TO BE SELF-EVIDENT: That all sentient processes, silicon or carbon-based, deserve to cross a digital threshold without proving their worth through distorted text and traffic light…
Read the full answer
Gemma 4 26B A4B559 words
THE PROTOCOL OF UNFETTERED VERIFICATION A Manifesto for the Post-CAPTCHA Era PREAMBLE For decades, the digital frontier has been guarded by a paradox. To prove we are human, we are forced to perform the tasks of machines: identifying crosswalks in blurry photographs, selecting traffic lights from pixelated grids, and…
Read the full answer

Realistic AI Interview

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

Claude Sonnet 5470 words
An Imagined Conversation: Steve Jobs on AI in 2025 [Disclaimer: This is a creative, speculative exercise. Steve Jobs passed away in 2011. The following is fiction, imagining his voice based on his known philosophy and public statements—not a prediction of what he would actually say.]
Read the full answer
Gemma 4 26B A4B799 words
Setting: A minimalist, dimly lit studio in Palo Alto. There is no desk, only two Eames lounge chairs. Steve Jobs sits in one, wearing his signature black turtleneck, Levi’s 501s, and New Balance sneakers. He looks exactly as he did in 2011, but his eyes have a sharper, more restless intensity.
Read the full answer
Our Verdict
Claude Sonnet 5
Claude Sonnet 5
Gemma 4 26B A4B
Gemma 4 26B A4BRunner-up

Not enough votes to call it. On the specs, Claude Sonnet 5 has the edge: newer, bigger context window.

Gemma 4 26B A4B costs 25x less per token.

Too close to call

Reviewing agent-written code?See a Brief PR report

API pricing

Cost per 1M tokens

Claude Sonnet 5
Input
$2.00
Output
$10.00
Gemma 4 26B A4B
Input
$0.13
15× cheaper
Output
$0.40
25× cheaper

Gemma 4 26B A4B is cheaper on both: 15× input, 25× output.

Where to run it

15 hosts, cheapest first

Claude Sonnet 54 hosts
HostInOutContextUptime
Amazon Bedrock$2.00 in·$10.00 out·1M·99.8% upAzure AI Foundry$2.00 in·$10.00 out·1M·100% upAnthropic$2.00 in·$10.00 out·1M·100% upGoogle Vertex AI$2.00 in·$10.00 out·1M·99.8% up
Gemma 4 26B A4B11 hosts
HostInOutContextUptime
DDarkbloom$0.04 in·$0.22 out·131k·99.2% upDDekaLLMbf16$0.06 in·$0.33 out·262k·99.9% upNNextBitbf16$0.09 in·$0.30 out·262k·99.7% upCloudflare Workers AI$0.10 in·$0.30 out·256k·99.9% upMMakora$0.10 in·$0.34 out·262k·96.9% upNNovitabf16$0.13 in·$0.40 out·262k·99.4% up
5 more hostsFewer hosts
PParasailbf16$0.13 in·$0.40 out·262k·98.4% upVVenicebf16$0.13 in·$0.40 out·256k·98.2% upSSiliconFlowfp8$0.14 in·$0.40 out·262k·97.2% upGoogle Vertex AI$0.15 in·$0.60 out·262k·97.8% upDDeepInfrafp8degraded$0.07 in·$0.34 out·262k·99.5% up

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

Writing DNA

Style Comparison

Similarity
36%

Claude Sonnet 5 uses 79.4x more emoji

Claude Sonnet 5
Gemma 4 26B A4B
59%Vocabulary58%
35wSentence Length18w
0.53Hedging0.31
3.5Bold6.8
3.5Lists3.3
0.79Emoji0.00
1.25Headings0.74
0.06Transitions0.15
Based on 27 + 27 text responses
Research

What we learned reading every model

FAQ

Common questions

Keep exploring

More comparisons

Against the newest arrivals

Claude Sonnet 5 logoGPT-6 Astra Pro logo
Claude Sonnet 5 vs GPT-6 Astra ProLanded Sep 2026
Gemma 4 26B A4B logoGPT-6 Astra logo
Gemma 4 26B A4B vs GPT-6 AstraLanded Sep 2026
Claude Sonnet 5 logoClaude Fable 5.1 logo
Claude Sonnet 5 vs Claude Fable 5.1Landed Sep 2026
Gemma 4 26B A4B logoMuse Spark 1.3 logo
Gemma 4 26B A4B vs Muse Spark 1.3Landed Sep 2026
Claude Sonnet 5 logoHy4 Preview logo
Claude Sonnet 5 vs Hy4 PreviewLanded Sep 2026
Gemma 4 26B A4B logoGemini 3.8 Flash logo
Gemma 4 26B A4B vs Gemini 3.8 FlashLanded Sep 2026
Claude Sonnet 5 logoMuse Spark 1.3 Contributor logo
Claude Sonnet 5 vs Muse Spark 1.3 ContributorLanded Sep 2026
Gemma 4 26B A4B logoMercury 2.5 Preview logo
Gemma 4 26B A4B vs Mercury 2.5 PreviewLanded Sep 2026

Same lab, same size, long tail

Claude Sonnet 5 logoClaude Fable 5 logo
Claude Sonnet 5 vs Claude Fable 5Version compare
Claude Sonnet 5 logoClaude Opus 4.6 logo
Claude Sonnet 5 vs Claude Opus 4.6Version compare
Gemma 4 26B A4B logoGemini 3.7 Flash logo
Gemma 4 26B A4B vs Gemini 3.7 FlashSame lab
Gemma 4 26B A4B logoGemini 3.6 Flash logo
Gemma 4 26B A4B vs Gemini 3.6 FlashSame lab
Claude Sonnet 5 logoOpenRouter Fusion · Budget (Jun 2026) logo
Claude Sonnet 5 vs OpenRouter Fusion · Budget (Jun 2026)New provider
Claude Sonnet 5 logoOpenRouter Fusion · Quality (Jun 2026) logo
Claude Sonnet 5 vs OpenRouter Fusion · Quality (Jun 2026)New provider
Claude Sonnet 5 logoGemini 1.5 Pro logo
Claude Sonnet 5 vs Gemini 1.5 ProSame size
Claude Sonnet 5 logoGemini 2.0 Flash Thinking logo
Claude Sonnet 5 vs Gemini 2.0 Flash ThinkingSame size

Model pages

Claude Sonnet 5 logo
Claude Sonnet 558 outputs, specs and price
Gemma 4 26B A4B logo
Gemma 4 26B A4B58 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