Skip to content

Claude Opus 4.6 vs Gemini 3.1 Pro Preview

Compare Claude Opus 4.6 from Anthropic and Gemini 3.1 Pro Preview from Google on price, context length and features. Use both through one Yunshu Router API key.

Anthropic
Google
Good for
Coding agents · Hard reasoning · Long context · Images and screenshots
Hard reasoning · Coding agents · Long context · Images and screenshots
Overview
Model ID
claude-opus-4-6
gemini-3.1-pro-preview
Availability
Available
Available
Context length
195K tokens
195K tokens
Reasoning
Can be switched off
Always on
Reads
text, image
text, image, file, audio, video
Writes
text
text
Tool calling
Yes
Yes
Price per 1M tokens
Input
$6.2003
$2.3030
Output
$31.0015
$13.8178
Cached input
$0.6200
$0.2303
Model
Anthropic
Google
Good forCoding agents · Hard reasoning · Long context · Images and screenshotsHard reasoning · Coding agents · Long context · Images and screenshots
Overview
Model IDclaude-opus-4-6gemini-3.1-pro-preview
AvailabilityAvailableAvailable
Context length195K tokens195K tokens
ReasoningCan be switched offAlways on
Readstext, imagetext, image, file, audio, video
Writestexttext
Tool callingYesYes
Price per 1M tokens
Input$6.2003$2.3030
Output$31.0015$13.8178
Cached input$0.6200$0.2303

Analysis

Claude Opus 4.6 vs Gemini 3.1 Pro Preview: side-by-side summary

Claude Opus 4.6 and Gemini 3.1 Pro Preview are both available through the Yunshu Router API, so switching between them is a change of model ID, not a new integration.

Claude Opus 4.6, from Anthropic, has a 195K-token context window and is priced at $6.2003 per 1M input tokens and $31.0015 per 1M output tokens on Yunshu Router (prices as of 2026-11-21).

Gemini 3.1 Pro Preview, from Google, has a 195K-token context window and is priced at $2.3030 per 1M input tokens and $13.8178 per 1M output tokens on Yunshu Router (prices as of 2026-11-21).

AttributeClaude Opus 4.6Gemini 3.1 Pro Preview
Context window195K tokens195K tokens
Price$6.2003 / M input, $31.0015 / M output$2.3030 / M input, $13.8178 / M output
Provided byAnthropicGoogle
Model pageClaude Opus 4.6 details, setup and pricingGemini 3.1 Pro Preview details, setup and pricing

USD per 1M tokens, prices as of 2026-11-21. Input types are what each model's maker lists. "Highlight best" marks the lowest price and the largest context among the models shown, in green.

More comparisons

Compare any models →