Models / Google/ Gemma 3 4B

Gemma 3 4B

Google · released Feb 20, 2025 · google/gemma-3-4b-it

Input: text and images. Output: text.InputOutput
Type
Open weightsGemma Terms of Use
Params
4.3B
Context
131K

about 98K words of context · download allowed, licence restricts use

Our take

Written Aug 3, 2026

Gemma 3 is a compact downloadable model from Google that accepts both text and images and returns text. It fits in small hardware footprints and carries a restricted licence that permits commercial use with limits.

Who should pick it

Pick this for budget vision-language tasks where hosted inference cost matters, or for lightweight deployment on edge or local hardware with its 4.3 billion parameters. Use it when you need up to 131,072 tokens in a single request at small-model scale. Skip it if you need a fully permissive licence like Apache 2.0, or if you need measured throughput guarantees on every endpoint.

The case for it

  • Extremely low hosted inference cost for a vision-language model, with three tracked offers at identical pricing.
  • 131,072-token request limit — no smaller-context variant listed in its class.
  • Multimodal input at small-model scale: text and images in, text out from 4.3 billion parameters.

The case against it

  • Only one of three tracked endpoints lists measured throughput; the rest are unverified in our data.
  • Gemma Terms of Use is not fully permissive — redistribution and modification terms are limited versus Apache 2.0 alternatives.
  • Arena scores trail top performers by substantial margins, with a 49.6-point gap between its text and maths results showing uneven capability.
00

How good is it?

IntelligencePuzzles, maths, exam questions

1 of 5

Arena Text (overall)123rd of 143 · 1303.4

Arena Hard Prompts 130th of 143Arena Maths 127th of 139

CodingWriting and fixing code on its own

1 of 5

Arena Coding140th of 143 · 1273.9

Arena Coding is the only board that has scored it for this.

AgenticPlanning, calling tools, staying on task

not measured

Nobody we watch has scored Gemma 3 4B for this. We would take the rating from Arena Agent (IPS).

WritingWe do not rate this

Scored, not ratedThe placings are on the right.

Two boards come close and neither tests writing: Arena Creative Writing asks people which of two replies they prefer, and LiveBench Language tests whether a model understood a passage. So we show where Gemma 3 4B placed and give it no mark out of five.

Arena Creative Writing 118th of 143 · 1275.4
Also scored, on boards we give no mark for
Arena Instruction Following 129th of 143

These tests check whether a model follows instructions — a precondition for all the work above, but not a measure of how well that work is done, which is why they get no rating.

Every published score for this model6 scoresEvery figure we hold, from 6 boards, with who ran it and a link to the source — including the boards no rating above is built on.
1273.9independentsource ↗
1283.9independentsource ↗
1253.8independentsource ↗
1303.4independentsource ↗
01

Can you run it yourself?

Fits in memory
weights load entirely on the card
Spills to system RAM
some weights offload; much slower
Too large
will not load even with offload
est
size is calculated; the verdict could change by 10%

Comfortable fit

A card many people ownFits in memory

GeForce RTX 4090 · 24 GB

Weights at Q4_K_M2.7 / 24 GBest
Spare memory18.7 GB spare
Usable context131K of 131K
Decode speed309 tok/sest

Room to spare. 18.7 GB spare means a 10% error in the size would not change the answer.

One step upFits in memory

GeForce RTX 5090 · 32 GB

Weights at Q4_K_M2.7 / 32 GBest
Spare memory26.7 GB spare
Usable context131K of 131K
Decode speed550 tok/sest

Room to spare. 26.7 GB spare means a 10% error in the size would not change the answer.

On a MacFits in memory

Apple M2 (8-core GPU, 8GB unified) · 8 GB

Weights at Q4_K_M2.7 / 8 GBest
Spare memory1.9 GB spare
Usable context33K of 131K
Decode speed27 tok/sest

Room to spare. 1.9 GB spare means a 10% error in the size would not change the answer.

Your hardware
Checking your profile…

Memory use by level

Against a 24 GB card.

Q4_K_M
recommended
2.7 GBest
Fits in memory
Q5_K_M
3.2 GBest
Fits in memory
Q8_0
4.8 GBest
Fits in memory

All 3 sizes here are calculated, not measured. We hold no measured file for this model, so each size comes from the parameter count and every verdict above inherits that uncertainty.

Check against your own machine → · All 71 devices, with every size →

02

Or rent it from someone else

Cheapest published offer

Cheapest of 3 live listings. Picked at the widest standard context we hold, within one quantisation slice, so the numbers beside it are a price one host actually charges.

per 1M tokens
$0.050 in / $0.10 out
Context served
131K
Throughput
Not measured
Current provider offers with price, context and prompt-privacy answers
ProviderIn / out per 1M tokensContextThroughputTrains on promptsLogs promptsZero retention
OpenRouter$0.050 / $0.10131Knot measuredUnknownUnknownUnknown
DeepInfrabf16$0.050 / $0.10131K24 tok/sNoNoConfirmed
DeepInfrabfloat16$0.050 / $0.10131Knot measuredUnknownUnknownUnknown

Across the 3 listings we hold: 1 say they do not train on prompts, 0 say they do and 2 do not say. 1 appear in the zero-retention registry we check; the rest are unknown to us rather than confirmed either way.

What each host's API supports

From the parameter list each endpoint publishes. Streaming is omitted: nothing we hold reports it, for any model.

Supported
Not supported
Not published
host gave no parameter list
API features per host
ProviderTool callingJSON outputStrict schema
OpenRouter
DeepInfrabf16
DeepInfrabfloat16

Tool calling: 0 of 3 listings say yes, 2 say no, 1 publishes no parameter list. JSON output: 2 of 3 listings say yes, 1 publishes no parameter list. Strict schema: 2 of 3 listings say yes, 1 publishes no parameter list.

03

Models people weigh against Gemma 3 4B

04

When we formed this view

Dates behind this page

Aug 2, 2026BenchmarkScored 1273.9 on Arena Codingleaderboard
Aug 2, 2026BenchmarkScored 1275.4 on Arena Creative Writingleaderboard
Aug 2, 2026BenchmarkScored 1283.9 on Arena Hard Promptsleaderboard
Aug 2, 2026BenchmarkScored 1267.6 on Arena Instruction Followingleaderboard
Aug 2, 2026BenchmarkScored 1253.8 on Arena Mathsleaderboard
Aug 2, 2026BenchmarkScored 1303.4 on Arena Text (overall)leaderboard
Jul 26, 2026ListedListed on LLMapfirst indexed by our pipeline
Feb 20, 2025AnnouncedGemma 3 4B announced by Google

Prices last checked 6h ago

What we do not know about this model yet

  • We hold no measured file for it, so all 3 sizes on this page are calculated from the parameter count.
  • 1 of 3 listings publish no parameter list, so what their API accepts is unknown to us.
  • Nothing we hold says whether an endpoint streams, so we do not show it either way.
  • 2 of 3 listings do not say whether they train on prompts.
  • We hold no cached-input rate for any of its listings.
05

Licence and identifiers

What the licence allowsGemma Terms of Use, what it allows commercially, and the identifiers you need to pull this model — its Hugging Face repo, our slug and a machine-readable card.

Licence

Gemma Terms of Use

restricted_openCommercial use allowed

Commercial use allowed, but Google's prohibited-use policy applies and can be updated over time — terms are less static than Apache/MIT.

Identifiers

Modality record
text+image->text
Catalogue slug
google-gemma-3-4b

Machine-readable model card (omc.json) →

Something wrong on this page? Tell us