Models · Compare
Gemma 4 31B vs Claude Opus 4.7
Rows highlighted in warm gray are where the models differ. Numbers carry their as-of date and primary source.
Specs
| Field | A: Gemma 4 31B | B: Claude Opus 4.7 |
|---|---|---|
| Released | 2026-04-02 | 2026-04-16 |
| Developer | Google DeepMind | Anthropic |
| Openness | Open weights | Proprietary |
| License | Apache-2.0 | Proprietary |
| OSI-approved | yes | no |
| Data released | no | no |
| Training code | no | no |
| Architecture | dense | unknown |
| Total params | 31B | — |
| Active params | — | — |
| Experts | — | — |
| Context window | 262K | 1.0M |
| Attention | unknown | unknown |
| Position enc. | unknown | unknown |
| Pretraining tokens | — | — |
| Post-training | sft, rlhf | rlhf, constitutional |
| Training hardware | — | — |
| $/M input | $0.00 | $5.00 |
| $/M output | $0.00 | $25.00 |
| Output tok/sec | 35.5 | 48.6 |
Benchmarks
Missing scores render as not reported; never inferred. Bold highlights the leader per benchmark.
General reasoning
| GPQA-Diamond | 85.7 2026-05-21 | 91.4 2026-05-21 |
Context · A
Flagship of the Gemma 4 open-weights family, released April 2 2026 under Apache 2.0 alongside a 26B MoE (activates 3.8B per token), an E4B effective-4B edge model, and an E2B. Built off Gemini 3 with native vision and audio, 140-plus language support, and up to 256K context. Google reported the 31B as the #3 open model on Arena AI's text leaderboard at launch.
Context · B
First Claude with high-resolution image input, accepting up to 2576 pixels on the long edge (about 3.75 megapixels, more than triple prior Claudes). Released April 16 2026 at unchanged Opus 4.6 pricing of $5 / $25 per Mtok with the 1M context standard. Adds a new xhigh effort level for finer reasoning-versus-latency control.