Model Comparison

Grok-4 Heavy vs Qwen3.5-397B-A17BWhich is better in 2026?

Grok-4 Heavy shows notably better performance in the majority of benchmarks.

Verdict: Grok-4 Heavy vs Qwen3.5-397B-A17B — which is better?

Grok-4 Heavy (by xAI) and Qwen3.5-397B-A17B (by Alibaba Cloud / Qwen Team) are two of the AI models people compare most. Here is how they stack up on benchmarks, price and capabilities, and which one to pick in 2026.

Grok-4 Heavy outperforms in 2 benchmarks (HMMT25, Humanity's Last Exam), while Qwen3.5-397B-A17B is better at 0 benchmarks. Grok-4 Heavy shows notably better performance in the majority of benchmarks.

Choose Grok-4 Heavy if…

  • you want the strongest raw capability — it leads on 2 of 3 shared benchmarks

Choose Qwen3.5-397B-A17B if…

  • you need open weights you can self-host or fine-tune

Performance Benchmarks

Comparative analysis across standard metrics

3 benchmarks

Grok-4 Heavy outperforms in 2 benchmarks (HMMT25, Humanity's Last Exam), while Qwen3.5-397B-A17B is better at 0 benchmarks.

Grok-4 Heavy shows notably better performance in the majority of benchmarks.

Mon Jul 27 2026 • llm-stats.com

Arena Performance

Human preference votes

Context Window

Maximum input and output token capacity

Only Qwen3.5-397B-A17B specifies input context (262,144 tokens). Only Qwen3.5-397B-A17B specifies output context (64,000 tokens).

xAI
Grok-4 Heavy
Input- tokens
Output- tokens
Alibaba Cloud / Qwen Team
Qwen3.5-397B-A17B
Input262,144 tokens
Output64,000 tokens
Mon Jul 27 2026 • llm-stats.com

Input Capabilities

Supported data types and modalities

Both Grok-4 Heavy and Qwen3.5-397B-A17B support multimodal inputs.

They are both capable of processing various types of data, offering versatility in application.

Grok-4 Heavy

Text
Images
Audio
Video

Qwen3.5-397B-A17B

Text
Images
Audio
Video

License

Usage and distribution terms

Grok-4 Heavy is licensed under a proprietary license, while Qwen3.5-397B-A17B uses Apache 2.0.

License differences may affect how you can use these models in commercial or open-source projects.

Grok-4 Heavy

Proprietary

Closed source

Qwen3.5-397B-A17B

Apache 2.0

Open weights

Release Timeline

When each model was launched

Qwen3.5-397B-A17B was released on 2026-02-16, while Grok-4 Heavy's release date is not specified.

We can confirm Qwen3.5-397B-A17B's release timeline, but cannot make a direct age comparison without Grok-4 Heavy's release date.

Grok-4 Heavy

Qwen3.5-397B-A17B

Feb 16, 2026

5 months ago

Knowledge Cutoff

When training data ends

Grok-4 Heavy has a documented knowledge cutoff of 2024-12-31, while Qwen3.5-397B-A17B's cutoff date is not specified.

We can confirm Grok-4 Heavy's training data extends to 2024-12-31, but cannot make a direct comparison without Qwen3.5-397B-A17B's cutoff date.

Grok-4 Heavy

Dec 2024

Qwen3.5-397B-A17B

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

Key Takeaways

Higher HMMT25 score (96.7% vs 92.7%)
Higher Humanity's Last Exam score (50.7% vs 28.7%)
Alibaba Cloud / Qwen Team

Qwen3.5-397B-A17B

View details

Alibaba Cloud / Qwen Team

Larger context window (262,144 tokens)
Has open weights

Detailed Comparison

Interactive Arena

Judge for yourself.

Run your own prompts against Grok-4 Heavy and Qwen3.5-397B-A17B side-by-side, then vote on the output you prefer.

Grok-4 Heavy
✓ Preferred
Qwen3.5-397B-A17B
Open in Playground
AI Model Comparison Table
Feature
xAI
Grok-4 Heavy
Alibaba Cloud / Qwen Team
Qwen3.5-397B-A17B

FAQ

Common questions about Grok-4 Heavy vs Qwen3.5-397B-A17B.

Which is better, Grok-4 Heavy or Qwen3.5-397B-A17B?

Grok-4 Heavy shows notably better performance in the majority of benchmarks. Grok-4 Heavy is made by xAI and Qwen3.5-397B-A17B is made by Alibaba Cloud / Qwen Team. The best choice depends on your use case — compare their benchmark scores, pricing, and capabilities above.

How does Grok-4 Heavy compare to Qwen3.5-397B-A17B in benchmarks?

Grok-4 Heavy scores AIME 2025: 100.0%, HMMT25: 96.7%, GPQA: 88.4%, LiveCodeBench: 79.4%, USAMO25: 61.9%. Qwen3.5-397B-A17B scores MMLU-Redux: 94.9%, HMMT 2025: 94.8%, C-Eval: 93.0%, HMMT25: 92.7%, IFEval: 92.6%.

What are the context window sizes for Grok-4 Heavy and Qwen3.5-397B-A17B?

Grok-4 Heavy supports an unknown number of tokens and Qwen3.5-397B-A17B supports 262K tokens. A larger context window lets you process longer documents, conversations, or codebases in a single request.

What are the main differences between Grok-4 Heavy and Qwen3.5-397B-A17B?

Key differences include licensing (Proprietary vs Apache 2.0). See the full comparison above for benchmark-by-benchmark results.

Who makes Grok-4 Heavy and Qwen3.5-397B-A17B?

Grok-4 Heavy is developed by xAI and Qwen3.5-397B-A17B is developed by Alibaba Cloud / Qwen Team.