LLM Comparison

Gemma 4 31B vs Claude Opus 4.7

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

Price vs Intelligence

8374645545$0.18$5.01$9.84$14.67$19.50Avg Price per M tokensIntelligenceGemma 4 31B72.9 / $0.26Claude Opus 4.755.3 / $15.00

Add to comparison

2/6 models
Same tier:
 GoogleGemma 4 31BAnthropicClaude Opus 4.7
OrganizationGoogleGoogleAnthropicAnthropic
OpenTools Score
73
286
55
3.7
FamilyGemmaClaude
StatusCurrentCurrent
Release DateApr 2026Apr 2026
Context Window262K tokens1.0M tokens
Input Price$0.13/M tokens$5.00/M tokens
Output Price$0.38/M tokens$25.00/M tokens
Pricing NotesCache read: $0.0200/M tokensCache read: $0.5000/M tokens
Capabilities
textvisionvideocode
textvisioncodetool-use
Max Output128K tokens
API Identifiergoogle/gemma-4-31b-itanthropic/claude-opus-4.7
Benchmarks
MMLU
84.7anthropic
GPQA Diamond
46.9anthropic
SWE-bench Verified
57.6anthropic
SWE-bench Multilingual+Multimodal
80.5anthropic
Terminal-Bench
69.4anthropic
Berkeley Function Calling
77.3anthropic
CyberGym
73.1anthropic
OSWorld
75anthropic
GDPVal-AA Elo
175.3anthropic
 View Gemma 4 31BView Claude Opus 4.7

Cost Calculator

Enter your expected monthly token usage to compare costs.

ModelInputOutputTotal / movs Best
Gemma 4 31BCheapest$0.13$0.19$0.32
Claude Opus 4.7$5.00$12.50$17.50+5369%

Looking for more AI models?

Browse All LLMs