GPT-4.1 mini vs Magistral Small vs Qwen3 30B A3B
Too close to call on our weighted score (GPT-4.1 mini 59, Qwen3 30B A3B 57, Magistral Small 49). The right pick depends on what you value most.
OpenAI
GPT-4.1 mini
59/100- ECI134.9
- Price$0.40 / $1.60
- Context1.05M
Mistral AI
Magistral Small
49/100- ECI133.1
- Price$0.50 / $1.50
- Context131K
Alibaba (Qwen)
Qwen3 30B A3B
57/100- ECI136.2
- Price$0.108 / $0.475
- Context131K
Too close to call
It is close. Our weighted score puts them within 2 points (GPT-4.1 mini 59/100, Qwen3 30B A3B 57/100, Magistral Small 49/100), so choose by what matters most for your work: Qwen3 30B A3B for raw capability and GPT-4.1 mini for long inputs. The score weighs capability 50%, price 25%, inputs & features 15%, context window 10%.
- CapabilityQwen3 30B A3BCapabilities Index (ECI): Qwen3 30B A3B 136.2 · GPT-4.1 mini 134.9 · Magistral Small 133.1
- Lowest priceQwen3 30B A3BQwen3 30B A3B $0.20 · GPT-4.1 mini $0.70 · Magistral Small $0.75 per 1M tokens (3:1 blend)
- Longest contextGPT-4.1 miniGPT-4.1 mini 1,047,576 · Magistral Small 131,072 · Qwen3 30B A3B 131,072 tokens
- Widest inputsGPT-4.1 miniGPT-4.1 mini: Text, Images, PDFs · Magistral Small: Text · Qwen3 30B A3B: Text
- Self-hostingMagistral Small and Qwen3 30B A3BPublishes downloadable weights (Apache 2.0)
| Measure | Weight | GPT-4.1 mini | Magistral Small | Qwen3 30B A3B |
|---|---|---|---|---|
| CapabilityCapabilities Index (ECI) | 50% | 58 | 56 | 59 |
| Price | 25% | 55 | 53 | 80 |
| Inputs & features | 15% | 70 | 35 | 35 |
| Context window | 10% | 61 | 25 | 25 |
| Overall | 100% | 59/100 | 49/100 | 57/100 |
Every spec in one table
Highlighted cells lead their row. Dashes mean the data is not published.
| Specification | |||
|---|---|---|---|
| Capability | |||
| Capabilities Index (ECI) | 134.9 | 133.1 | 136.2 (best) |
| ECI rank | #129 of 165 | #134 of 165 | #126 of 165 (best) |
| GPQA DiamondGraduate-level science questions | 65.9% (best) | 56.1% | 61.7% |
| FrontierMath Tiers 1–3Research-level mathematics | 6.7% | — | — |
| OTIS Mock AIME 2024–2025Competition mathematics | 44.7% | 30.0% | 62.8% (best) |
| SimpleQA VerifiedShort factual questions | 12.7% | — | — |
| Price per million tokens | |||
| Input | $0.40 | $0.50 | $0.108 (best) |
| Output | $1.60 | $1.50 | $0.475 (best) |
| Cached input | $0.10 | — | — |
| Blended (3:1) | $0.70 | $0.75 | $0.20 (best) |
| Long-context rate | Same rate | Same rate | Same rate |
| Price source | Official OpenAI API | Median of 1 providers | Median of 14 providers |
| Limits | |||
| Context window | 1,047,576 tokens (best) | 131,072 tokens | 131,072 tokens |
| Max output | 32,768 tokens (best) | 8,192 tokens | 16,384 tokens |
| Inputs and features | |||
| Text | Yes | Yes | Yes |
| Images | Yes | No | No |
| PDFs | Yes | No | No |
| Audio | No | No | No |
| Video | No | No | No |
| Reasoning | No | Yes | Yes |
| Tool calling | Yes | Yes | Yes |
| Structured output | Yes | No | No |
| Availability | |||
| Weights | Proprietary | OpenApache 2.0 | Open |
| API model ID | gpt-4.1-mini | — | — |
| API providers | 28 (best) | 2 | 14 |
| Released | Apr 14, 2025 | Jun 10, 2025 | Apr 28, 2025 |
| Knowledge cutoff | 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.
GPT-4.1 mini$7.20
Magistral Small$8.00
Qwen3 30B A3B$2.03
Which should you choose?
Which is better: GPT-4.1 mini, Magistral Small or Qwen3 30B A3B?
It is close. Our weighted score puts them within 2 points (GPT-4.1 mini 59/100, Qwen3 30B A3B 57/100, Magistral Small 49/100), so choose by what matters most for your work: Qwen3 30B A3B for raw capability and GPT-4.1 mini for long inputs. The score weighs capability 50%, price 25%, inputs & features 15%, context window 10%.
Which is cheaper, GPT-4.1 mini, Magistral Small or Qwen3 30B A3B?
Qwen3 30B A3B is cheaper at $0.108 input / $0.475 output per million tokens (median across 14 API providers). GPT-4.1 mini costs $0.40 input / $1.60 output per million tokens (official OpenAI API price); Magistral Small costs $0.50 input / $1.50 output per million tokens (median across 1 API provider). At a typical mix of three input tokens to one output token, that is $0.20 per million tokens for Qwen3 30B A3B versus $0.70 for GPT-4.1 mini (3.5× as much) and $0.75 for Magistral Small (3.8× as much).
Which scores higher on benchmarks?
Qwen3 30B A3B scores higher on the Capabilities Index (ECI): Qwen3 30B A3B 136.2 (#126 of 165), GPT-4.1 mini 134.9 (#129 of 165) and Magistral Small 133.1 (#134 of 165). The confidence ranges of the top two overlap (130.8–138.5 vs 131.1–136.4), so treat the gap as small. On individual benchmarks: GPQA Diamond — GPT-4.1 mini 65.9%, Qwen3 30B A3B 61.7%, Magistral Small 56.1%; OTIS Mock AIME 2024–2025 — Qwen3 30B A3B 62.8%, GPT-4.1 mini 44.7%, Magistral Small 30.0%.
Which is better for coding?
There are no published SWE-bench Verified results for GPT-4.1 mini, Magistral Small and Qwen3 30B A3B yet, so there is no like-for-like coding score. On overall capability, Qwen3 30B A3B 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 mini has the largest context window at 1,047,576 tokens, against 131,072 for Magistral Small and 131,072 for Qwen3 30B A3B. Maximum output per response: GPT-4.1 mini up to 32,768, Magistral Small up to 8,192, Qwen3 30B A3B up to 16,384 tokens.
Which can read images, PDFs, audio or video?
GPT-4.1 mini accepts text, images and PDFs; Magistral Small accepts text; Qwen3 30B A3B accepts text. GPT-4.1 mini handles the widest range of inputs.
Are any of these open source?
Magistral Small and Qwen3 30B A3B publishes its weights (Apache 2.0) and can be self-hosted; GPT-4.1 mini is proprietary.
Which is newer?
Magistral Small is the newest, released Jun 10, 2025. Qwen3 30B A3B came out Apr 28, 2025; GPT-4.1 mini came out Apr 14, 2025. Knowledge cutoff: GPT-4.1 mini 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 Nov 2, 2026.