ZMIME
Comparison · 2 models · Updated Nov 22, 2026

Qwen2.5-Coder-0.5B vs Gemma 3 4B IT

No independent capability benchmark covers every model here yet. The score uses context window.

  1. Alibaba (Qwen)

    Qwen2.5-Coder-0.5B

    Released Nov 12, 2024

    11/100
    • ECI68.1
    • Price—
    • Context33K
  2. Google

    Gemma 3 4B IT

    Released Mar 12, 2025

    32/100
    • ECI—
    • Price$0.04 / $0.08
    • Context131K
  3. Alibaba (Qwen)

    Qwen2.5-Coder-0.5B

    Released Nov 12, 2024

    11/100
    • ECI68.1
    • Price—
    • Context33K
  4. Google

    Gemma 3 4B IT

    Released Mar 12, 2025

    32/100
    • ECI—
    • Price$0.04 / $0.08
    • Context131K
  5. Add a model

    Make it a three-way comparison.

01 — Verdict

Capability evidence is incomplete

There is not enough shared capability evidence to name an overall winner. The scores (Gemma 3 4B IT 32/100, Qwen2.5-Coder-0.5B 11/100) compare the available specifications and price. The score weighs context window 100%. None of the shared benchmarks cover every model here yet, so capability is left out of this verdict.There is not enough shared capability evidence to name an overall winner. The scores (Gemma 3 4B IT 32/100, Qwen2.5-Coder-0.5B 11/100) compare the available specifications only. The score weighs context window 100%. None of the shared benchmarks cover every model here yet, so capability is left out of this verdict.

  • CapabilityNot enough dataNo independent benchmark covers every model here yet
  • Lowest priceGemma 3 4B ITGemma 3 4B IT $0.05 per 1M tokens (3:1 blend) · Qwen2.5-Coder-0.5B unpriced
  • Longest contextGemma 3 4B ITGemma 3 4B IT 131,072 · Qwen2.5-Coder-0.5B 32,768 tokens
  • Widest inputsGemma 3 4B ITQwen2.5-Coder-0.5B: Text · Gemma 3 4B IT: Text, Images
  • Self-hostingAll open weightsEvery model here can be downloaded and run on your own hardware
How the score is built
MeasureWeightQwen2.5-Coder-0.5BGemma 3 4B IT
Context window100%1132
Specs & price only100%11/10032/100

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

How the score is built
MeasureWeightQwen2.5-Coder-0.5BGemma 3 4B IT
Context window100%1132
Specs only100%11/10032/100

Left out because at least one model lacks the data: capability and 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.

Qwen2.5-Coder-0.5B vs Gemma 3 4B IT specifications side by side
SpecificationQwen2.5-Coder-0.5BAlibaba (Qwen)Gemma 3 4B ITGoogle
Capability
Capabilities Index (ECI)68.1Not published
ECI rank#159 of 159Not published
ECI confidence interval48.4–83.9Not published
ECI evaluation dateSep 18, 2024Not published
Documented capabilitiesTiny open Qwen code model for lightweight completion and on-device codingOpen multimodal Gemma instruction model for efficient text generation and image understanding
Model parametersNot publishedNot published
Output modalitiesTextText
GPQA DiamondGraduate-level science questionsNot published23.2%
OTIS Mock AIME 2024–2025Competition mathematicsNot published7.5%
Price per million tokens
InputNot published$0.04
OutputNot published$0.08
Cached inputNot publishedNot published
Blended (3:1)Not published$0.05
Long-context rateNot publishedSame rate
Price sourceNot publishedMedian of 9 providers
Limits
Context window32,768 tokens131,072 tokens (best)
Max inputNot publishedNot published
Max output8,192 tokens131,072 tokens (best)
Inputs and features
TextYesYes
ImagesNoYes
PDFsNoNo
AudioNoNo
VideoNoNo
ReasoningNoNo
Tool callingNoYes
Structured outputNot publishedNot published
File attachmentsNoYes
Temperature controlYesYes
Reasoning controlNot publishedNot published
Availability
WeightsOpenApache 2.0Open
API model IDNot publishedNot published
API providersNot published10
ReleasedNov 12, 2024Mar 12, 2025
Knowledge cutoffNot publishedAug 2024
Publisher documentationModel weightsModel weights
Source metadata updatedNov 12, 2024Mar 12, 2025
Data sourcesmodels.dev · Epoch AImodels.dev · Epoch AI
Catalog checkedNov 22, 2026Nov 22, 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.

  • Qwen2.5-Coder-0.5B—
  • Gemma 3 4B IT$0.56
04 — Questions

Which should you choose?

Which is better: Qwen2.5-Coder-0.5B or Gemma 3 4B IT?

There is not enough shared capability evidence to name an overall winner. The scores (Gemma 3 4B IT 32/100, Qwen2.5-Coder-0.5B 11/100) compare the available specifications and price. The score weighs context window 100%. None of the shared benchmarks cover every model here yet, so capability is left out of this verdict.There is not enough shared capability evidence to name an overall winner. The scores (Gemma 3 4B IT 32/100, Qwen2.5-Coder-0.5B 11/100) compare the available specifications only. The score weighs context window 100%. None of the shared benchmarks cover every model here yet, so capability is left out of this verdict.

Which is cheaper, Qwen2.5-Coder-0.5B or Gemma 3 4B IT?

Gemma 3 4B IT is cheaper at $0.04 input / $0.08 output per million tokens (median across 9 API providers). . At a typical mix of three input tokens to one output token, that is $0.05 per million tokens for Gemma 3 4B IT versus . Qwen2.5-Coder-0.5B has no published per-token price.

Which scores higher on benchmarks?

There is no independent benchmark that covers both models yet. Qwen2.5-Coder-0.5B has an ECI of 68.1 and Gemma 3 4B IT has not been scored yet.

Which is better for coding?

There are no published SWE-bench Verified results for Qwen2.5-Coder-0.5B and Gemma 3 4B IT yet, so there is no like-for-like coding score. Test both on a sample of your own tasks. Note that Qwen2.5-Coder-0.5B has no confirmed tool-calling support in this comparison.

Which has the bigger context window?

Gemma 3 4B IT has the largest context window at 131,072 tokens, against 32,768 for Qwen2.5-Coder-0.5B. Maximum output per response: Qwen2.5-Coder-0.5B up to 8,192, Gemma 3 4B IT up to 131,072 tokens.

Which can read images, PDFs, audio or video?

Qwen2.5-Coder-0.5B accepts text; Gemma 3 4B IT accepts text and images. Gemma 3 4B IT handles the widest range of inputs.

Are any of these open source?

Yes, both publish their weights (Apache 2.0), so you can self-host them.

Which is newer?

Gemma 3 4B IT is the newest, released Mar 12, 2025. Qwen2.5-Coder-0.5B came out Nov 12, 2024. Knowledge cutoff: Gemma 3 4B IT Aug 2024.

How do you decide the winner?

This rating uses context window (100%, 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 22, 2026.