Compare Gemini 3.7 Flash from Google and Claude Sonnet 5 from Anthropic on key metrics including benchmarks, price, context length, and other model features. Access both models and hundreds of others through the OpenRouter API.
Gemini 3.7 Flash and Claude Sonnet 5 are available through the OpenRouter API, so switching between them takes a model slug change rather than a new integration.
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.
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.
| Attribute | Gemini 3.7 Flash | Claude Sonnet 5 |
|---|---|---|
| Input price | $0.75/M tokens | $2/M tokens |
| Output price | $3.75/M tokens | $10/M tokens |
| Context window | 1,048,576 tokens | 1,000,000 tokens |
| Intelligence Index | 39.6 | 34.4 |
| Coding Index | 71.5 | Not available |
| Agentic Index | Not available | Not available |
| Latency (p50) | 1.38 s | 2.27 s |
| Throughput (p50) | 93.0 tok/s | 81.0 tok/s |
Benchmark data updated
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.
Gemini 3.7 Flash has the longer context window at 1,048,576 tokens, compared with 1,000,000 tokens for Claude Sonnet 5.
Gemini 3.7 Flash is faster on OpenRouter, generating a median 93.0 tokens per second compared with 81.0 tokens per second for Claude Sonnet 5.