ZMIME
Comparison · 3 models · Updated Oct 4, 2026

GPT-4.1 mini vs Llama 4 Maverick 17B Instruct vs Magistral Small

Too close to call on our weighted score (GPT-4.1 mini 60, Llama 4 Maverick 17B Instruct 58, Magistral Small 50). The right pick depends on what you value most.

  1. OpenAI

    GPT-4.1 mini

    Released Apr 14, 2025

    60/100
    • ECI135.0
    • Price$0.40 / $1.60
    • Context1.05M
  2. Meta

    Llama 4 Maverick 17B Instruct

    Released Apr 5, 2025

    58/100
    • ECI132.2
    • Price$0.321 / $0.91
    • Context1M
  3. Mistral AI

    Magistral Small

    Released Jun 10, 2025

    50/100
    • ECI133.2
    • Price$0.50 / $1.50
    • Context131K
01 — Verdict

Too close to call

It is close. Our weighted score puts them within 3 points (GPT-4.1 mini 60/100, Llama 4 Maverick 17B Instruct 58/100, Magistral Small 50/100), so choose by what matters most for your work: GPT-4.1 mini for raw capability and Llama 4 Maverick 17B Instruct on price. The score weighs capability 50%, price 25%, inputs & features 15%, context window 10%.

  • CapabilityGPT-4.1 miniCapabilities Index (ECI): GPT-4.1 mini 135.0 · Magistral Small 133.2 · Llama 4 Maverick 17B Instruct 132.2
  • Lowest priceLlama 4 Maverick 17B InstructLlama 4 Maverick 17B Instruct $0.468 · 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 · Llama 4 Maverick 17B Instruct 1,000,000 · Magistral Small 131,072 tokens
  • Widest inputsGPT-4.1 miniGPT-4.1 mini: Text, Images, PDFs · Llama 4 Maverick 17B Instruct: Text, Images · Magistral Small: Text
  • Self-hostingLlama 4 Maverick 17B Instruct and Magistral SmallPublishes downloadable weights (Apache 2.0)
How the score is built
MeasureWeightGPT-4.1 miniLlama 4 Maverick 17B InstructMagistral Small
CapabilityCapabilities Index (ECI)50%595657
Price25%576656
Inputs & features15%705035
Context window10%616024
Overall100%60/10058/10050/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 Llama 4 Maverick 17B Instruct vs Magistral Small specifications side by side
SpecificationGPT-4.1 miniOpenAILlama 4 Maverick 17B InstructMetaMagistral SmallMistral AI
Capability
Capabilities Index (ECI)135.0 (best)132.2133.2
ECI rank#115 of 148 (best)#122 of 148#120 of 148
GPQA DiamondGraduate-level science questions65.9%67.0% (best)56.1%
FrontierMath Tiers 1–3Research-level mathematics6.7%——
OTIS Mock AIME 2024–2025Competition mathematics44.7% (best)20.6%30.0%
SimpleQA VerifiedShort factual questions12.7%——
Price per million tokens
Input$0.40$0.321 (best)$0.50
Output$1.60$0.91 (best)$1.50
Cached input$0.10——
Blended (3:1)$0.70$0.468 (best)$0.75
Long-context rateSame rateSame rateSame rate
Price sourceOfficial OpenAI APIMedian of 6 providersMedian of 1 providers
Limits
Context window1,047,576 tokens (best)1,000,000 tokens131,072 tokens
Max output32,768 tokens (best)16,384 tokens8,192 tokens
Inputs and features
TextYesYesYes
ImagesYesYesNo
PDFsYesNoNo
AudioNoNoNo
VideoNoNoNo
ReasoningNoNoYes
Tool callingYesYesYes
Structured outputYesNoNo
Availability
WeightsProprietaryOpenOpenApache 2.0
API model IDgpt-4.1-mini——
API providers24 (best)61
ReleasedApr 14, 2025Apr 5, 2025Jun 10, 2025
Knowledge cutoffApr 2024Aug 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
  • Llama 4 Maverick 17B Instruct$5.03
  • Magistral Small$8.00
04 — Questions

Which should you choose?

Which is better: GPT-4.1 mini, Llama 4 Maverick 17B Instruct or Magistral Small?

It is close. Our weighted score puts them within 3 points (GPT-4.1 mini 60/100, Llama 4 Maverick 17B Instruct 58/100, Magistral Small 50/100), so choose by what matters most for your work: GPT-4.1 mini for raw capability and Llama 4 Maverick 17B Instruct on price. The score weighs capability 50%, price 25%, inputs & features 15%, context window 10%.

Which is cheaper, GPT-4.1 mini, Llama 4 Maverick 17B Instruct or Magistral Small?

Llama 4 Maverick 17B Instruct is cheaper at $0.321 input / $0.91 output per million tokens (median across 6 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.468 per million tokens for Llama 4 Maverick 17B Instruct versus $0.70 for GPT-4.1 mini (1.5× as much) and $0.75 for Magistral Small (1.6× as much).

Which scores higher on benchmarks?

GPT-4.1 mini scores higher on the Capabilities Index (ECI): GPT-4.1 mini 135.0 (#115 of 148), Magistral Small 133.2 (#120 of 148) and Llama 4 Maverick 17B Instruct 132.2 (#122 of 148). The confidence ranges of the top two overlap (131.2–136.6 vs 128.9–134.4), so treat the gap as small. On individual benchmarks: GPQA Diamond — Llama 4 Maverick 17B Instruct 67.0%, GPT-4.1 mini 65.9%, Magistral Small 56.1%; OTIS Mock AIME 2024–2025 — GPT-4.1 mini 44.7%, Magistral Small 30.0%, Llama 4 Maverick 17B Instruct 20.6%.

Which is better for coding?

There are no published SWE-bench Verified results for GPT-4.1 mini, Llama 4 Maverick 17B Instruct and Magistral Small yet, so there is no like-for-like coding score. On overall capability, GPT-4.1 mini 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 1,000,000 for Llama 4 Maverick 17B Instruct and 131,072 for Magistral Small. Maximum output per response: GPT-4.1 mini up to 32,768, Llama 4 Maverick 17B Instruct 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; Llama 4 Maverick 17B Instruct accepts text and images; Magistral Small accepts text. GPT-4.1 mini handles the widest range of inputs.

Are any of these open source?

Llama 4 Maverick 17B Instruct 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. GPT-4.1 mini came out Apr 14, 2025; Llama 4 Maverick 17B Instruct came out Apr 5, 2025. Knowledge cutoff: GPT-4.1 mini Apr 2024, Llama 4 Maverick 17B Instruct Aug 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.