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.

Favicon for anthropic
Claude Opus 4.7
Favicon for google
Gemini 3.1 Pro Preview

Overview

Claude Opus 4.7
Author
Anthropic
Gemini 3.1 Pro Preview
Author
Google
Claude Opus 4.7
Context length
1Mtokens
Gemini 3.1 Pro Preview
Context length
1.05Mtokens
Claude Opus 4.7
Reasoning
Gemini 3.1 Pro Preview
Reasoning
Claude Opus 4.7
Input modalities
Gemini 3.1 Pro Preview
Input modalities
Claude Opus 4.7
Output modalities
Gemini 3.1 Pro Preview
Output modalities

Analysis

Claude Opus 4.7 vs Gemini 3.1 Pro Preview at a glance

Claude Opus 4.7
Input price
$5/M tokens
Gemini 3.1 Pro Preview
Input price
$2/M tokens
Claude Opus 4.7
Output price
$25/M tokens
Gemini 3.1 Pro Preview
Output price
$12/M tokens
Claude Opus 4.7
Context window
1,000,000 tokens
Gemini 3.1 Pro Preview
Context window
1,048,576 tokens
Claude Opus 4.7
Intelligence Index
Not available
Gemini 3.1 Pro Preview
Intelligence Index
Not available
Claude Opus 4.7
Coding Index
73.6
Gemini 3.1 Pro Preview
Coding Index
68.8
Claude Opus 4.7
Agentic Index
38.6
Gemini 3.1 Pro Preview
Agentic Index
8.2
Claude Opus 4.7
Latency (p50)
0.95 s
Gemini 3.1 Pro Preview
Latency (p50)
2.91 s
Claude Opus 4.7
Throughput (p50)
48.0 tok/s
Gemini 3.1 Pro Preview
Throughput (p50)
74.0 tok/s
Claude Opus 4.7
Provided by
Anthropic
Gemini 3.1 Pro Preview
Provided by
Google

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.