Skip to content
  • Models
  • Rankings
  • Ori
ElevenLabs launch offer: every ElevenLabs model is 50% off through October 19, 2026. See ElevenLabs models

Footer

OpenRouterOpenRouter
© 2026 OpenRouter, Inc

Product

  • Chat
  • Rankings
  • Benchmarks
  • Apps
  • Discover
  • Models
  • Ori
  • Collections
  • Providers
  • Tools
  • Pricing
  • Business
  • Enterprise
  • Labs

Company

  • About
  • Blog
  • Careers
    Hiring
  • Privacy
  • Terms of Service
  • Trust Center
  • Support
  • Works With OR
  • Data
  • Brand

Developer

  • Documentation
  • API Reference
  • Developer Platform
  • Status
  • AI Site Map

Connect

  • Discord
  • GitHub
  • LinkedIn
  • X
  • YouTube
  1. Home
  2. /
  3. Compare

Claude Sonnet 5 vs Gemini 3.7 Flash

Compare Claude Sonnet 5 from Anthropic and Gemini 3.7 Flash from Google on key metrics including benchmarks, price, context length, and other model features. Access both models and hundreds of others through the OpenRouter API.

Favicon for anthropic
Claude Sonnet 5
Favicon for google
Gemini 3.7 Flash
Favicon for anthropic
Claude Sonnet 5
Favicon for google
Gemini 3.7 Flash

Overview

Claude Sonnet 5
Author
Anthropic
Gemini 3.7 Flash
Author
Google
Claude Sonnet 5
Context length
1Mtokens
Gemini 3.7 Flash
Context length
1.05Mtokens
Claude Sonnet 5
Reasoning
Gemini 3.7 Flash
Reasoning
Claude Sonnet 5
Input modalities
Gemini 3.7 Flash
Input modalities
Claude Sonnet 5
Output modalities
Gemini 3.7 Flash
Output modalities

Claude Sonnet 5 vs Gemini 3.7 Flash: side-by-side summary

Claude Sonnet 5 and Gemini 3.7 Flash are available through the OpenRouter API, so switching between them takes a model slug change rather than a new integration.

Claude Sonnet 5, from Anthropic, has a 1,000,000-token context window and is priced at $2/M tokens input, $10/M tokens output on OpenRouter.

Gemini 3.7 Flash, from Google, has a 1,048,576-token context window and is priced at $0.75/M tokens input, $3.75/M tokens output on OpenRouter.

Context window
  • Claude Sonnet 5: 1,000,000 tokens
  • Gemini 3.7 Flash: 1,048,576 tokens
Price
  • Claude Sonnet 5: $2/M tokens input, $10/M tokens output
  • Gemini 3.7 Flash: $0.75/M tokens input, $3.75/M tokens output
Provided by
  • Claude Sonnet 5: Anthropic
  • Gemini 3.7 Flash: Google
  • Claude Sonnet 5 model details, providers and pricing
  • Gemini 3.7 Flash model details, providers and pricing

Claude Sonnet 5 vs Gemini 3.7 Flash at a glance

Claude Sonnet 5 vs Gemini 3.7 Flash comparison
AttributeClaude Sonnet 5Gemini 3.7 Flash
Input price$2/M tokens$0.75/M tokens
Output price$10/M tokens$3.75/M tokens
Context window1,000,000 tokens1,048,576 tokens
Intelligence Index34.439.6
Coding IndexNot available71.5
Agentic IndexNot availableNot available
Latency (p50)2.25 s1.34 s
Throughput (p50)74.0 tok/s97.0 tok/s

Benchmark data updated Oct 5, 2026

Frequently asked questions

Is Claude Sonnet 5 cheaper than Gemini 3.7 Flash?

Gemini 3.7 Flash is cheaper than Claude Sonnet 5 on OpenRouter: Gemini 3.7 Flash costs $0.75/M tokens input and $3.75/M tokens output, while Claude Sonnet 5 costs $2/M tokens input and $10/M tokens output.

Which has the longer context window, Claude Sonnet 5 or Gemini 3.7 Flash?

Gemini 3.7 Flash has the longer context window at 1,048,576 tokens, compared with 1,000,000 tokens for Claude Sonnet 5.

Which is faster, Claude Sonnet 5 or Gemini 3.7 Flash?

Gemini 3.7 Flash is faster on OpenRouter, generating a median 97.0 tokens per second compared with 74.0 tokens per second for Claude Sonnet 5.