head-to-head

SpaceXAI: Grok 4.7 vs Qwen: Qwen3.8 Max (0902)

Side-by-side comparison of specs, pricing, benchmark scores, and task rankings. Updated 2026-10-13.

SpaceXAI: Grok 4.7 Qwen: Qwen3.8 Max (0902)
Vendorx-aiqwen
Quality Score100100
Benchmark Score79.277.3
Input Price$2.00/M$2.00/M
Output Price$6.00/M$6.00/M
Context Window500,0001,000,000
Max Output450,000131,072
Tool Calling✓✓
Structured Output✓✓
Reasoning Mode✓✓
Vision✓✓
Audio--
Benchmark Scores
ai_index76.674.9

The verdict

For a sample job of 1 million input tokens and 250,000 output tokens, both cost $3.50 at current list prices.

Qwen3.8 Max (0902) reads up to 1,000,000 tokens at once, roughly 1,500 pages of text, against about 750 pages for Grok 4.7.

Only Qwen3.8 Max (0902) offers video input.

On our blended benchmark score Grok 4.7 leads 79.2 to 77.3.

Across the 17 tasks where they differ, Grok 4.7 scores higher on 17 (SQL Generation, Code Review, Code Refactoring and others).

Pick Grok 4.7 if you need benchmark performance or the stronger all-round task scores; pick Qwen3.8 Max (0902) if you need long documents or video input.

Costs use current list prices per million tokens; page counts assume about 0.75 words per token and 500 words per page.

Who wins by task?

TaskSpaceXAI: Grok 4.7Qwen: Qwen3.8 Max (0902)
SQL Generation 142 142
Code Review 146 146
Code Refactoring 148 148
Bug Fixing 150 150
Unit Test Generation 133 133
Code Documentation 137 137
Regex Writing 126 125
CI/CD Pipelines 129 129
Frontend Component Design 131 131
Data Analysis 135 135
CSV / Spreadsheet Cleanup 136 136
ETL Scripting 138 138
OCR / Document Parsing 134 134
Table Extraction from PDFs 134 134
Long-Document Summarization 149 149
Short-Form Summarization 118 118
Blog Post Writing 130 130

Scores reflect capability match + benchmark data + pricing for each task. Methodology →

Related comparisons

Meta: Muse Wonder vs SpaceXAI: Grok 4.7 Meta: Muse Wonder vs Qwen: Qwen3.8 Max (0902) StepFun: Step 5 Preview vs SpaceXAI: Grok 4.7 StepFun: Step 5 Preview vs Qwen: Qwen3.8 Max (0902) Anthropic: Claude Haiku 5.5 vs SpaceXAI: Grok 4.7 Anthropic: Claude Haiku 5.5 vs Qwen: Qwen3.8 Max (0902) Anthropic: Claude Haiku 5.5 (batch) vs SpaceXAI: Grok 4.7 Anthropic: Claude Haiku 5.5 (batch) vs Qwen: Qwen3.8 Max (0902)

The Model Movers Report

One email every Friday, built from this site's own rankings: the current top five by benchmark score, every model released in the last seven days, and one note worked out from that week's numbers. You can unsubscribe from any issue with one click.