LLM Comparison

Claude Sonnet 4.6 vs Gemma 4 31B

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

Price vs Intelligence

8371604937$0.18$3.06$5.94$8.82$11.70Avg Price per M tokensIntelligenceClaude Sonnet 4.647.1 / $9.00Gemma 4 31B72.9 / $0.26

Add to comparison

2/6 models
Same tier:
 AnthropicClaude Sonnet 4.6GoogleGemma 4 31B
OrganizationAnthropicAnthropicGoogleGoogle
OpenTools Score
47
5.2
73
286
FamilyClaudeGemma
StatusCurrentCurrent
Release DateFeb 2026Apr 2026
Context Window1.0M tokens262K tokens
Input Price$3.00/M tokens$0.13/M tokens
Output Price$15.00/M tokens$0.38/M tokens
Pricing NotesCache read: $0.3000/M tokensCache read: $0.0200/M tokens
Capabilities
textvisioncodetool-use
textvisionvideocode
Max Output128K tokens
API Identifieranthropic/claude-sonnet-4.6google/gemma-4-31b-it
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 Claude Sonnet 4.6View Gemma 4 31B

Cost Calculator

Enter your expected monthly token usage to compare costs.

ModelInputOutputTotal / movs Best
Gemma 4 31BCheapest$0.13$0.19$0.32
Claude Sonnet 4.6$3.00$7.50$10.50+3181%

Looking for more AI models?

Browse All LLMs