ZMIME
Comparison · 3 models · Updated Nov 18, 2026

GPT-4.1 nano vs Qwen3 30B A3B vs Gemma 3 27B IT

GPT-4.1 nano comes out ahead, 64 to 60 and 59 on our weighted score, though Gemma 3 27B IT is 14% cheaper per token.

Price in rating: Included · Exclude price

  1. Our pick

    OpenAI

    GPT-4.1 nano

    Released Apr 14, 2025Deprecated

    64/100
    • ECI126.8
    • Price$0.10 / $0.40
    • Context1.05M
  2. Alibaba (Qwen)

    Qwen3 30B A3B

    Released Apr 28, 2025

    59/100
    • ECI134.2
    • Price$0.109 / $0.50
    • Context131K
  3. Google

    Gemma 3 27B IT

    Released Mar 12, 2025

    60/100
    • ECI127.5
    • Price$0.10 / $0.299
    • Context131K
01 — Verdict

GPT-4.1 nano is our pick

GPT-4.1 nano is the better all-round choice, scoring 64/100 against Gemma 3 27B IT (60) and Qwen3 30B A3B (59). It leads on inputs & features and context window. Qwen3 30B A3B wins on capability. Gemma 3 27B IT wins on price. The score weighs capability 50%, price 25%, inputs & features 15%, context window 10%.

  • CapabilityQwen3 30B A3BCapabilities Index (ECI): Qwen3 30B A3B 134.2 · Gemma 3 27B IT 127.5 · GPT-4.1 nano 126.8
  • Lowest priceGemma 3 27B ITGemma 3 27B IT $0.15 · GPT-4.1 nano $0.175 · Qwen3 30B A3B $0.206 per 1M tokens (3:1 blend)
  • Longest contextGPT-4.1 nanoGPT-4.1 nano 1,047,576 · Qwen3 30B A3B 131,072 · Gemma 3 27B IT 131,072 tokens
  • Widest inputsGPT-4.1 nano and Gemma 3 27B ITGPT-4.1 nano: Text, Images · Qwen3 30B A3B: Text · Gemma 3 27B IT: Text, Images
  • Self-hostingQwen3 30B A3B and Gemma 3 27B ITPublishes downloadable weights
How the score is built
MeasureWeightGPT-4.1 nanoQwen3 30B A3BGemma 3 27B IT
CapabilityCapabilities Index (ECI)50%556256
Price25%827985
Inputs & features15%603550
Context window10%653232
Overall100%64/10059/10060/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 nano vs Qwen3 30B A3B vs Gemma 3 27B IT specifications side by side
SpecificationGPT-4.1 nanoOpenAIQwen3 30B A3BAlibaba (Qwen)Gemma 3 27B ITGoogle
Capability
Capabilities Index (ECI)126.8134.2 (best)127.5
ECI rank#142 of 158#129 of 158 (best)#141 of 158
GPQA DiamondGraduate-level science questions48.9%61.7% (best)47.7%
OTIS Mock AIME 2024–2025Competition mathematics28.9%62.8% (best)22.5%
SimpleQA VerifiedShort factual questions6.0%——
Price per million tokens
Input$0.10 (best)$0.109$0.10 (best)
Output$0.40$0.50$0.299 (best)
Cached input$0.025——
Blended (3:1)$0.175$0.206$0.15 (best)
Long-context rateSame rateSame rateSame rate
Price sourceOfficial OpenAI APIMedian of 15 providersMedian of 17 providers
Limits
Context window1,047,576 tokens (best)131,072 tokens131,072 tokens
Max output32,768 tokens16,384 tokens131,072 tokens (best)
Inputs and features
TextYesYesYes
ImagesYesNoYes
PDFsNoNoNo
AudioNoNoNo
VideoNoNoNo
ReasoningNoYesNo
Tool callingYesYesYes
Structured outputYesNoNo
Availability
WeightsProprietaryOpenOpen
API model IDgpt-4.1-nano——
API providers22 (best)1518
ReleasedApr 14, 2025Apr 28, 2025Mar 12, 2025
Knowledge cutoffApr 2024—Aug 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 nano$1.80
  • Qwen3 30B A3B$2.09
  • Gemma 3 27B IT$1.60
04 — Questions

Which should you choose?

Which is better: GPT-4.1 nano, Qwen3 30B A3B or Gemma 3 27B IT?

GPT-4.1 nano is the better all-round choice, scoring 64/100 against Gemma 3 27B IT (60) and Qwen3 30B A3B (59). It leads on inputs & features and context window. Qwen3 30B A3B wins on capability. Gemma 3 27B IT wins on price. The score weighs capability 50%, price 25%, inputs & features 15%, context window 10%.

Which is cheaper, GPT-4.1 nano, Qwen3 30B A3B or Gemma 3 27B IT?

Gemma 3 27B IT is cheaper at $0.10 input / $0.299 output per million tokens (median across 17 API providers). GPT-4.1 nano costs $0.10 input / $0.40 output per million tokens (official OpenAI API price); Qwen3 30B A3B costs $0.109 input / $0.50 output per million tokens (median across 15 API providers). At a typical mix of three input tokens to one output token, that is $0.15 per million tokens for Gemma 3 27B IT versus $0.175 for GPT-4.1 nano (1.2× as much) and $0.206 for Qwen3 30B A3B (1.4× as much).

Which scores higher on benchmarks?

Qwen3 30B A3B scores higher on the Capabilities Index (ECI): Qwen3 30B A3B 134.2 (#129 of 158), Gemma 3 27B IT 127.5 (#141 of 158) and GPT-4.1 nano 126.8 (#142 of 158). Their confidence ranges do not overlap (131.5–136.8 vs 124.4–130.3), so the gap is a real one. On individual benchmarks: GPQA Diamond — Qwen3 30B A3B 61.7%, GPT-4.1 nano 48.9%, Gemma 3 27B IT 47.7%; OTIS Mock AIME 2024–2025 — Qwen3 30B A3B 62.8%, GPT-4.1 nano 28.9%, Gemma 3 27B IT 22.5%.

Which is better for coding?

There are no published SWE-bench Verified results for GPT-4.1 nano, Qwen3 30B A3B and Gemma 3 27B IT 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 nano has the largest context window at 1,047,576 tokens, against 131,072 for Qwen3 30B A3B and 131,072 for Gemma 3 27B IT. Maximum output per response: GPT-4.1 nano up to 32,768, Qwen3 30B A3B up to 16,384, Gemma 3 27B IT up to 131,072 tokens.

Which can read images, PDFs, audio or video?

GPT-4.1 nano accepts text and images; Qwen3 30B A3B accepts text; Gemma 3 27B IT accepts text and images. GPT-4.1 nano handles the widest range of inputs.

Are any of these open source?

Qwen3 30B A3B and Gemma 3 27B IT publishes its weights and can be self-hosted; GPT-4.1 nano is proprietary.

Which is newer?

Qwen3 30B A3B is the newest, released Apr 28, 2025. GPT-4.1 nano came out Apr 14, 2025; Gemma 3 27B IT came out Mar 12, 2025. Knowledge cutoff: GPT-4.1 nano Apr 2024, Gemma 3 27B IT Aug 2024.

How do you decide the winner?

This rating uses 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 18, 2026.