- Home
- Compare
Claude Opus 4.7 vs Gemini 3.1 Pro Preview
Compare Claude Opus 4.7 from Anthropic and Gemini 3.1 Pro Preview from Google on key metrics including benchmarks, price, context length, and other model features. Access both models and hundreds of others through the OpenRouter API.
Overview
Analysis
Claude Opus 4.7 vs Gemini 3.1 Pro Preview at a glance
| Attribute | Claude Opus 4.7 | Gemini 3.1 Pro Preview |
|---|---|---|
| Input price | $5/M tokens | $2/M tokens |
| Output price | $25/M tokens | $12/M tokens |
| Context window | 1,000,000 tokens | 1,048,576 tokens |
| Intelligence Index | Not available | Not available |
| Coding Index | 73.6 | 68.8 |
| Agentic Index | 38.6 | 8.2 |
| Latency (p50) | 0.95 s | 2.91 s |
| Throughput (p50) | 48.0 tok/s | 74.0 tok/s |
| Provided by | Anthropic | |
| Model page | Claude Opus 4.7 model details, providers and pricing | Gemini 3.1 Pro Preview model details, providers and pricing |
Benchmark data updated
Frequently asked questions
Which has the longer context window, Claude Opus 4.7 or Gemini 3.1 Pro Preview?
Gemini 3.1 Pro Preview has the longer context window at 1,048,576 tokens, compared with 1,000,000 tokens for Claude Opus 4.7.
Which is faster, Claude Opus 4.7 or Gemini 3.1 Pro Preview?
Gemini 3.1 Pro Preview is faster on OpenRouter, generating a median 74.0 tokens per second compared with 48.0 tokens per second for Claude Opus 4.7.
Which scores higher on coding, Claude Opus 4.7 or Gemini 3.1 Pro Preview?
Claude Opus 4.7 scores higher on coding, with an Artificial Analysis Coding Index of 73.6 compared with 68.8 for Gemini 3.1 Pro Preview.