head-to-head

SpaceXAI: Grok 4.7 vs Qwen: Qwen3.8 27B

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

SpaceXAI: Grok 4.7 Qwen: Qwen3.8 27B
Vendorx-aiqwen
Quality Score100100
Input Price$2.00/M$0.15/M
Output Price$6.00/M$1.88/M
Context Window500,0001,024,000
Max Output450,000235,929
Tool Calling✓✓
Structured Output✓✓
Reasoning Mode✓✓
Vision✓✓
Audio--

The verdict

For a sample job of 1 million input tokens and 250,000 output tokens, Qwen3.8 27B costs $0.62 and Grok 4.7 costs $3.50, so Qwen3.8 27B is about 5.7 times cheaper for the same work.

Qwen3.8 27B reads up to 1,024,000 tokens at once, roughly 1,536 pages of text, against about 750 pages for Grok 4.7.

Only Qwen3.8 27B offers video input.

Across the 10 tasks where they differ, Qwen3.8 27B on 10 (SQL Generation, Code Completion, Code Documentation and others).

Grok 4.7 was released in September 2026 and Qwen3.8 27B in August 2026.

Pick Qwen3.8 27B if you need lower cost, long documents, video input or the stronger all-round task scores.

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 27B
SQL Generation 133 133
Code Completion 118 131
Code Documentation 130 131
Regex Writing 118 119
CSV / Spreadsheet Cleanup 133 133
JSON Extraction 122 131
Bulk Data Labeling 119 129
Long-Document Summarization 137 137
Short-Form Summarization 114 123
Blog Post Writing 121 121

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

Related comparisons

Anthropic: Claude Haiku 5.5 (batch) vs SpaceXAI: Grok 4.7 Anthropic: Claude Haiku 5.5 vs SpaceXAI: Grok 4.7 Anthropic: Claude Opus 5.5 (batch) vs Qwen: Qwen3.8 27B Anthropic: Claude Opus 5.5 (batch) vs SpaceXAI: Grok 4.7 Anthropic: Claude Sonnet 5.5 (batch) vs SpaceXAI: Grok 4.7 Anthropic: Claude Sonnet 5.5 vs SpaceXAI: Grok 4.7 Cohere: Command A+ vs Qwen: Qwen3.8 27B Cohere: Command A+ vs SpaceXAI: Grok 4.7

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.