The AI arena is free today

Open Superagent

Claude Sonnet 5.5 vs Gemma 4 31B

Claude Sonnet 5.5 leads the LLM Stats Score 58.3 to 33.0. Gemma 4 31B is 26.2x cheaper per token.

Anthropic · Google · Updated for 2026

Which is better?

Claude Sonnet 5.5 leads the overall LLM Stats Score 58.3 to 33.0, ranking #2 overall.

On price, Gemma 4 31B is roughly 26.2x cheaper per token on a blended 3:1 input/output basis, which adds up quickly at production volume.

Claude Sonnet 5.5 also accepts a larger context window (1,000,000 input tokens), making it the stronger choice for long documents and large codebases.

Based on current LLM Stats indexes, shared benchmarks, pricing, and model metadata for 2026.

Choose Claude Sonnet 5.5

  • overall performance matters — it scores 58.3 and ranks #2 on LLM Stats
  • your work emphasizes reasoning and agents — it leads those capability indexes
  • you process long inputs — it offers a 1,000,000 token context window
  • you want the most recent training data — it shipped Sep 2026

Choose Gemma 4 31B

  • cost matters — it's about 26.2x cheaper per token
  • you need open weights you can self-host or fine-tune

At a glance

The differences that matter most.

Core performance indexes
58.3
#2
33.0
#115
56.8
#2
33.5
#107
42.5
#3
13.4
#106
Cost, coverage & limits
Benchmark wins
—
—
Input price
$2.00 / M
$0.09 / M
Output price
$10.00 / M
$0.34 / M
Context window
1,000,000
262,144

Capability indexes

Additional strengths measured across groups of related public benchmarks

3 shared
Index
Claude Sonnet 5.5
Gemma 4 31B
37.6#30
29.4#88
40.5#3
19.5#81
40.1#2
22.2#68
Conservative TrueSkill rating · higher is betterHow scores work

Individual benchmarks

47 reported for Claude Sonnet 5.5 · 12 for Gemma 4 31B

No common benchmarks found

Claude Sonnet 5.5 and Gemma 4 31Bdon't have any common benchmark datasets to compare. They may have been evaluated on different testing suites.

Human preference

Blind head-to-head votes and playground preference scores

Pricing Analysis

Price comparison per million tokens

Gemma 4 31B costs less

For input processing, Claude Sonnet 5.5 ($2.00/1M tokens) is 22.2x more expensive than Gemma 4 31B ($0.09/1M tokens).

For output processing, Claude Sonnet 5.5 ($10.00/1M tokens) is 29.4x more expensive than Gemma 4 31B ($0.34/1M tokens).

In conclusion, Claude Sonnet 5.5 is more expensive than Gemma 4 31B.*

* Using a 3:1 ratio of input to output tokens

Lowest available price from all providers
Fri Oct 09 2026 • llm-stats.com
Anthropic
Claude Sonnet 5.5
Input tokens$2.00
Output tokens$10.00
Best providerAnthropic
Google
Gemma 4 31B
Input tokens$0.09
Output tokens$0.34
Best providerDeepinfra
Notice missing or incorrect data?

Context Window

Maximum input and output token capacity

Claude Sonnet 5.5 accepts 1,000,000 input tokens compared to Gemma 4 31B's 262,144 tokens. Gemma 4 31B can generate longer responses up to 262,144 tokens, while Claude Sonnet 5.5 is limited to 128,000 tokens.

Anthropic
Claude Sonnet 5.5
Input1,000,000 tokens
Output128,000 tokens
Google
Gemma 4 31B
Input262,144 tokens
Output262,144 tokens
Fri Oct 09 2026 • llm-stats.com

Input capabilities

Documented input modalities across available providers

Both Claude Sonnet 5.5 and Gemma 4 31B support multimodal inputs.

They are both capable of processing various types of data, offering versatility in application.

Claude Sonnet 5.5

Text
Images
Audio
Video

Gemma 4 31B

Text
Images
Audio
Video

License

Usage and distribution terms

Claude Sonnet 5.5 is licensed under a proprietary license, while Gemma 4 31B uses Apache 2.0.

License differences may affect how you can use these models in commercial or open-source projects.

Claude Sonnet 5.5

Proprietary

Closed source

Gemma 4 31B

Apache 2.0

Open weights

Release Timeline

When each model was launched

Claude Sonnet 5.5 was released on 2026-09-28, while Gemma 4 31B was released on 2026-04-02.

Claude Sonnet 5.5 is 6 months newer than Gemma 4 31B.

Claude Sonnet 5.5

Sep 28, 2026

1 weeks ago

5mo newer
Gemma 4 31B

Apr 2, 2026

6 months ago

Knowledge Cutoff

When training data ends

Claude Sonnet 5.5 has a knowledge cutoff of 2026-06-01, while Gemma 4 31B has a cutoff of 2025-01-01.

Claude Sonnet 5.5 has more recent training data (up to 2026-06-01), making it potentially better informed about events through that date compared to Gemma 4 31B (2025-01-01).

Claude Sonnet 5.5

Jun 2026

1.4 yr newer
Gemma 4 31B

Jan 2025

Provider Availability

Claude Sonnet 5.5 is available from Anthropic. Gemma 4 31B is available from DeepInfra, FriendliAI, Novita, Together.

Claude Sonnet 5.5

anthropic logo
Anthropic
Input Price:Input: $2.00/1MOutput Price:Output: $10.00/1M

Gemma 4 31B

deepinfra logo
Deepinfra
Input Price:Input: $0.09/1MOutput Price:Output: $0.34/1M
friendli logo
FriendliAI
Input Price:Input: $0.14/1MOutput Price:Output: $0.40/1M
novita logo
Novita
Input Price:Input: $0.14/1MOutput Price:Output: $0.40/1M
together logo
Together
Input Price:Input: $0.39/1MOutput Price:Output: $0.97/1M
* Prices shown are per million tokens

Outputs Comparison

Notice missing or incorrect data?

Judge for yourself.

Run your own prompts against Claude Sonnet 5.5 and Gemma 4 31B side-by-side, then vote on the output you prefer.

Claude Sonnet 5.5
✓ Preferred
Gemma 4 31B
Open in Playground

FAQ

Common questions about Claude Sonnet 5.5 vs Gemma 4 31B.

Which is better, Claude Sonnet 5.5 or Gemma 4 31B?

Claude Sonnet 5.5 leads the LLM Stats Score 58.3 to 33.0. Claude Sonnet 5.5 is made by Anthropic and Gemma 4 31B is made by Google. The best choice depends on your use case — compare their capability indexes, individual benchmarks, pricing, and limits above.

How does Claude Sonnet 5.5 compare to Gemma 4 31B in benchmarks?

Claude Sonnet 5.5 scores BenchCAD (with Python tool): 96.3%, ArXivMath (with tools): 95.2%, Global-MMLU: 92.1%, MILU: 91.6%, SWE-bench Multilingual: 90.3%. Gemma 4 31B scores AIME 2026: 89.2%, MMMLU: 88.4%, t2-bench: 86.4%, MathVision: 85.6%, MMLU-Pro: 85.2%.

Is Claude Sonnet 5.5 cheaper than Gemma 4 31B?

Gemma 4 31B is 22.2x cheaper for input tokens. Claude Sonnet 5.5 costs $2.00/M input and $10.00/M output via anthropic. Gemma 4 31B costs $0.09/M input and $0.34/M output via deepinfra.

What are the context window sizes for Claude Sonnet 5.5 and Gemma 4 31B?

Claude Sonnet 5.5 supports 1.0M tokens and Gemma 4 31B supports 262K tokens. A larger context window lets you process longer documents, conversations, or codebases in a single request.

What are the main differences between Claude Sonnet 5.5 and Gemma 4 31B?

Key differences include LLM Stats Score (58.3 vs 33.0), context window (1.0M vs 262K), input pricing ($2.00 vs $0.09/M), licensing (Proprietary vs Apache 2.0). See the full comparison above for benchmark-by-benchmark results.

Who makes Claude Sonnet 5.5 and Gemma 4 31B?

Claude Sonnet 5.5 is developed by Anthropic and Gemma 4 31B is developed by Google.