Gemini 3.1 Pro Preview is 2.1× cheaper per million tokens (blended). Claude Opus 4.8 leads quality index by 5.1 points (86.9 vs 81.8). Gemini 3.1 Pro Preview has the larger context window (1,048,576 vs 1,000,000 tokens).

Claude Opus 4.8 vs Gemini 3.1 Pro Preview

Live catalog fields. Best-in-row is highlighted.

Claude Opus 4.8

Anthropic · anthropic__claude-opus-4.8

Gemini 3.1 Pro Preview

Google · google__gemini-3.1-pro-preview

Identity

Fieldanthropic__claude-opus-4.8google__gemini-3.1-pro-preview
ProviderAnthropicGoogle
Sluganthropic__claude-opus-4.8google__gemini-3.1-pro-preview
Statuslivelive
Open weightsNoNo
License
HuggingFace

Quality

Fieldanthropic__claude-opus-4.8google__gemini-3.1-pro-preview
Quality index (0–100)86.981.8

Cost

Fieldanthropic__claude-opus-4.8google__gemini-3.1-pro-preview
Input $ / 1M tokens$5.00$2.00
Cached input $ / 1M$0.50$0.20
Output $ / 1M tokens$25.00$12.00

Context

Fieldanthropic__claude-opus-4.8google__gemini-3.1-pro-preview
Max context tokens1,000,0001,048,576
Max output tokens128,00065,536

Modalities

Fieldanthropic__claude-opus-4.8google__gemini-3.1-pro-preview
Inputtext, image, fileaudio, file, image, text, video
Outputtexttext