Claude Opus 5 vs Gemini 3.1 Pro preview vs Gemini 3.8 Flash

Claude Opus 5 vs Gemini 3.1 Pro preview vs Gemini 3.8 Flash: Gemini 3.8 Flash is the cheapest by 85%. Claude Opus 5 (Anthropic, 1,000,000 ctx); Gemini 3.1 Pro preview (Google AI, 1,048,576 ctx); Gemini 3.8 Flash (GitHub Copilot, 200,000 ctx). Route any of them via Agent Command Center for shadow A/B without code changes.

Claude Opus 5 Gemini 3.1 Pro preview Gemini 3.8 Flash
Input price$5.00/M$2.00/M$0.750/M
Output price$25.00/M$12.00/M$3.75/M
Context window1,000,0001,048,576200,000
Max output128,00065,53665,536
Function calling✓✓✓
Vision✓✓✓
Audio input—✓—
Reasoning✓✓✓
Prompt caching✓✓—
Structured output✓✓—
Pricing verifiedOct 22, 2026Oct 22, 2026Oct 22, 2026
Cheaper option
~85% cheaper than the priciest in this trio
Larger context
1,048,576 tokens
More capabilities
6 of 6 capability flags advertised

Drill into pairwise comparisons

Each pair has a live calculator and a benchmark chart.