ZMIME
Comparison · 3 models · Updated Dec 2, 2026

Gemma 3 27B IT vs GLM-4.7-Flash vs GPT-4.1 nano

GPT-4.1 nano comes out ahead, 55 to 50 and 50 on our weighted score, though Gemma 3 27B IT is 15% cheaper per token.GPT-4.1 nano comes out ahead, 43 to 36 and 35 on our weighted score, though Gemma 3 27B IT is 15% cheaper per token.

  1. Google

    Gemma 3 27B IT

    Released Mar 12, 2025

    50/100
    • ECI127.6
    • Price$0.099 / $0.299
    • Context131K
  2. Z.ai (Zhipu)

    GLM-4.7-Flash

    Released Jan 19, 2026

    50/100
    • ECI—
    • Price$0.07 / $0.40
    • Context203K
  3. Our pick

    OpenAI

    GPT-4.1 nano

    Released Apr 14, 2025

    55/100
    • ECI126.9
    • Price$0.10 / $0.40
    • Context1.05M
  4. Google

    Gemma 3 27B IT

    Released Mar 12, 2025

    35/100
    • ECI127.6
    • Price$0.099 / $0.299
    • Context131K
  5. Z.ai (Zhipu)

    GLM-4.7-Flash

    Released Jan 19, 2026

    36/100
    • ECI—
    • Price$0.07 / $0.40
    • Context203K
  6. Our pick

    OpenAI

    GPT-4.1 nano

    Released Apr 14, 2025

    43/100
    • ECI126.9
    • Price$0.10 / $0.40
    • Context1.05M
01 — Verdict

GPT-4.1 nano is our pick

GPT-4.1 nano is the better all-round choice, scoring 55/100 against GLM-4.7-Flash (50) and Gemma 3 27B IT (50). It leads on capability and context window. The score weighs capability 59%, price 29%, context window 12%. Capability uses the average of shared benchmarks (GPQA Diamond and OTIS Mock AIME 2024–2025), because GLM-4.7-Flash has no Capabilities Index score yet.GPT-4.1 nano is the better all-round choice, scoring 43/100 against GLM-4.7-Flash (36) and Gemma 3 27B IT (35). It leads on capability and context window. The score weighs capability 83%, context window 17%. Capability uses the average of shared benchmarks (GPQA Diamond and OTIS Mock AIME 2024–2025), because GLM-4.7-Flash has no Capabilities Index score yet.

  • CapabilityGPT-4.1 nanoShared benchmarks: GPT-4.1 nano 38.9% · Gemma 3 27B IT 35.1% · GLM-4.7-Flash 35.1%
  • Lowest priceGemma 3 27B ITGemma 3 27B IT $0.149 · GLM-4.7-Flash $0.152 · GPT-4.1 nano $0.175 per 1M tokens (3:1 blend)
  • Longest contextGPT-4.1 nanoGPT-4.1 nano 1,047,576 · GLM-4.7-Flash 202,752 · Gemma 3 27B IT 131,072 tokens
  • Widest inputsGemma 3 27B IT and GPT-4.1 nanoGemma 3 27B IT: Text, Images · GLM-4.7-Flash: Text · GPT-4.1 nano: Text, Images
  • Self-hostingGemma 3 27B IT and GLM-4.7-FlashPublishes downloadable weights
How the score is built
MeasureWeightGemma 3 27B ITGLM-4.7-FlashGPT-4.1 nano
CapabilityShared benchmarks59%353539
Price29%868583
Context window12%323965
Overall100%50/10050/10055/100

Left out because at least one model lacks the data: inputs & features. The remaining weights were rescaled.

How the score is built
MeasureWeightGemma 3 27B ITGLM-4.7-FlashGPT-4.1 nano
CapabilityShared benchmarks83%353539
Context window17%323965
Overall100%35/10036/10043/100

Left out because at least one model lacks the data: inputs & features. The remaining weights were rescaled.

02 — Side by side

Every spec in one table

Highlighted cells lead their row. Unavailable specifications are marked “Not published”. Publisher results include their evaluation settings and source.

Gemma 3 27B IT vs GLM-4.7-Flash vs GPT-4.1 nano specifications side by side
SpecificationGemma 3 27B ITGoogleGLM-4.7-FlashZ.ai (Zhipu)GPT-4.1 nanoOpenAI
Capability
Capabilities Index (ECI)127.6 (best)Not published126.9
ECI rank#150 of 167 (best)Not published#151 of 167
ECI confidence interval124.7–130.4Not published124.0–129.5
ECI evaluation dateMar 12, 2025Not publishedApr 14, 2025
Documented capabilitiesLargest open Gemma 3 instruction model for multilingual text generation and visual understandingBudget GLM lane for fast coding help, routing, and everyday automationTiny GPT-4.1 option for classification, routing, and very high-volume tasks
Model parametersNot publishedNot publishedNot published
Output modalitiesTextTextText
GPQA DiamondGraduate-level science questions47.7%45.1%none48.9% (best)
OTIS Mock AIME 2024–2025Competition mathematics22.5%25.0%none28.9% (best)
SimpleQA VerifiedShort factual questionsNot publishedNot published6.0%
Publisher-reported benchmarks
SWE-Bench VerifiedPublisher-reported resultNot published59.2resolvedReported resultNot published
Aider PolyglotPublisher-reported resultNot publishedNot published8.9percent correctReported resultApr 14, 2025
Price per million tokens
Input$0.099$0.07 (best)$0.10
Output$0.299 (best)$0.40$0.40
Cached inputNot publishedNot publishedNot published
Blended (3:1)$0.149 (best)$0.152$0.175
Long-context rateSame rateSame rateSame rate
Price sourceMedian of 15 providersMedian of 15 providersMedian of 18 providers
Limits
Context window131,072 tokens202,752 tokens1,047,576 tokens (best)
Max inputNot publishedNot publishedNot published
Max output131,072 tokens (best)131,072 tokens (best)32,768 tokens
Inputs and features
TextYesYesYes
ImagesYesNoYes
PDFsNoNoNo
AudioNoNoNo
VideoNoNoNo
ReasoningNoYesNo
Tool callingYesYesYes
Structured outputNot publishedNot publishedNot published
File attachmentsYesNoYes
Temperature controlYesYesYes
Reasoning controlNot publishedtoggleNot published
Availability
WeightsOpenOpenProprietary
API model IDNot publishedglm-4.7-flashNot published
API providers1522 (best)18
ReleasedMar 12, 2025Jan 19, 2026Apr 14, 2025
Knowledge cutoffAug 2024Apr 2025Apr 2024
Publisher documentationModel weightsPublisher documentation · Model weightsNot published
Source metadata updatedMar 12, 2025Jan 19, 2026Apr 14, 2025
Data sourcesmodels.dev · Epoch AImodels.dev · Epoch AImodels.dev · Epoch AI
Catalog checkedDec 2, 2026Dec 2, 2026Dec 2, 2026
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.59
  • GLM-4.7-Flash$1.50
  • GPT-4.1 nano$1.80
04 — Questions

Which should you choose?

Which is better: Gemma 3 27B IT, GLM-4.7-Flash or GPT-4.1 nano?

GPT-4.1 nano is the better all-round choice, scoring 55/100 against GLM-4.7-Flash (50) and Gemma 3 27B IT (50). It leads on capability and context window. The score weighs capability 59%, price 29%, context window 12%. Capability uses the average of shared benchmarks (GPQA Diamond and OTIS Mock AIME 2024–2025), because GLM-4.7-Flash has no Capabilities Index score yet.GPT-4.1 nano is the better all-round choice, scoring 43/100 against GLM-4.7-Flash (36) and Gemma 3 27B IT (35). It leads on capability and context window. The score weighs capability 83%, context window 17%. Capability uses the average of shared benchmarks (GPQA Diamond and OTIS Mock AIME 2024–2025), because GLM-4.7-Flash has no Capabilities Index score yet.

Which is cheaper, Gemma 3 27B IT, GLM-4.7-Flash or GPT-4.1 nano?

Gemma 3 27B IT is cheaper at $0.099 input / $0.299 output per million tokens (median across 15 API providers). GLM-4.7-Flash costs $0.07 input / $0.40 output per million tokens (median across 15 API providers; free on Z.AI); GPT-4.1 nano costs $0.10 input / $0.40 output per million tokens (median across 18 API providers). At a typical mix of three input tokens to one output token, that is $0.149 per million tokens for Gemma 3 27B IT versus $0.152 for GLM-4.7-Flash (1× as much) and $0.175 for GPT-4.1 nano (1.2× as much).

Which scores higher on benchmarks?

Not every model here has a Capabilities Index score, so we compare the average of shared benchmarks (GPQA Diamond and OTIS Mock AIME 2024–2025): GPT-4.1 nano 38.9%, Gemma 3 27B IT 35.1% and GLM-4.7-Flash 35.1%. On individual benchmarks: GPQA Diamond — GPT-4.1 nano 48.9%, Gemma 3 27B IT 47.7%, GLM-4.7-Flash 45.1%; OTIS Mock AIME 2024–2025 — GPT-4.1 nano 28.9%, GLM-4.7-Flash 25.0%, Gemma 3 27B IT 22.5%.

Which is better for coding?

There are no published SWE-bench Verified results for Gemma 3 27B IT, GLM-4.7-Flash and GPT-4.1 nano yet, so there is no like-for-like coding score. On overall capability, GPT-4.1 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 202,752 for GLM-4.7-Flash and 131,072 for Gemma 3 27B IT. Maximum output per response: Gemma 3 27B IT up to 131,072, GLM-4.7-Flash up to 131,072, GPT-4.1 nano up to 32,768 tokens.

Which can read images, PDFs, audio or video?

Gemma 3 27B IT accepts text and images; GLM-4.7-Flash accepts text; GPT-4.1 nano accepts text and images. Gemma 3 27B IT handles the widest range of inputs.

Are any of these open source?

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

Which is newer?

GLM-4.7-Flash is the newest, released Jan 19, 2026. 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, GLM-4.7-Flash Apr 2025, GPT-4.1 nano Apr 2024.

How do you decide the winner?

This rating uses capability (59%, independent benchmark results); price (29%, blended price per million tokens (3 input : 1 output), log scale); context window (12%, 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 Dec 2, 2026.This rating uses capability (83%, independent benchmark results); context window (17%, 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 Dec 2, 2026.