Model comparison
Grok 4.7 vs Qwen 3.8 Max
SpaceXAI against Qwen, compared on context, price, and verified benchmark results.
Catalog record checked September 26, 2026Individual provider fields may changeEvidence confidence: High — see receipts below
SpaceXAI
Grok 4.7
Frontier
Qwen
Qwen 3.8 Max
Frontier · Open weights
| Specification | Grok 4.7 | Qwen 3.8 Max |
|---|---|---|
| Provider | ||
| Provider | SpaceXAI | Qwen |
| Tier | ||
| Tier | Frontier | Frontier |
| Context window | ||
| Context window | 500K | Winner: 1M |
| Max output | ||
| Max output | Not verifiedUnverified | 131K |
| Input / 1M tokens | ||
| Input / 1M tokens | $2 | $2 |
| Output / 1M tokens | ||
| Output / 1M tokens | $6 | $6 |
| Weights | ||
| Weights | Closed | Open |
| Parameters | ||
| Parameters | new, larger base model with longer RL on multi-hour tasks | 2.4T total / 95B active (MoE) |
| Reasoning levels | ||
| Reasoning levels | low, medium, high, xhigh | low, high, max |
| Modalities | ||
| Modalities | text, image | text, image, video |
| API model id | ||
| API model id | grok-4.7 | qwen3.8-max |
| Released | ||
| Released | September 21, 2026 | August 3, 2026 |
| Artificial Analysis Intelligence Index [xhigh] (2026-09-26) | ||
| Artificial Analysis Intelligence Index [xhigh] (2026-09-26) | 46.4 | Not verifiedUnverified |
| Artificial Analysis Intelligence Index (2026-09-26) | ||
| Artificial Analysis Intelligence Index (2026-09-26) | Not verifiedUnverified | 45.4 |
| DeepSWE 1.1 [high] (2026-09-21) | ||
| DeepSWE 1.1 [high] (2026-09-21) | 71 | Not verifiedUnverified |
| Terminal-Bench 4.0 [xhigh] (2026-09-26) | ||
| Terminal-Bench 4.0 [xhigh] (2026-09-26) | 25.8 | Not verifiedUnverified |
| Terminal-Bench 2.1 (2026-08-03) | ||
| Terminal-Bench 2.1 (2026-08-03) | Not verifiedUnverified | 86.6 |
| GPQA Diamond (2026-08-03) | ||
| GPQA Diamond (2026-08-03) | Not verifiedUnverified | 92.6 |
| Humanity's Last Exam (2026-08-14) | ||
| Humanity's Last Exam (2026-08-14) | Not verifiedUnverified | 56.2 |
| SWE-bench Verified (2026-09-01) | ||
| SWE-bench Verified (2026-09-01) | Not verifiedUnverified | 85.6 |
Prices are USD per million tokens at standard rates, excluding batch and caching discounts. Bold indicates the better figure where one is objectively better. Values we could not confirm from the provider are shown as “Not verified” rather than estimated.
Benchmark receipts
Where each score comes from, and how far it can be compared across models.
- 2026-09-26Artificial Analysis Terminal-Bench 4.0 (independent AA run, part of Intelligence Index v4.3.2)
Agentic terminal work: long multi-step tasks executed in a sandboxed shell environment.
Comparable with caveatNOT comparable with Terminal-Bench 2.x or 3.0 — 4.0 uses a new, non-overlapping task set. Within 4.0, scores from different harnesses (tbench.ai agent entries vs Artificial Analysis runs) are not interchangeable.
- 2026-09-26Artificial Analysis (0902 snapshot)
Composite index blending reasoning, knowledge, and coding evals into one 0–100 score.
Comparable with caveatOnly same-version scores are comparable. v4.3.2 was rebaselined (the top score fell from 66 on v4.1.1 to ~58), so v4.1.1 figures must not be compared with v4.3.2 figures — check measuredAt.
- 2026-09-21xAI — Grok 4.7 announcement (vendor; not yet on Datacurve's board)
Agentic software engineering: pass@1 on real repo tasks with reported cost per completed task.
Directly comparable
- 2026-09-01vals.ai SWE-bench Verified leaderboard (independent, mini-swe-agent bash-only); not published by Qwen (official used SWE-bench Pro 67.7)
Real GitHub issue resolution: does the model's patch pass the hidden tests.
Comparable with caveatPost-audit vendor claims and pre-audit scores sit on different task trust levels; scaffolding (agent harness, compute budget) also dominates results. Never aggregate across scaffolds.
- 2026-08-14Z.ai GLM-5.3 blog (independent Z.ai-run, with tools; Qwen official no-tools 43.6 — both preserved)
Frontier-knowledge ceiling: extremely hard multi-domain questions written to be near-impossible without deep expertise.
Comparable with caveatSubset/tool configurations (text-only vs with-tools) differ between vendors and materially change scores; must match configuration to compare.
- 2026-08-03Qwen official blog (vendor-run table)
Agentic terminal work: multi-step tasks executed in a sandboxed shell environment.
Comparable with caveatNot comparable with Terminal-Bench 3.0 or 4.0 (different task sets) or v1; harness configuration (container, time limits) also shifts results.
Pricing tiers
Grok 4.7: $2/$6 per MTok (<200K prompt); $4/$12 for all tokens at ≥200K. Cached input $0.50/MTok ($1.00 at ≥200K). US regional endpoint 1.1x. No Batch API; the 2x-price 'Fast' variant is Cursor and Grok Build only. xAI lists no separate text-output cap. Knowledge cutoff May 2026.
Qwen 3.8 Max: $2/$6 per MTok (Alibaba Cloud Model Studio). 1M context (up to 991K input), 131,072 max output. A dated snapshot qwen3.8-max-0902 is also listed; open weights shipped separately as Qwen3.8-2.4T-A95B.
Grok 4.7
Grok 4.7 is xAI's flagship since 2026-09-21 — a larger new base model with longer RL on multi-hour tasks, at Grok 4.6's $2/$6 price.
Best for
- Coding agents
- Cost-sensitive frontier work
- Cursor and GitHub Copilot users
Watch out
Token rates double above a 200K-token prompt and there is no Batch API; the DeepSWE figure is vendor-reported.
Qwen 3.8 Max
Qwen 3.8 Max is Alibaba's flagship — 2.4T MoE with 1M-class context, near frontier on the Intelligence Index.
Best for
- Open-weight frontier work
- Long-context
- Multimodal
Watch out
Open weights dropped 2026-08-12 under a custom (non-Apache) licence with vision and 1M-context stripped from the open checkpoint — the open checkpoint is not the full API model. Verify the licence before commercial use.
When the cheaper one wins
Both charge $6 per million output tokens at standard rates, so output price is not the split. Prefer the row whose “best for” line matches the job, then confirm the live vendor rate.
Run the model pickerEvidence confidence: High
How strong and complete the evidence behind this comparison is — not a prediction of which model is better.
- Pricing verified on both sides — Input and output rates are verified for both models.
- 4/5 core specs verified on both sides — Not published for at least one side: max output.
- 1 shared named benchmark (scores match) — Measured on: Artificial Analysis Intelligence Index — scores are equivalent, so the benchmark does not separate the pair.
- Verified within the last 90 days — Newest catalog check was 2 days ago.
- Both models carry source citations — Each side has at least two catalog sources on record.
Source receipts
Each catalog figure was checked against the provider or an independent second source on the date shown.
- Grok 4.7: xAI — Grok 4.7 (accessed 2026-09-26)
- Grok 4.7: xAI docs — grok-4.7 model card (accessed 2026-09-26)
- Grok 4.7: xAI pricing (grok-4.7 $2/$6, ≥200K $4/$12) (accessed 2026-09-26)
- Grok 4.7: GitHub changelog — Grok 4.7 in Copilot (2026-09-21) (accessed 2026-09-26)
- Qwen 3.8 Max: Qwen — Qwen 3.8 Max (accessed 2026-08-29)
- Qwen 3.8 Max: Alibaba Cloud Model Studio (accessed 2026-08-29)
- Qwen 3.8 Max: Alibaba Cloud Model Studio — text generation models (1M ctx, 131,072 out) (accessed 2026-09-26)
Related comparisons
- Claude Opus 5.5 vs Grok 4.7
- GLM 5.3 vs Grok 4.7
- GPT-6 Luna vs Grok 4.7
- GPT-6 Sol vs Grok 4.7
- Claude Fable 5.1 vs Grok 4.7
- Claude Fable 5.1 vs Qwen 3.8 Max
Diving deeper on one model? Grok 4.7 · Qwen 3.8 Max
Common questions
Grok 4.7 vs Qwen 3.8 Max
Answered from the verified figures on this page rather than general guidance.
Is Grok 4.7 or Qwen 3.8 Max cheaper for input?
Is Grok 4.7 or Qwen 3.8 Max cheaper for output?
Which has the larger context window, Grok 4.7 or Qwen 3.8 Max?
Do Grok 4.7 and Qwen 3.8 Max support the same reasoning levels?
Should I use Grok 4.7 or Qwen 3.8 Max?
Can I self-host Grok 4.7 or Qwen 3.8 Max?
Next step
Choosing between them
The verified figures that separate this pair, computed from the catalog rather than restated boilerplate.
- Context: Qwen 3.8 Max takes 1M against 500K for Grok 4.7 — only decisive if your prompts approach the smaller window.
- Deployment: Qwen 3.8 Max publishes weights you can self-host; the other is API-only.
Choosing a harness rather than a model — Cursor, Copilot, Claude Code, Windsurf, or Lovable? Compare agentic harnesses · Latest releases.