ZMIME
Comparison · 3 models · Updated Nov 2, 2026

GPT-4.1 mini vs Qwen3 30B A3B vs Magistral Small

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.

  1. OpenAI

    GPT-4.1 mini

    Released Apr 14, 2025

    59/100
    • ECI134.9
    • Price$0.40 / $1.60
    • Context1.05M
  2. Alibaba (Qwen)

    Qwen3 30B A3B

    Released Apr 28, 2025

    57/100
    • ECI136.2
    • Price$0.108 / $0.475
    • Context131K
  3. Mistral AI

    Magistral Small

    Released Jun 10, 2025

    49/100
    • ECI133.1
    • Price$0.50 / $1.50
    • Context131K
01 — Verdict

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 · Qwen3 30B A3B 131,072 · Magistral Small 131,072 tokens
  • Widest inputsGPT-4.1 miniGPT-4.1 mini: Text, Images, PDFs · Qwen3 30B A3B: Text · Magistral Small: Text
  • Self-hostingQwen3 30B A3B and Magistral SmallPublishes downloadable weights (Apache 2.0)
How the score is built
MeasureWeightGPT-4.1 miniQwen3 30B A3BMagistral Small
CapabilityCapabilities Index (ECI)50%585956
Price25%558053
Inputs & features15%703535
Context window10%612525
Overall100%59/10057/10049/100
02 — Side by side

Every spec in one table

Highlighted cells lead their row. Dashes mean the data is not published.

GPT-4.1 mini vs Qwen3 30B A3B vs Magistral Small specifications side by side
SpecificationGPT-4.1 miniOpenAIQwen3 30B A3BAlibaba (Qwen)Magistral SmallMistral AI
Capability
Capabilities Index (ECI)134.9136.2 (best)133.1
ECI rank#129 of 165#126 of 165 (best)#134 of 165
GPQA DiamondGraduate-level science questions65.9% (best)61.7%56.1%
FrontierMath Tiers 1–3Research-level mathematics6.7%——
OTIS Mock AIME 2024–2025Competition mathematics44.7%62.8% (best)30.0%
SimpleQA VerifiedShort factual questions12.7%——
Price per million tokens
Input$0.40$0.108 (best)$0.50
Output$1.60$0.475 (best)$1.50
Cached input$0.10——
Blended (3:1)$0.70$0.20 (best)$0.75
Long-context rateSame rateSame rateSame rate
Price sourceOfficial OpenAI APIMedian of 14 providersMedian of 1 providers
Limits
Context window1,047,576 tokens (best)131,072 tokens131,072 tokens
Max output32,768 tokens (best)16,384 tokens8,192 tokens
Inputs and features
TextYesYesYes
ImagesYesNoNo
PDFsYesNoNo
AudioNoNoNo
VideoNoNoNo
ReasoningNoYesYes
Tool callingYesYesYes
Structured outputYesNoNo
Availability
WeightsProprietaryOpenOpenApache 2.0
API model IDgpt-4.1-mini——
API providers28 (best)142
ReleasedApr 14, 2025Apr 28, 2025Jun 10, 2025
Knowledge cutoffApr 2024——
03 — Cost

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
  • Qwen3 30B A3B$2.03
  • Magistral Small$8.00
04 — Questions

Which should you choose?

Which is better: GPT-4.1 mini, Qwen3 30B A3B or Magistral Small?

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, Qwen3 30B A3B or Magistral Small?

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, Qwen3 30B A3B and Magistral Small 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 Qwen3 30B A3B and 131,072 for Magistral Small. Maximum output per response: GPT-4.1 mini up to 32,768, Qwen3 30B A3B up to 16,384, Magistral Small up to 8,192 tokens.

Which can read images, PDFs, audio or video?

GPT-4.1 mini accepts text, images and PDFs; Qwen3 30B A3B accepts text; Magistral Small accepts text. GPT-4.1 mini handles the widest range of inputs.

Are any of these open source?

Qwen3 30B A3B and Magistral Small 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.