ZMIME
Comparison · 2 models · Updated Nov 2, 2026

Claude Haiku 3.5 vs Gemma 3 4B IT

Gemma 3 4B IT comes out ahead, 52 to 46 on our weighted score, and it is the cheaper option too.

  1. Anthropic

    Claude Haiku 3.5

    Released Oct 22, 2024

    46/100
    • ECI127.0
    • Price$0.80 / $4.00
    • Context200K
  2. Our pick

    Google

    Gemma 3 4B IT

    Released Mar 12, 2025

    52/100
    • ECI115.8
    • Price$0.05 / $0.10
    • Context131K
  3. Add a model

    Make it a three-way comparison.

01 — Verdict

Gemma 3 4B IT is our pick

Gemma 3 4B IT is the better all-round choice, scoring 52/100 against Claude Haiku 3.5 (46). It leads on price. Claude Haiku 3.5 wins on capability, inputs & features and context window. The score weighs capability 50%, price 25%, inputs & features 15%, context window 10%.

  • CapabilityClaude Haiku 3.5Capabilities Index (ECI): Claude Haiku 3.5 127.0 · Gemma 3 4B IT 115.8
  • Lowest priceGemma 3 4B ITGemma 3 4B IT $0.063 · Claude Haiku 3.5 $1.60 per 1M tokens (3:1 blend)
  • Longest contextClaude Haiku 3.5Claude Haiku 3.5 200,000 · Gemma 3 4B IT 131,072 tokens
  • Widest inputsClaude Haiku 3.5Claude Haiku 3.5: Text, Images, PDFs · Gemma 3 4B IT: Text, Images
  • Self-hostingGemma 3 4B ITPublishes downloadable weights
How the score is built
MeasureWeightClaude Haiku 3.5Gemma 3 4B IT
CapabilityCapabilities Index (ECI)50%4834
Price25%38100
Inputs & features15%6050
Context window10%3225
Overall100%46/10052/100
02 — Side by side

Every spec in one table

Highlighted cells lead their row. Dashes mean the data is not published.

Claude Haiku 3.5 vs Gemma 3 4B IT specifications side by side
SpecificationClaude Haiku 3.5AnthropicGemma 3 4B ITGoogle
Capability
Capabilities Index (ECI)127.0 (best)115.8
ECI rank#147 of 165 (best)#163 of 165
GPQA DiamondGraduate-level science questions38.1% (best)23.2%
OTIS Mock AIME 2024–2025Competition mathematics4.3%7.5% (best)
Price per million tokens
Input$0.80$0.05 (best)
Output$4.00$0.10 (best)
Cached input——
Blended (3:1)$1.60$0.063 (best)
Long-context rateSame rateSame rate
Price sourceMedian of 3 providersMedian of 9 providers
Limits
Context window200,000 tokens (best)131,072 tokens
Max output8,192 tokens131,072 tokens (best)
Inputs and features
TextYesYes
ImagesYesYes
PDFsYesNo
AudioNoNo
VideoNoNo
ReasoningNoNo
Tool callingYesYes
Structured outputNoNo
Availability
WeightsProprietaryOpen
API model ID——
API providers410 (best)
ReleasedOct 22, 2024Mar 12, 2025
Knowledge cutoffJul 31, 2024Aug 2024
03 — Cost

What would a month cost?

Enter your expected volume in millions of tokens. List prices only; caching and batch discounts would lower these.

  • Claude Haiku 3.5$16.00
  • Gemma 3 4B IT$0.70
04 — Questions

Which should you choose?

Which is better: Claude Haiku 3.5 or Gemma 3 4B IT?

Gemma 3 4B IT is the better all-round choice, scoring 52/100 against Claude Haiku 3.5 (46). It leads on price. Claude Haiku 3.5 wins on capability, inputs & features and context window. The score weighs capability 50%, price 25%, inputs & features 15%, context window 10%.

Which is cheaper, Claude Haiku 3.5 or Gemma 3 4B IT?

Gemma 3 4B IT is cheaper at $0.05 input / $0.10 output per million tokens (median across 9 API providers). Claude Haiku 3.5 costs $0.80 input / $4.00 output per million tokens (median across 3 API providers). At a typical mix of three input tokens to one output token, that is $0.063 per million tokens for Gemma 3 4B IT versus $1.60 for Claude Haiku 3.5 (26× as much).

Which scores higher on benchmarks?

Claude Haiku 3.5 scores higher on the Capabilities Index (ECI): Claude Haiku 3.5 127.0 (#147 of 165) and Gemma 3 4B IT 115.8 (#163 of 165). The confidence ranges of the top two overlap (121.4–129.2 vs 97.9–123.8), so treat the gap as small. On individual benchmarks: GPQA Diamond — Claude Haiku 3.5 38.1%, Gemma 3 4B IT 23.2%; OTIS Mock AIME 2024–2025 — Gemma 3 4B IT 7.5%, Claude Haiku 3.5 4.3%.

Which is better for coding?

There are no published SWE-bench Verified results for Claude Haiku 3.5 and Gemma 3 4B IT yet, so there is no like-for-like coding score. On overall capability, Claude Haiku 3.5 leads, which tends to carry over to coding, but test on your own codebase. Both support tool calling for agent workflows.

Which has the bigger context window?

Claude Haiku 3.5 has the largest context window at 200,000 tokens, against 131,072 for Gemma 3 4B IT. Maximum output per response: Claude Haiku 3.5 up to 8,192, Gemma 3 4B IT up to 131,072 tokens.

Which can read images, PDFs, audio or video?

Claude Haiku 3.5 accepts text, images and PDFs; Gemma 3 4B IT accepts text and images. Claude Haiku 3.5 handles the widest range of inputs.

Are any of these open source?

Gemma 3 4B IT publishes its weights and can be self-hosted; Claude Haiku 3.5 is proprietary.

Which is newer?

Gemma 3 4B IT is the newest, released Mar 12, 2025. Claude Haiku 3.5 came out Oct 22, 2024. Knowledge cutoff: Claude Haiku 3.5 Jul 31, 2024, Gemma 3 4B IT Aug 2024.

How do you decide the winner?

Each model gets a 0–100 score on capability (50%, independent benchmark results); price (25%, blended price per million tokens (3 input : 1 output), log scale); inputs & features (15%, image, PDF, audio and video input, tool calling, structured output and reasoning); context window (10%, maximum tokens per request, log scale). Dimensions missing for any model are dropped and the remaining weights rescaled, so every model is judged on the same evidence. Specs and prices come from public model listings and the labs’ own API pages; capability scores come from independent benchmark runs. Data updated Nov 2, 2026.