LLM Comparison

Claude Opus 4.7 vs Gemma 4 31B

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 tokensIntelligenceClaude Opus 4.755.3 / $15.00Gemma 4 31B72.9 / $0.26

Add to comparison

2/6 models
Same tier:
 AnthropicClaude Opus 4.7GoogleGemma 4 31B
OrganizationAnthropicAnthropicGoogleGoogle
OpenTools Score
55
3.7
73
286
FamilyClaudeGemma
StatusCurrentCurrent
Release DateApr 2026Apr 2026
Context Window1.0M tokens262K tokens
Input Price$5.00/M tokens$0.13/M tokens
Output Price$25.00/M tokens$0.38/M tokens
Pricing NotesCache read: $0.5000/M tokensCache read: $0.0200/M tokens
Capabilities
textvisioncodetool-use
textvisionvideocode
Max Output128K tokens
API Identifieranthropic/claude-opus-4.7google/gemma-4-31b-it
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 Claude Opus 4.7View 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 Opus 4.7$5.00$12.50$17.50+5369%

Looking for more AI models?

Browse All LLMs