Claude Opus 4.7 vs Gemini 3.1 Pro Preview: API pricing

As of Nov 19, 2026, Claude Opus 4.7 costs $5.00 input / $25.00 output per million tokens from Anthropic, and Gemini 3.1 Pro Preview costs $2.00 / $12.00 from Google. For 10M input and 2M output tokens a month, Claude Opus 4.7 comes to $100.00 and Gemini 3.1 Pro Preview to $44.00, so Gemini 3.1 Pro Preview is 56% cheaper than Claude Opus 4.7. On LMArena, Claude Opus 4.7 scores higher, 1490 against 1480.

DetailClaude Opus 4.7Gemini 3.1 Pro Preview
Est. per month$100.00official price$44.00official priceCheaper
MakerAnthropicGoogle
Official input / output$5.00 / $25.00per million tokens$2.00 / $12.00per million tokens, higher for long prompts
Cached input$0.50$0.20
Cheapest provider$5.00 / $25.00Anthropic$2.00 / $12.00Google Gemini
Providers157
Context1M1.05M
LMArena overall1490 · #151480 · #21
LMArena coding1519 · #101483 · #53
FeaturesVisionReasoningTool callingWeb searchVisionReasoningTool callingWeb search

Every provider's price: Claude Opus 4.7 · Gemini 3.1 Pro Preview

More comparisons