Claude Opus 4.7 vs Gemini 3.1 Pro preview vs GPT 5.4

Claude Opus 4.7 vs Gemini 3.1 Pro preview vs GPT 5.4: Gemini 3.1 Pro preview is the cheapest by 53%. Claude Opus 4.7 (Anthropic, 1,000,000 ctx); Gemini 3.1 Pro preview (Google Vertex AI, 1,048,576 ctx); GPT 5.4 (OpenAI, 1,050,000 ctx). Route any of them via Agent Command Center for shadow A/B without code changes.

Claude Opus 4.7 Gemini 3.1 Pro preview GPT 5.4
Input price$5.00/M$2.00/M$2.50/M
Output price$25.00/M$12.00/M$15.00/M
Context window1,000,0001,048,5761,050,000
Max output128,00065,536128,000
Function calling
Vision
Audio input
Reasoning
Prompt caching
Structured output
Pricing verifiedJun 2, 2026Jun 2, 2026Jun 2, 2026
Cheaper option
~53% cheaper than the priciest in this trio
Larger context
1,050,000 tokens
More capabilities
6 of 6 capability flags advertised

Drill into pairwise comparisons

Each pair has a live calculator and a benchmark chart.