Gemini 3.5 Flash vs Grok 4.7 vs Qwen3.8 Max 0902
Gemini 3.5 Flash comes out ahead, 67 to 63 and 61 on our weighted score, though Grok 4.7 is 11% cheaper per token.
- Our pick
Google
Gemini 3.5 Flash
67/100- ECI154.5
- Price$1.50 / $9.00
- Context1.05M
xAI
Grok 4.7
61/100- ECI—
- Price$2.00 / $6.00
- Context500K
Alibaba (Qwen)
Qwen3.8 Max 0902
63/100- ECI155.2
- Price$2.00 / $6.00
- Context1M
Gemini 3.5 Flash is our pick
Gemini 3.5 Flash is the better all-round choice, scoring 67/100 against Qwen3.8 Max 0902 (63) and Grok 4.7 (61). It leads on capability and inputs & features. The score weighs capability 50%, price 25%, inputs & features 15%, context window 10%. Capability uses the average of shared benchmarks (GPQA Diamond, FrontierMath Tiers 1–3, OTIS Mock AIME 2024–2025 and SimpleQA Verified), because Grok 4.7 has no Capabilities Index score yet.
- CapabilityGemini 3.5 FlashShared benchmarks: Gemini 3.5 Flash 79.3% · Qwen3.8 Max 0902 76.3% · Grok 4.7 74.9%
- Lowest priceGrok 4.7 and Qwen3.8 Max 0902Grok 4.7 $3.00 · Qwen3.8 Max 0902 $3.00 · Gemini 3.5 Flash $3.38 per 1M tokens (3:1 blend)
- Longest contextGemini 3.5 FlashGemini 3.5 Flash 1,048,576 · Qwen3.8 Max 0902 1,000,000 · Grok 4.7 500,000 tokens
- Widest inputsGemini 3.5 FlashGemini 3.5 Flash: Text, Images, PDFs, Audio, Video · Grok 4.7: Text, Images, PDFs · Qwen3.8 Max 0902: Text, Images, PDFs, Video
- Self-hostingNo open weightsAll three are available only through APIs
| Measure | Weight | Gemini 3.5 Flash | Grok 4.7 | Qwen3.8 Max 0902 |
|---|---|---|---|---|
| CapabilityShared benchmarks | 50% | 79 | 75 | 76 |
| Price | 25% | 25 | 27 | 27 |
| Inputs & features | 15% | 100 | 80 | 80 |
| Context window | 10% | 61 | 48 | 60 |
| Overall | 100% | 67/100 | 61/100 | 63/100 |
Every spec in one table
Highlighted cells lead their row. Dashes mean the data is not published.
| Specification | |||
|---|---|---|---|
| Capability | |||
| Capabilities Index (ECI) | 154.5 | — | 155.2 (best) |
| ECI rank | #33 of 148 | — | #28 of 148 (best) |
| GPQA DiamondGraduate-level science questions | 92.8% (best) | 92.7% | 92.3% |
| FrontierMath Tiers 1–3Research-level mathematics | 62.8% | 53.0% | 65.6% (best) |
| OTIS Mock AIME 2024–2025Competition mathematics | 95.6% | 98.1% | 100% (best) |
| SWE-bench VerifiedFixing real GitHub issues | 79.3% | — | — |
| SimpleQA VerifiedShort factual questions | 66.2% (best) | 56.0% | 47.3% |
| Price per million tokens | |||
| Input | $1.50 (best) | $2.00 | $2.00 |
| Output | $9.00 | $6.00 (best) | $6.00 (best) |
| Cached input | $0.15 (best) | $0.50 | — |
| Blended (3:1) | $3.38 | $3.00 (best) | $3.00 (best) |
| Long-context rate | Same rate | Over 200K: $4.00 / $12.00 | Same rate |
| Price source | Official Google API | Official xAI API | Median of 6 providers |
| Limits | |||
| Context window | 1,048,576 tokens (best) | 500,000 tokens | 1,000,000 tokens |
| Max output | 65,536 tokens | 500,000 tokens (best) | 131,072 tokens |
| Inputs and features | |||
| Text | Yes | Yes | Yes |
| Images | Yes | Yes | Yes |
| PDFs | Yes | Yes | Yes |
| Audio | Yes | No | No |
| Video | Yes | No | Yes |
| Reasoning | Yesminimal · low · medium · high | Yeslow · medium · high · xhigh | Yes |
| Tool calling | Yes | Yes | Yes |
| Structured output | Yes | Yes | No |
| Availability | |||
| Weights | Proprietary | Proprietary | Proprietary |
| API model ID | gemini-3.5-flash | grok-4.7 | — |
| API providers | 32 (best) | 17 | 6 |
| Released | May 19, 2026 | Sep 21, 2026 | Sep 2, 2026 |
| Knowledge cutoff | Jan 2025 | May 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
Grok 4.7$32.00
Qwen3.8 Max 0902$32.00
Which should you choose?
Which is better: Gemini 3.5 Flash, Grok 4.7 or Qwen3.8 Max 0902?
Gemini 3.5 Flash is the better all-round choice, scoring 67/100 against Qwen3.8 Max 0902 (63) and Grok 4.7 (61). It leads on capability and inputs & features. The score weighs capability 50%, price 25%, inputs & features 15%, context window 10%. Capability uses the average of shared benchmarks (GPQA Diamond, FrontierMath Tiers 1–3, OTIS Mock AIME 2024–2025 and SimpleQA Verified), because Grok 4.7 has no Capabilities Index score yet.
Which is cheaper, Gemini 3.5 Flash, Grok 4.7 or Qwen3.8 Max 0902?
Grok 4.7 is cheaper at $2.00 input / $6.00 output per million tokens (official xAI API price). Qwen3.8 Max 0902 costs $2.00 input / $6.00 output per million tokens (median across 6 API providers); Gemini 3.5 Flash costs $1.50 input / $9.00 output per million tokens (official Google API price). At a typical mix of three input tokens to one output token, that is $3.00 per million tokens for Grok 4.7 versus $3.00 for Qwen3.8 Max 0902 (1× as much) and $3.38 for Gemini 3.5 Flash (1.1× as much).
Which scores higher on benchmarks?
Not every model here has a Capabilities Index score, so we compare the average of shared benchmarks (GPQA Diamond, FrontierMath Tiers 1–3, OTIS Mock AIME 2024–2025 and SimpleQA Verified): Gemini 3.5 Flash 79.3%, Qwen3.8 Max 0902 76.3% and Grok 4.7 74.9%. On individual benchmarks: GPQA Diamond — Gemini 3.5 Flash 92.8%, Grok 4.7 92.7%, Qwen3.8 Max 0902 92.3%; FrontierMath Tiers 1–3 — Qwen3.8 Max 0902 65.6%, Gemini 3.5 Flash 62.8%, Grok 4.7 53.0%; OTIS Mock AIME 2024–2025 — Qwen3.8 Max 0902 100%, Grok 4.7 98.1%, Gemini 3.5 Flash 95.6%; SimpleQA Verified — Gemini 3.5 Flash 66.2%, Grok 4.7 56.0%, Qwen3.8 Max 0902 47.3%.
Which is better for coding?
There are no published SWE-bench Verified results for Grok 4.7 and Qwen3.8 Max 0902 yet, so there is no like-for-like coding score. On overall capability, Gemini 3.5 Flash 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 Qwen3.8 Max 0902 and 500,000 for Grok 4.7. Maximum output per response: Gemini 3.5 Flash up to 65,536, Grok 4.7 up to 500,000, Qwen3.8 Max 0902 up to 131,072 tokens.
Which can read images, PDFs, audio or video?
Gemini 3.5 Flash accepts text, images, PDFs, audio and video; Grok 4.7 accepts text, images and PDFs; Qwen3.8 Max 0902 accepts text, images, PDFs and video. Gemini 3.5 Flash handles the widest range of inputs.
Are any of these open source?
No. Gemini 3.5 Flash, Grok 4.7 and Qwen3.8 Max 0902 are proprietary and only available through APIs and apps.
Which is newer?
Grok 4.7 is the newest, released Sep 21, 2026. Qwen3.8 Max 0902 came out Sep 2, 2026; Gemini 3.5 Flash came out May 19, 2026. Knowledge cutoff: Gemini 3.5 Flash Jan 2025, Grok 4.7 May 2026.
How do you decide the winner?
Each model gets a 0–100 score on 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 Oct 4, 2026.