Price Per TokenPrice Per Token
OpenAI
OpenAI
vs
Qwen
Qwen

GPT-5.1-Codex vs Qwen-Max

A detailed comparison of pricing, benchmarks, and capabilities

OpenClaw

Best LLMs for OpenClaw Vote for which model works best with OpenClaw

112 out of our 301 tracked models have had a price change in February.

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

Key Takeaways

GPT-5.1-Codex wins:

  • Cheaper input tokens
  • Larger context window
  • Faster response time
  • Higher intelligence benchmark
  • Better at coding
  • Better at math
  • Supports vision

Qwen-Max wins:

  • Cheaper output tokens
Price Advantage
GPT-5.1-Codex
Benchmark Advantage
GPT-5.1-Codex
Context Window
GPT-5.1-Codex
Speed
GPT-5.1-Codex

Pricing Comparison

Price Comparison

MetricGPT-5.1-CodexQwen-MaxWinner
Input (per 1M tokens)$1.25$1.60 GPT-5.1-Codex
Output (per 1M tokens)$10.00$6.40 Qwen-Max
Cache Read (per 1M)$125000.00$320000.00 GPT-5.1-Codex
Using a 3:1 input/output ratio, Qwen-Max is 19% cheaper overall.

GPT-5.1-Codex Providers

OpenAI $1.25 (Cheapest)
Azure $1.25 (Cheapest)

Qwen-Max Providers

Alibaba $1.60 (Cheapest)

Benchmark Comparison

8
Benchmarks Compared
4
GPT-5.1-Codex Wins
0
Qwen-Max Wins

Benchmark Scores

BenchmarkGPT-5.1-CodexQwen-MaxWinner
Intelligence Index
Overall intelligence score
42.216.3
Coding Index
Code generation & understanding
36.6--
Math Index
Mathematical reasoning
95.7--
MMLU Pro
Academic knowledge
86.076.2
GPQA
Graduate-level science
86.058.7
LiveCodeBench
Competitive programming
84.935.9
Aider
Real-world code editing
-21.8-
AIME
Competition math
-23.3-
GPT-5.1-Codex significantly outperforms in coding benchmarks.

Cost vs Quality

X-axis:
Y-axis:
Loading chart...
GPT-5.1-Codex
Other models

Context & Performance

Context Window

GPT-5.1-Codex
400,000
tokens
Max output: 128,000 tokens
Qwen-Max
32,768
tokens
Max output: 8,192 tokens
GPT-5.1-Codex has a 92% larger context window.

Speed Performance

MetricGPT-5.1-CodexQwen-MaxWinner
Tokens/second166.3 tok/s41.0 tok/s
Time to First Token15.87s1.15s
GPT-5.1-Codex responds 305% faster on average.

Capabilities

Feature Comparison

FeatureGPT-5.1-CodexQwen-Max
Vision (Image Input)
Tool/Function Calls
Reasoning Mode
Audio Input
Audio Output
PDF Input
Prompt Caching
Web Search

License & Release

PropertyGPT-5.1-CodexQwen-Max
LicenseProprietaryOpen Source
AuthorOpenAIQwen
ReleasedNov 2025Feb 2025

GPT-5.1-Codex Modalities

Input
textimage
Output
text

Qwen-Max Modalities

Input
text
Output
text

Related Comparisons

Compare GPT-5.1-Codex with:

Compare Qwen-Max with:

Frequently Asked Questions

GPT-5.1-Codex has cheaper input pricing at $1.25/M tokens. Qwen-Max has cheaper output pricing at $6.40/M tokens.
GPT-5.1-Codex scores higher on coding benchmarks with a score of 36.6, compared to Qwen-Max's score of N/A.
GPT-5.1-Codex has a 400,000 token context window, while Qwen-Max has a 32,768 token context window.
GPT-5.1-Codex supports vision. Qwen-Max does not support vision.