LLM Comparison
Claude Opus 4.7 vs Gemma 4 31B
Side-by-side specs, pricing & capabilities · Updated May 2026
Price vs Intelligence
Add to comparison
2/6 modelsSame tier:
| Organization | ||
| OpenTools Score | 71 4.7 | 53 209 |
| Family | Claude | Gemma |
| Status | Current | Current |
| Release Date | Apr 2026 | Apr 2026 |
| Context Window | 1.0M tokens | 262K tokens |
| Input Price | $5.00/M tokens | $0.13/M tokens |
| Output Price | $25.00/M tokens | $0.38/M tokens |
| Pricing Notes | Cache read: $0.5000/M tokens | Cache read: $0.0200/M tokens |
| Capabilities | textvisioncodetool-use | textvisionvideocode |
| Max Output | 128K tokens | — |
| API Identifier | anthropic/claude-opus-4.7 | google/gemma-4-31b-it |
| Benchmarks | ||
| MMLU | 84.7anthropic | — |
| MMLU-Pro | 78.1anthropic | — |
| MMMLU | 92anthropic | — |
| GPQA Diamond | 94.2anthropic | — |
| HLE | 54.7artificial-analysis | — |
| SWE-bench Verified | 87.6anthropic | — |
| SWE-bench Pro | 64.3anthropic | — |
| SWE-bench Multilingual+Multimodal | 80.5anthropic | — |
| Terminal-Bench | 69.4anthropic | — |
| MCP-Atlas | 77.3anthropic | — |
| Berkeley Function Calling | 77.3anthropic | — |
| OSWorld-Verified | 78anthropic | — |
| BrowseComp | 79.3anthropic | — |
| CharXiv-R | 91anthropic | — |
| DocVQA | 93.1anthropic | — |
| CyberGym | 73.1anthropic | — |
| GDPVal-AA Elo | 1753artificial-analysis | — |
| View Claude Opus 4.7 | View Gemma 4 31B | |
Cost Calculator
Enter your expected monthly token usage to compare costs.
| Model | Input | Output | Total / mo | vs Best |
|---|---|---|---|---|
| Gemma 4 31BCheapest | $0.13 | $0.19 | $0.32 | — |
| Claude Opus 4.7 | $5.00 | $12.50 | $17.50 | +5369% |
Anthropic
Claude Opus 4.7
Claude Opus 4.7 is Anthropic's most capable generally available model, with significant improvements in advanced software engineering, agentic tool use, and vision resolution. Achieves 87.6% on SWE-bench Verified and 94.2% on GPQA Diamond. Supports up to 1,000,000 token context window with 3.3x higher-resolution vision than Opus 4.6.
Gemma 4 31B
Gemma 4 31B is a multimodal llm from Google. Supports up to 262,144 token context window. Available from $0.13/M input tokens.
More Comparisons
Looking for more AI models?
Browse All LLMs