← All models
Compare

Claude Fable 5 vs Gemma 4 31B IT

Claude Fable 5 (Anthropic) and Gemma 4 31B IT (Google DeepMind) compared on benchmarks, pricing, context window, and use-case rankings.

AttributeClaude Fable 5Anthropic · 40 in the newsGemma 4 31B ITGoogle DeepMind
Scores
Intelligence (ECI)161142
Coding9933
Math95
Reasoning & Knowledge9626
Agentic & Tools98
Specifications
DeveloperAnthropicGoogle DeepMind
FamilyClaudeGemma
ReleasedJun 9, 2026Apr 2, 2026
Parameters
AvailabilityAPI accessOpen weights (restricted use)
Context window1M262K
Price — $/M input$10.00$0.10
Price — $/M output$50.00$0.35
Inputstext, image, fileimage, text, video
Outputstexttext
Benchmarks
AIME 2024/2025100%
APEX45%
GPQA Diamond93%
Humanity's Last Exam53%
SciCode60%
SimpleBench82%
SimpleQA Verified68%10%
WebDev Arena16541380
WeirdML92%52%
τ²-bench99%

Use-case scores are 0–100 percentile composites across each area’s benchmarks, ranked against every model from the past year. Highlighted cells lead each row. Open a model for the full picture.

Frequently asked questions

Is Claude Fable 5 better than Gemma 4 31B IT?

On Epoch AI's Capabilities Index, Claude Fable 5 scores higher (161) than Gemma 4 31B IT (142). The right pick depends on your task — compare their coding, math, and reasoning scores in the table above.

Which is cheaper, Claude Fable 5 or Gemma 4 31B IT?

Gemma 4 31B IT is cheaper on input tokens at $0.10 per million, versus $10.00 (representative OpenRouter pricing).

Which has a larger context window, Claude Fable 5 or Gemma 4 31B IT?

Claude Fable 5 supports up to 1M tokens, compared with 262K for the other.

Which is better for coding, Claude Fable 5 or Gemma 4 31B IT?

Across coding benchmarks like SWE-bench Verified and Terminal-Bench, Claude Fable 5 ranks higher — 99th vs 33th percentile among the models tracked on Model Beat.

Want a different match-up? Open the compare tool to add or swap models.

Benchmarks & model data from Epoch AI (CC BY); pricing & specs from OpenRouter. ECI = Epoch Capabilities Index.