LLM Comparison

Gemma 4 31B vs Claude Sonnet 4.6

Side-by-side specs, pricing & capabilities · Updated April 2026

Add to comparison

2/6 models
Same tier:
 GoogleGemma 4 31BAnthropicClaude Sonnet 4.6
OrganizationGoogleGoogleAnthropicAnthropic
OpenTools Score
73
47
5.2
FamilyGemmaClaude
StatusCurrentCurrent
Release DateApr 2026Feb 2026
Context Window262K tokens1.0M tokens
Input Price$3.00/M tokens
Output Price$15.00/M tokens
Pricing NotesFree tier available on OpenRouter with rate limitsCache read: $0.3000/M tokens
Capabilities
textvisionvideocode
textvisioncodetool-use
Max Output33K tokens128K tokens
API Identifiergoogle/gemma-4-31b-it:freeanthropic/claude-sonnet-4.6
Benchmarks
MMLU
86.7anthropic
GPQA Diamond
42.7anthropic
SWE-bench Verified
37.2anthropic
Terminal-Bench 2.0
51anthropic
MATH 500
54.2anthropic
LiveCodeBench
41.5anthropic
Berkeley Function Calling
88.3anthropic
HLE
27.5anthropic
GPQA-AA Elo
144.6anthropic
 View Gemma 4 31BView Claude Sonnet 4.6

Looking for more AI models?

Browse All LLMs