Claude Haiku 4.5 vs Google: Gemma 4 31B

Compare Claude Haiku 4.5 by Anthropic against Google: Gemma 4 31B by Google AI, context windows of 200K vs 262K, tested across 44 shared challenges. Updated April 2026.

Which is better, Claude Haiku 4.5 or Google: Gemma 4 31B?

Claude Haiku 4.5 and Google: Gemma 4 31B are both competitive models. Claude Haiku 4.5 costs $1/M input tokens vs $0.14/M for Google: Gemma 4 31B. Context windows: 200K vs 262K tokens. Compare their real outputs side by side below.

Key Differences Between Claude Haiku 4.5 and Google: Gemma 4 31B

Claude Haiku 4.5 is made by anthropic while Google: Gemma 4 31B is from google. Claude Haiku 4.5 has a 200K token context window compared to Google: Gemma 4 31B's 262K. On pricing, Claude Haiku 4.5 costs $1/M input tokens vs $0.14/M for Google: Gemma 4 31B.

Our Verdict
Google: Gemma 4 31B
Google: Gemma 4 31B
Claude Haiku 4.5
Claude Haiku 4.5Runner-up

No community votes yet. On paper, Google: Gemma 4 31B has the edge — bigger model tier, newer.

Google: Gemma 4 31B is 13x cheaper per token — worth considering if cost matters.

Too close to call
Writing DNA

Style Comparison

Similarity
100%

Claude Haiku 4.5 uses 2.6x more headings

Claude Haiku 4.5
Google: Gemma 4 31B
61%Vocabulary57%
47wSentence Length18w
0.64Hedging0.37
5.1Bold7.1
6.3Lists4.0
0.20Emoji0.24
2.46Headings0.94
0.17Transitions0.16
Based on 24 + 23 text responses
vs

Ask them anything yourself

Claude Haiku 4.5Google: Gemma 4 31B
FAQ