LLM Comparison

Claude Sonnet 4.6 vs Gemma 4 31B

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

Price vs Intelligence

5851443731$0.18$3.06$5.94$8.82$11.70Avg Price per M tokensIntelligenceClaude Sonnet 4.647.8 / $9.00Gemma 4 31B40.5 / $0.26

Add to comparison

2/6 models
Same tier:
 AnthropicClaude Sonnet 4.6GoogleGemma 4 31B
OrganizationAnthropicAnthropicGoogleGoogle
OpenTools Score
48
5.3
41
159
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
89.9anthropic
85.6566artificial-analysis
SWE-bench Verified
72.5anthropic
Terminal-Bench 2.0
51anthropic
MATH 500
54.2anthropic
LiveCodeBench
41.5anthropic
Berkeley Function Calling
88.3anthropic
HLE
30openrouter
GPQA-AA Elo
1674artificial-analysis
Artificial Analysis Intelligence Index v4.3
15.4157artificial-analysis
SciCode
45.4861artificial-analysis
Terminal-Bench 2.1
43.4457artificial-analysis
 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