ZMIME
Comparison · 3 models · Updated Nov 18, 2026

Gemma 3 27B IT vs GPT-4.1 nano vs GPT-5 Nano

GPT-5 Nano comes out ahead, 65 to 58 and 52 on our weighted score, and it is the cheaper option too.

Price in rating: Excluded · Include price

  1. Google

    Gemma 3 27B IT

    Released Mar 12, 2025

    52/100
    • ECI127.5
    • Price$0.10 / $0.299
    • Context131K
  2. OpenAI

    GPT-4.1 nano

    Released Apr 14, 2025Deprecated

    58/100
    • ECI126.8
    • Price$0.10 / $0.40
    • Context1.05M
  3. Our pick

    OpenAI

    GPT-5 Nano

    Released Aug 7, 2025

    65/100
    • ECI139.1
    • Price$0.05 / $0.40
    • Context400K
01 — Verdict

GPT-5 Nano is our pick

GPT-5 Nano is the better all-round choice, scoring 65/100 against GPT-4.1 nano (58) and Gemma 3 27B IT (52). It leads on capability and inputs & features. GPT-4.1 nano wins on context window. The score weighs capability 67%, inputs & features 20%, context window 13%.

  • CapabilityGPT-5 NanoCapabilities Index (ECI): GPT-5 Nano 139.1 · Gemma 3 27B IT 127.5 · GPT-4.1 nano 126.8
  • Lowest priceGPT-5 NanoGPT-5 Nano $0.138 · Gemma 3 27B IT $0.15 · GPT-4.1 nano $0.175 per 1M tokens (3:1 blend)
  • Longest contextGPT-4.1 nanoGPT-4.1 nano 1,047,576 · GPT-5 Nano 400,000 · Gemma 3 27B IT 131,072 tokens
  • Widest inputsSame inputsGemma 3 27B IT: Text, Images · GPT-4.1 nano: Text, Images · GPT-5 Nano: Text, Images
  • Self-hostingGemma 3 27B ITPublishes downloadable weights
How the score is built
MeasureWeightGemma 3 27B ITGPT-4.1 nanoGPT-5 Nano
CapabilityCapabilities Index (ECI)67%565567
Inputs & features20%506070
Context window13%326550
Overall100%52/10058/10065/100
02 — Side by side

Every spec in one table

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

Gemma 3 27B IT vs GPT-4.1 nano vs GPT-5 Nano specifications side by side
SpecificationGemma 3 27B ITGoogleGPT-4.1 nanoOpenAIGPT-5 NanoOpenAI
Capability
Capabilities Index (ECI)127.5126.8139.1 (best)
ECI rank#141 of 158#142 of 158#117 of 158 (best)
GPQA DiamondGraduate-level science questions47.7%48.9%69.4% (best)
FrontierMath Tiers 1–3Research-level mathematics——20.0%
OTIS Mock AIME 2024–2025Competition mathematics22.5%28.9%81.1% (best)
SimpleQA VerifiedShort factual questions—6.0%11.7% (best)
Price per million tokens
Input$0.10$0.10$0.05 (best)
Output$0.299 (best)$0.40$0.40
Cached input—$0.025$0.005 (best)
Blended (3:1)$0.15$0.175$0.138 (best)
Long-context rateSame rateSame rateSame rate
Price sourceMedian of 17 providersOfficial OpenAI APIOfficial OpenAI API
Limits
Context window131,072 tokens1,047,576 tokens (best)400,000 tokens
Max output131,072 tokens (best)32,768 tokens128,000 tokens
Inputs and features
TextYesYesYes
ImagesYesYesYes
PDFsNoNoNo
AudioNoNoNo
VideoNoNoNo
ReasoningNoNoYesminimal · low · medium · high
Tool callingYesYesYes
Structured outputNoYesYes
Availability
WeightsOpenProprietaryProprietary
API model ID—gpt-4.1-nanogpt-5-nano
API providers182230 (best)
ReleasedMar 12, 2025Apr 14, 2025Aug 7, 2025
Knowledge cutoffAug 2024Apr 2024May 30, 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.

  • Gemma 3 27B IT$1.60
  • GPT-4.1 nano$1.80
  • GPT-5 Nano$1.30
04 — Questions

Which should you choose?

Which is better: Gemma 3 27B IT, GPT-4.1 nano or GPT-5 Nano?

GPT-5 Nano is the better all-round choice, scoring 65/100 against GPT-4.1 nano (58) and Gemma 3 27B IT (52). It leads on capability and inputs & features. GPT-4.1 nano wins on context window. The score weighs capability 67%, inputs & features 20%, context window 13%.

Which is cheaper, Gemma 3 27B IT, GPT-4.1 nano or GPT-5 Nano?

GPT-5 Nano is cheaper at $0.05 input / $0.40 output per million tokens (official OpenAI API price). Gemma 3 27B IT costs $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). At a typical mix of three input tokens to one output token, that is $0.138 per million tokens for GPT-5 Nano versus $0.15 for Gemma 3 27B IT (1.1× as much) and $0.175 for GPT-4.1 nano (1.3× as much).

Which scores higher on benchmarks?

GPT-5 Nano scores higher on the Capabilities Index (ECI): GPT-5 Nano 139.1 (#117 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 (137.2–140.9 vs 124.4–130.3), so the gap is a real one. On individual benchmarks: GPQA Diamond — GPT-5 Nano 69.4%, GPT-4.1 nano 48.9%, Gemma 3 27B IT 47.7%; OTIS Mock AIME 2024–2025 — GPT-5 Nano 81.1%, 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 Gemma 3 27B IT, GPT-4.1 nano and GPT-5 Nano yet, so there is no like-for-like coding score. On overall capability, GPT-5 Nano 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 400,000 for GPT-5 Nano and 131,072 for Gemma 3 27B IT. Maximum output per response: Gemma 3 27B IT up to 131,072, GPT-4.1 nano up to 32,768, GPT-5 Nano up to 128,000 tokens.

Which can read images, PDFs, audio or video?

Gemma 3 27B IT accepts text and images; GPT-4.1 nano accepts text and images; GPT-5 Nano accepts text and images. They handle the same number of input types.

Are any of these open source?

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

Which is newer?

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

How do you decide the winner?

This rating uses capability (67%, independent benchmark results); inputs & features (20%, image, PDF, audio and video input, tool calling, structured output and reasoning); context window (13%, 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.