Model Comparison

Qwen3.5-397B-A17B vs GPT-5.1 Codex

Both models are evenly matched across the benchmarks. Qwen3.5-397B-A17B is 2.5x cheaper per token.

Performance Benchmarks

Comparative analysis across standard metrics

2 benchmarks

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.

Thu Apr 16 2026 • llm-stats.com

Arena Performance

Human preference votes

Pricing Analysis

Price comparison per million tokens

Qwen3.5-397B-A17B costs less

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

Lowest available price from all providers
Thu Apr 16 2026 • llm-stats.com
Alibaba Cloud / Qwen Team
Qwen3.5-397B-A17B
Input tokens$0.60
Output tokens$3.60
Best providerNovita
OpenAI
GPT-5.1 Codex
Input tokens$1.25
Output tokens$10.00
Best providerOpenAI
Notice missing or incorrect data?Start an Issue

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.

Alibaba Cloud / Qwen Team
Qwen3.5-397B-A17B
Input262,144 tokens
Output64,000 tokens
OpenAI
GPT-5.1 Codex
Input400,000 tokens
Output128,000 tokens
Thu Apr 16 2026 • llm-stats.com

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

Text
Images
Audio
Video

GPT-5.1 Codex

Text
Images
Audio
Video

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.

Qwen3.5-397B-A17B

Apache 2.0

Open weights

GPT-5.1 Codex

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.

Qwen3.5-397B-A17B

Feb 16, 2026

1 months ago

2mo newer
GPT-5.1 Codex

Nov 19, 2025

4 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.

Qwen3.5-397B-A17B

GPT-5.1 Codex

Sep 2024

Provider Availability

Qwen3.5-397B-A17B is available from Novita. GPT-5.1 Codex is available from OpenAI.

Qwen3.5-397B-A17B

novita logo
Novita
Input Price:Input: $0.60/1MOutput Price:Output: $3.60/1M

GPT-5.1 Codex

openai logo
OpenAI
Input Price:Input: $1.25/1MOutput Price:Output: $10.00/1M
* Prices shown are per million tokens

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

Key Takeaways

Alibaba Cloud / Qwen Team

Qwen3.5-397B-A17B

View details

Alibaba Cloud / Qwen Team

Less expensive input tokens
Less expensive output tokens
Has open weights
Higher SWE-Bench Verified score (76.4% vs 73.7%)
Larger context window (400,000 tokens)
Higher Terminal-Bench 2.0 score (52.8% vs 52.5%)

Detailed Comparison

AI Model Comparison Table
Feature
Alibaba Cloud / Qwen Team
Qwen3.5-397B-A17B
OpenAI
GPT-5.1 Codex

FAQ

Common questions about Qwen3.5-397B-A17B vs GPT-5.1 Codex

Both models are evenly matched across the benchmarks. Qwen3.5-397B-A17B is made by Alibaba Cloud / Qwen Team and GPT-5.1 Codex is made by OpenAI. The best choice depends on your use case — compare their benchmark scores, pricing, and capabilities above.
Qwen3.5-397B-A17B scores MMLU-Redux: 94.9%, HMMT 2025: 94.8%, C-Eval: 93.0%, HMMT25: 92.7%, IFEval: 92.6%. GPT-5.1 Codex scores SWE-Bench Verified: 73.7%, SWE-Lancer: 66.3%, Terminal-Bench 2.0: 52.8%.
Qwen3.5-397B-A17B is 2.1x cheaper for input tokens. Qwen3.5-397B-A17B costs $0.60/M input and $3.60/M output via novita. GPT-5.1 Codex costs $1.25/M input and $10.00/M output via openai.
Qwen3.5-397B-A17B supports 262K tokens and GPT-5.1 Codex supports 400K tokens. A larger context window lets you process longer documents, conversations, or codebases in a single request.
Key differences include context window (262K vs 400K), input pricing ($0.60 vs $1.25/M), licensing (Apache 2.0 vs Proprietary). See the full comparison above for benchmark-by-benchmark results.
Qwen3.5-397B-A17B is developed by Alibaba Cloud / Qwen Team and GPT-5.1 Codex is developed by OpenAI.