Claude Fable 5.2 vs Gemma 4 31B

Price, context window & benchmark comparison

Anthropic

Claude Fable 5.2

Anthropic
$8.00 / $40.00
Input / Output · per 1M tokens
VS
Google

Gemma 4 31B

Google
$0.20 / $0.40
Input / Output · per 1M tokens
Compare different models
Anthropic
Google
Verdict: Gemma 4 31B is 64.0× cheaper than Claude Fable 5.2 on a typical 3:1 input/output mix. Claude Fable 5.2 scores higher on the Artificial Analysis Intelligence Index (64.6 vs 4.4). Claude Fable 5.2 has the larger context window (1M vs 262K).
Claude Fable 5.2Gemma 4 31B
Input price / 1M$8.00$0.20
Output price / 1M$40.00$0.40
Blended price (3:1)$16.00$0.25
Cached input / 1M$0.20—
Context window1M262K
Max output128K16K
Intelligence index64.64.4
Coding index—43.4
Providers5—
Best provider uptime (30m)100.0%—
Vision inputYesYes
ReasoningYesYes
Tool callingYesYes
Released2026-11-072026-04-02
Retirement——

Cost calculator

FAQ

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

Gemma 4 31B is 64.0× cheaper than Claude Fable 5.2 on a typical 3:1 input/output mix.

Claude Fable 5.2 vs Gemma 4 31B: which has a bigger context window?

Claude Fable 5.2: 1,000,000 tokens. Gemma 4 31B: 262,144 tokens.

How much would 1 million requests cost?

At 2,000 input + 500 output tokens per request: Claude Fable 5.2 ≈ $36,000, Gemma 4 31B ≈ $600.00.

More comparisons