Price Per TokenPrice Per Token
Qwen
Qwen
vs
Xai
Xai

Qwen3.5 397B A17B vs Grok Code Fast 1

A detailed comparison of pricing, benchmarks, and capabilities

108 out of our 483 tracked models have had a price change in March.

Get our weekly newsletter on pricing changes, new releases, and tools.

Key Takeaways

Qwen3.5 397B A17B wins:

  • Cheaper output tokens
  • Larger context window
  • Higher intelligence benchmark
  • Better at coding
  • Supports vision

Grok Code Fast 1 wins:

  • Cheaper input tokens
  • Faster response time
  • Better at math
  • Has reasoning mode
Price Advantage
Qwen3.5 397B A17B
Benchmark Advantage
Qwen3.5 397B A17B
Context Window
Qwen3.5 397B A17B
Speed
Grok Code Fast 1

Pricing Comparison

Price Comparison

MetricQwen3.5 397B A17BGrok Code Fast 1Winner
Input (per 1M tokens)$0.39$0.20 Grok Code Fast 1
Output (per 1M tokens)$0.90$1.50 Qwen3.5 397B A17B
Cache Read (per 1M)$0.45$0.02 Grok Code Fast 1
Using a 3:1 input/output ratio, Qwen3.5 397B A17B is 1% cheaper overall.

Qwen3.5 397B A17B Providers

No provider data available

Grok Code Fast 1 Providers

No provider data available

Benchmark Comparison

6
Benchmarks Compared
3
Qwen3.5 397B A17B Wins
0
Grok Code Fast 1 Wins

Benchmark Scores

BenchmarkQwen3.5 397B A17BGrok Code Fast 1Winner
Intelligence Index
Overall intelligence score
40.128.7
Coding Index
Code generation & understanding
37.423.7
Math Index
Mathematical reasoning
-43.3-
MMLU Pro
Academic knowledge
-79.3-
GPQA
Graduate-level science
86.172.7
LiveCodeBench
Competitive programming
-65.7-
Qwen3.5 397B A17B significantly outperforms in coding benchmarks.

Cost vs Quality

X-axis:
Y-axis:
Loading chart...
Other models

Context & Performance

Context Window

Qwen3.5 397B A17B
262,144
tokens
Grok Code Fast 1
256,000
tokens
Qwen3.5 397B A17B has a 2% larger context window.

Speed Performance

MetricQwen3.5 397B A17BGrok Code Fast 1Winner
Tokens/second55.5 tok/s171.7 tok/s
Time to First Token1.55s3.27s
Grok Code Fast 1 responds 209% faster on average.

Capabilities

Feature Comparison

FeatureQwen3.5 397B A17BGrok Code Fast 1
Vision (Image Input)
Tool/Function Calls
Reasoning Mode
Audio Input
Audio Output
PDF Input
Prompt Caching
Web Search

License & Release

PropertyQwen3.5 397B A17BGrok Code Fast 1
LicenseOpen SourceProprietary
AuthorQwenXai
ReleasedFeb 2026Aug 2025

Qwen3.5 397B A17B Modalities

Input
textimagevideo
Output
text

Grok Code Fast 1 Modalities

Input
text
Output
text

Related Comparisons

Compare Qwen3.5 397B A17B with:

Compare Grok Code Fast 1 with:

Frequently Asked Questions

Grok Code Fast 1 has cheaper input pricing at $0.20/M tokens. Qwen3.5 397B A17B has cheaper output pricing at $0.90/M tokens.
Qwen3.5 397B A17B scores higher on coding benchmarks with a score of 37.4, compared to Grok Code Fast 1's score of 23.7.
Qwen3.5 397B A17B has a 262,144 token context window, while Grok Code Fast 1 has a 256,000 token context window.
Qwen3.5 397B A17B supports vision. Grok Code Fast 1 does not support vision.