Gemini 3.5 Flash vs Claude Sonnet 5 vs Qwen3.7 Max
Gemini 3.5 Flash comes out ahead, 69 to 65 and 59 on our weighted score, and it is the cheaper option too.
Price in rating: Included · Exclude price
- Our pick
Google
Gemini 3.5 Flash
69/100- ECI155.4
- Price$1.50 / $9.00
- Context1.05M
Anthropic
Claude Sonnet 5
65/100- ECI156.9
- Price$2.00 / $10.00
- Context1M
Alibaba (Qwen)
Qwen3.7 Max
59/100- ECI154.6
- Price$2.50 / $7.50
- Context1M
Gemini 3.5 Flash is our pick
Gemini 3.5 Flash is the better all-round choice, scoring 69/100 against Claude Sonnet 5 (65) and Qwen3.7 Max (59). It leads on price and inputs & features. The score weighs capability 50%, price 25%, inputs & features 15%, context window 10%.
- CapabilityClaude Sonnet 5Capabilities Index (ECI): Claude Sonnet 5 156.9 · Gemini 3.5 Flash 155.4 · Qwen3.7 Max 154.6
- Lowest priceGemini 3.5 FlashGemini 3.5 Flash $3.38 · Qwen3.7 Max $3.75 · Claude Sonnet 5 $4.00 per 1M tokens (3:1 blend)
- Longest contextGemini 3.5 FlashGemini 3.5 Flash 1,048,576 · Claude Sonnet 5 1,000,000 · Qwen3.7 Max 1,000,000 tokens
- Widest inputsGemini 3.5 FlashGemini 3.5 Flash: Text, Images, PDFs, Audio, Video · Claude Sonnet 5: Text, Images, PDFs · Qwen3.7 Max: Text
- Self-hostingNo confirmed open weightsAll three are available only through APIs
| Measure | Weight | Gemini 3.5 Flash | Claude Sonnet 5 | Qwen3.7 Max |
|---|---|---|---|---|
| CapabilityCapabilities Index (ECI) | 50% | 82 | 84 | 82 |
| Price | 25% | 24 | 20 | 22 |
| Inputs & features | 15% | 100 | 80 | 45 |
| Context window | 10% | 65 | 64 | 64 |
| Overall | 100% | 69/100 | 65/100 | 59/100 |
Every spec in one table
Highlighted cells lead their row. Dashes mean the data is not published.
| Specification | |||
|---|---|---|---|
| Capability | |||
| Capabilities Index (ECI) | 155.4 | 156.9 (best) | 154.6 |
| ECI rank | #44 of 158 | #35 of 158 (best) | #49 of 158 |
| GPQA DiamondGraduate-level science questions | 92.8% (best) | 90.5% | 90.9% |
| FrontierMath Tiers 1–3Research-level mathematics | 62.8% | 65.6% (best) | 64.6% |
| OTIS Mock AIME 2024–2025Competition mathematics | 95.6% (best) | 94.7% | 95.6% (best) |
| SWE-bench VerifiedFixing real GitHub issues | 79.3% (best) | — | 77.3% |
| SimpleQA VerifiedShort factual questions | 66.2% (best) | 33.7% | 55.8% |
| Price per million tokens | |||
| Input | $1.50 (best) | $2.00 | $2.50 |
| Output | $9.00 | $10.00 | $7.50 (best) |
| Cached input | $0.15 (best) | $0.20 | $0.50 |
| Blended (3:1) | $3.38 (best) | $4.00 | $3.75 |
| Long-context rate | Same rate | Same rate | Same rate |
| Price source | Official Google API | Official Anthropic API | Official Alibaba API |
| Limits | |||
| Context window | 1,048,576 tokens (best) | 1,000,000 tokens | 1,000,000 tokens |
| Max output | 65,536 tokens | 128,000 tokens | 131,072 tokens (best) |
| Inputs and features | |||
| Text | Yes | Yes | Yes |
| Images | Yes | Yes | No |
| PDFs | Yes | Yes | No |
| Audio | Yes | No | No |
| Video | Yes | No | No |
| Reasoning | Yesminimal · low · medium · high | Yeslow · medium · high · xhigh · max | Yes |
| Tool calling | Yes | Yes | Yes |
| Structured output | Yes | Yes | Yes |
| Availability | |||
| Weights | Proprietary | Proprietary | Proprietary |
| API model ID | gemini-3.5-flash | claude-sonnet-5 | qwen3.7-max |
| API providers | 34 | 55 (best) | 31 |
| Released | May 19, 2026 | Jun 30, 2026 | May 21, 2026 |
| Knowledge cutoff | Jan 2025 | Jan 31, 2026 | — |
What would a month cost?
Enter your expected volume in millions of tokens. List prices only; caching and batch discounts would lower these.
Gemini 3.5 Flash$33.00
Claude Sonnet 5$40.00
Qwen3.7 Max$40.00
Which should you choose?
Which is better: Gemini 3.5 Flash, Claude Sonnet 5 or Qwen3.7 Max?
Gemini 3.5 Flash is the better all-round choice, scoring 69/100 against Claude Sonnet 5 (65) and Qwen3.7 Max (59). It leads on price and inputs & features. The score weighs capability 50%, price 25%, inputs & features 15%, context window 10%.
Which is cheaper, Gemini 3.5 Flash, Claude Sonnet 5 or Qwen3.7 Max?
Gemini 3.5 Flash is cheaper at $1.50 input / $9.00 output per million tokens (official Google API price). Qwen3.7 Max costs $2.50 input / $7.50 output per million tokens (official Alibaba API price); Claude Sonnet 5 costs $2.00 input / $10.00 output per million tokens (official Anthropic API price). At a typical mix of three input tokens to one output token, that is $3.38 per million tokens for Gemini 3.5 Flash versus $3.75 for Qwen3.7 Max (1.1× as much) and $4.00 for Claude Sonnet 5 (1.2× as much).
Which scores higher on benchmarks?
Claude Sonnet 5 scores higher on the Capabilities Index (ECI): Claude Sonnet 5 156.9 (#35 of 158), Gemini 3.5 Flash 155.4 (#44 of 158) and Qwen3.7 Max 154.6 (#49 of 158). The confidence ranges of the top two overlap (154.9–159.1 vs 153.5–157.4), so treat the gap as small. On individual benchmarks: GPQA Diamond — Gemini 3.5 Flash 92.8%, Qwen3.7 Max 90.9%, Claude Sonnet 5 90.5%; FrontierMath Tiers 1–3 — Claude Sonnet 5 65.6%, Qwen3.7 Max 64.6%, Gemini 3.5 Flash 62.8%; OTIS Mock AIME 2024–2025 — Gemini 3.5 Flash 95.6%, Qwen3.7 Max 95.6%, Claude Sonnet 5 94.7%; SimpleQA Verified — Gemini 3.5 Flash 66.2%, Qwen3.7 Max 55.8%, Claude Sonnet 5 33.7%.
Which is better for coding?
There are no published SWE-bench Verified results for Claude Sonnet 5 yet, so there is no like-for-like coding score. On overall capability, Claude Sonnet 5 leads, which tends to carry over to coding, but test on your own codebase. All three support tool calling for agent workflows.
Which has the bigger context window?
Gemini 3.5 Flash has the largest context window at 1,048,576 tokens, against 1,000,000 for Claude Sonnet 5 and 1,000,000 for Qwen3.7 Max. Maximum output per response: Gemini 3.5 Flash up to 65,536, Claude Sonnet 5 up to 128,000, Qwen3.7 Max up to 131,072 tokens.
Which can read images, PDFs, audio or video?
Gemini 3.5 Flash accepts text, images, PDFs, audio and video; Claude Sonnet 5 accepts text, images and PDFs; Qwen3.7 Max accepts text. Gemini 3.5 Flash handles the widest range of inputs.
Are any of these open source?
No. Gemini 3.5 Flash, Claude Sonnet 5 and Qwen3.7 Max are proprietary and only available through APIs and apps.
Which is newer?
Claude Sonnet 5 is the newest, released Jun 30, 2026. Qwen3.7 Max came out May 21, 2026; Gemini 3.5 Flash came out May 19, 2026. Knowledge cutoff: Gemini 3.5 Flash Jan 2025, Claude Sonnet 5 Jan 31, 2026.
How do you decide the winner?
This rating uses capability (50%, independent benchmark results); price (25%, blended price per million tokens (3 input : 1 output), log scale); inputs & features (15%, image, PDF, audio and video input, tool calling, structured output and reasoning); context window (10%, maximum tokens per request, log scale). Dimensions missing for any model are dropped and the remaining weights rescaled, so every model is judged on the same evidence. Specs and prices come from public model listings and the labs’ own API pages; capability scores come from independent benchmark runs. Data updated Nov 18, 2026.