Qwen3.5-397B-A17B vs GPT-5.1 Codex Comparison
Comparing Qwen3.5-397B-A17B and GPT-5.1 Codex across benchmarks, pricing, and capabilities.
Performance Benchmarks
Comparative analysis across standard metrics
Qwen3.5-397B-A17B outperforms in 1 benchmarks (SWE-Bench Verified), while GPT-5.1 Codex is better at 1 benchmark (Terminal-Bench 2.0).
Both models are evenly matched across the benchmarks.
Arena Performance
Human preference votes
Pricing Analysis
Price comparison per million tokens
For input processing, Qwen3.5-397B-A17B ($0.60/1M tokens) is 2.1x cheaper than GPT-5.1 Codex ($1.25/1M tokens).
For output processing, Qwen3.5-397B-A17B ($3.60/1M tokens) is 2.8x cheaper than GPT-5.1 Codex ($10.00/1M tokens).
In conclusion, GPT-5.1 Codex is more expensive than Qwen3.5-397B-A17B.*
* Using a 3:1 ratio of input to output tokens
Context Window
Maximum input and output token capacity
GPT-5.1 Codex accepts 400,000 input tokens compared to Qwen3.5-397B-A17B's 262,144 tokens. GPT-5.1 Codex can generate longer responses up to 128,000 tokens, while Qwen3.5-397B-A17B is limited to 64,000 tokens.
Input Capabilities
Supported data types and modalities
Both Qwen3.5-397B-A17B and GPT-5.1 Codex support multimodal inputs.
They are both capable of processing various types of data, offering versatility in application.
Qwen3.5-397B-A17B
GPT-5.1 Codex
License
Usage and distribution terms
Qwen3.5-397B-A17B is licensed under Apache 2.0, while GPT-5.1 Codex uses a proprietary license.
License differences may affect how you can use these models in commercial or open-source projects.
Apache 2.0
Open weights
Proprietary
Closed source
Release Timeline
When each model was launched
Qwen3.5-397B-A17B was released on 2026-02-16, while GPT-5.1 Codex was released on 2025-11-19.
Qwen3.5-397B-A17B is 3 months newer than GPT-5.1 Codex.
Feb 16, 2026
4 weeks ago
2mo newerNov 19, 2025
3 months ago
Knowledge Cutoff
When training data ends
GPT-5.1 Codex has a documented knowledge cutoff of 2024-09-30, while Qwen3.5-397B-A17B's cutoff date is not specified.
We can confirm GPT-5.1 Codex's training data extends to 2024-09-30, but cannot make a direct comparison without Qwen3.5-397B-A17B's cutoff date.
—
Sep 2024
Provider Availability
Qwen3.5-397B-A17B is available from Novita. GPT-5.1 Codex is available from OpenAI. The availability of providers can affect quality of the model and reliability.
Qwen3.5-397B-A17B
GPT-5.1 Codex
Outputs Comparison
Key Takeaways
Qwen3.5-397B-A17B
View detailsAlibaba Cloud / Qwen Team
Detailed Comparison
| Feature |
|---|