Claude Sonnet 3.7 vs Qwen3 235B-A22B vs GPT-4.1
Too close to call on our weighted score (GPT-4.1 53, Qwen3 235B-A22B 51, Claude Sonnet 3.7 50). The right pick depends on what you value most.
Anthropic
Claude Sonnet 3.7
50/100- ECI141.2
- Price$3.00 / $15.00
- Context200K
Alibaba (Qwen)
Qwen3 235B-A22B
51/100- ECI139.4
- Price$0.70 / $2.80
- Context131K
OpenAI
GPT-4.1
53/100- ECI136.8
- Price$2.00 / $8.00
- Context1.05M
Too close to call
It is close. Our weighted score puts them within 2 points (GPT-4.1 53/100, Qwen3 235B-A22B 51/100, Claude Sonnet 3.7 50/100), so choose by what matters most for your work: Claude Sonnet 3.7 for raw capability, Qwen3 235B-A22B on price and GPT-4.1 for long inputs. The score weighs capability 50%, price 25%, inputs & features 15%, context window 10%.
- CapabilityClaude Sonnet 3.7Capabilities Index (ECI): Claude Sonnet 3.7 141.2 · Qwen3 235B-A22B 139.4 · GPT-4.1 136.8
- Lowest priceQwen3 235B-A22BQwen3 235B-A22B $1.23 · GPT-4.1 $3.50 · Claude Sonnet 3.7 $6.00 per 1M tokens (3:1 blend)
- Longest contextGPT-4.1GPT-4.1 1,047,576 · Claude Sonnet 3.7 200,000 · Qwen3 235B-A22B 131,072 tokens
- Widest inputsClaude Sonnet 3.7 and GPT-4.1Claude Sonnet 3.7: Text, Images, PDFs · Qwen3 235B-A22B: Text · GPT-4.1: Text, Images, PDFs
- Self-hostingQwen3 235B-A22BPublishes downloadable weights
| Measure | Weight | Claude Sonnet 3.7 | Qwen3 235B-A22B | GPT-4.1 |
|---|---|---|---|---|
| CapabilityCapabilities Index (ECI) | 50% | 67 | 65 | 61 |
| Price | 25% | 13 | 46 | 24 |
| Inputs & features | 15% | 70 | 35 | 70 |
| Context window | 10% | 32 | 24 | 61 |
| Overall | 100% | 50/100 | 51/100 | 53/100 |
Every spec in one table
Highlighted cells lead their row. Dashes mean the data is not published.
| Specification | |||
|---|---|---|---|
| Capability | |||
| Capabilities Index (ECI) | 141.2 (best) | 139.4 | 136.8 |
| ECI rank | #96 of 148 (best) | #103 of 148 | #111 of 148 |
| GPQA DiamondGraduate-level science questions | 79.7% (best) | 70.7% | 66.9% |
| FrontierMath Tiers 1–3Research-level mathematics | — | — | 6.0% |
| OTIS Mock AIME 2024–2025Competition mathematics | 57.8% (best) | — | 38.3% |
| SWE-bench VerifiedFixing real GitHub issues | 61.0% (best) | — | 48.5% |
| SimpleQA VerifiedShort factual questions | — | — | 31.1% |
| Price per million tokens | |||
| Input | $3.00 | $0.70 (best) | $2.00 |
| Output | $15.00 | $2.80 (best) | $8.00 |
| Cached input | — | — | $0.50 |
| Blended (3:1) | $6.00 | $1.23 (best) | $3.50 |
| Long-context rate | Same rate | Same rate | Same rate |
| Price source | Median of 3 providers | Official Alibaba API | Official OpenAI API |
| Limits | |||
| Context window | 200,000 tokens | 131,072 tokens | 1,047,576 tokens (best) |
| Max output | 64,000 tokens (best) | 16,384 tokens | 32,768 tokens |
| Inputs and features | |||
| Text | Yes | Yes | Yes |
| Images | Yes | No | Yes |
| PDFs | Yes | No | Yes |
| Audio | No | No | No |
| Video | No | No | No |
| Reasoning | Yes | Yes | No |
| Tool calling | Yes | Yes | Yes |
| Structured output | No | No | Yes |
| Availability | |||
| Weights | Proprietary | Open | Proprietary |
| API model ID | — | qwen3-235b-a22b | gpt-4.1 |
| API providers | 3 | 7 | 25 (best) |
| Released | Feb 19, 2025 | Apr 28, 2025 | Apr 14, 2025 |
| Knowledge cutoff | Oct 31, 2024 | Apr 2025 | Apr 2024 |
What would a month cost?
Enter your expected volume in millions of tokens. List prices only; caching and batch discounts would lower these.
Claude Sonnet 3.7$60.00
Qwen3 235B-A22B$12.60
GPT-4.1$36.00
Which should you choose?
Which is better: Claude Sonnet 3.7, Qwen3 235B-A22B or GPT-4.1?
It is close. Our weighted score puts them within 2 points (GPT-4.1 53/100, Qwen3 235B-A22B 51/100, Claude Sonnet 3.7 50/100), so choose by what matters most for your work: Claude Sonnet 3.7 for raw capability, Qwen3 235B-A22B on price and GPT-4.1 for long inputs. The score weighs capability 50%, price 25%, inputs & features 15%, context window 10%.
Which is cheaper, Claude Sonnet 3.7, Qwen3 235B-A22B or GPT-4.1?
Qwen3 235B-A22B is cheaper at $0.70 input / $2.80 output per million tokens (official Alibaba API price). GPT-4.1 costs $2.00 input / $8.00 output per million tokens (official OpenAI API price); Claude Sonnet 3.7 costs $3.00 input / $15.00 output per million tokens (median across 3 API providers). At a typical mix of three input tokens to one output token, that is $1.23 per million tokens for Qwen3 235B-A22B versus $3.50 for GPT-4.1 (2.9× as much) and $6.00 for Claude Sonnet 3.7 (4.9× as much).
Which scores higher on benchmarks?
Claude Sonnet 3.7 scores higher on the Capabilities Index (ECI): Claude Sonnet 3.7 141.2 (#96 of 148), Qwen3 235B-A22B 139.4 (#103 of 148) and GPT-4.1 136.8 (#111 of 148). The confidence ranges of the top two overlap (138.7–142.9 vs 135.2–140.8), so treat the gap as small. On individual benchmarks: GPQA Diamond — Claude Sonnet 3.7 79.7%, Qwen3 235B-A22B 70.7%, GPT-4.1 66.9%.
Which is better for coding?
There are no published SWE-bench Verified results for Qwen3 235B-A22B yet, so there is no like-for-like coding score. On overall capability, Claude Sonnet 3.7 leads, which tends to carry over to coding, but test on your own codebase. All three support tool calling for agent workflows.
Which has the bigger context window?
GPT-4.1 has the largest context window at 1,047,576 tokens, against 200,000 for Claude Sonnet 3.7 and 131,072 for Qwen3 235B-A22B. Maximum output per response: Claude Sonnet 3.7 up to 64,000, Qwen3 235B-A22B up to 16,384, GPT-4.1 up to 32,768 tokens.
Which can read images, PDFs, audio or video?
Claude Sonnet 3.7 accepts text, images and PDFs; Qwen3 235B-A22B accepts text; GPT-4.1 accepts text, images and PDFs. Claude Sonnet 3.7 handles the widest range of inputs.
Are any of these open source?
Qwen3 235B-A22B publishes its weights and can be self-hosted; Claude Sonnet 3.7 and GPT-4.1 is proprietary.
Which is newer?
Qwen3 235B-A22B is the newest, released Apr 28, 2025. GPT-4.1 came out Apr 14, 2025; Claude Sonnet 3.7 came out Feb 19, 2025. Knowledge cutoff: Claude Sonnet 3.7 Oct 31, 2024, Qwen3 235B-A22B Apr 2025, GPT-4.1 Apr 2024.
How do you decide the winner?
Each model gets a 0–100 score on capability (50%, independent benchmark results); price (25%, blended price per million tokens (3 input : 1 output), log scale); inputs & features (15%, image, PDF, audio and video input, tool calling, structured output and reasoning); context window (10%, maximum tokens per request, log scale). Dimensions missing for any model are dropped and the remaining weights rescaled, so every model is judged on the same evidence. Specs and prices come from public model listings and the labs’ own API pages; capability scores come from independent benchmark runs. Data updated Oct 4, 2026.