Google, released Mar 13, 2025

Gemma 3 4B

Gemma 3 4B is Google's small open-weights model from March 2025 that takes both text and images and gives you text back. It sits way down at the cheap end of Google's lineup, costing a tiny fraction of what you'd pay for closed models like Gemini 3.7 Flash, Gemini 3.8 Flash, or the newer Gemini 4 family (Argon, Carbon, Hydrogen, Neon). It's built for everyday chat, basic reasoning, math, and light vision work.

Already paying for Gemini?

Gemma 3 4B costs $0.10 per 1M output tokens. Use Gemini 4 Argon through your Gemini plan instead, $0 per token.

Get your API key Free plan, no card needed

Updated

Gemma 3 4B pricing and specs

Input
$0.05per 1M tokens
Output
$0.10per 1M tokens
Context window
131K131,072 tokens
Max output
16K16,384 tokens
Released
Mar 13, 2025
Knowledge cutoff
Aug 2024
Accepts
TextImages
Features
Structured outputsOpen weights

What Gemma 3 4B is good at

  • Extracting structured JSON from text or images. It supports structured JSON natively, and at this price you can throw big batches at it without worrying about the bill.
  • Multilingual chat and text tasks, since Google trained it on a huge number of languages.
  • Basic image work - reading screenshots, describing photos, checking uploaded graphics - where paying for a Gemini 4 model would be overkill.
  • Long documents and long replies. It has a big context window for a model this small and can spit out very long responses in one go.

Good to know

  • The knowledge cutoff is August 2024, and the model came out in March 2025. So it knows nothing about recent events unless you pass that info into the prompt.
  • It reads images, not the other way around. Output is text only.
  • The weights are open (published as google/gemma-3-4b-it), so you're not stuck on an API forever if you ever decide to host it yourself.

Gemma 3 4B vs similar models

API price per 1M tokens
ModelInputOutputPlan2APIContext
Gemma 3 4B$0.05$0.10Not available131K
Gemini 4 Neon$3$15Not available1M
Gemini 4 Hydrogen$1.50$7.50Not available1M
Gemini 4 Carbon$4$20Not available1M
Gemini 4 Argon$4$20$0 on Gemini1M
Reka Edge$0.10$0.10Not available16K

Gemma 3 4B cost per month

Tokens a month at $0.05 input and $0.10 output per 1M
WorkloadAPI price
Side project2M in, 500K out$0.15
Production app25M in, 5M out$1.75
Agents at scale250M in, 50M out$17.50

FAQ

How much does the Gemma 3 4B API cost?

Gemma 3 4B costs $0.05 per 1M input tokens and $0.10 per 1M output tokens.

What is the Gemma 3 4B context window?

Gemma 3 4B takes 131,072 tokens of context, with up to 16,384 output tokens per request.

When was Gemma 3 4B released?

Google released Gemma 3 4B on Mar 13, 2025.

Can I use Gemma 3 4B with my subscription?

Plan2API turns Claude, ChatGPT, Gemini and Kimi subscriptions into one OpenAI-compatible API. Gemini 4 Argon runs through your Gemini plan at $0 per token instead.

Can I self-host Gemma 3 4B instead of using an API?

Yes. Google released it with open weights as google/gemma-3-4b-it, so you can pull it down and run it on your own hardware whenever you'd rather not pay per token through an API.

When should I move up to a Gemini model instead?

Whenever you need newer knowledge or more headroom than a small 2025 model has in it. Gemma 3 4B stops at August 2024, while Google's newer closed models like Gemini 3.7 Flash, Gemini 3.8 Flash, and the Gemini 4 lineup are much more recent, though you'll pay a lot more for them.

More Google models

All 22 Google models

Already paying for Gemini? Use Gemini 4 Argon through your plan, $0 per token.

  • Free: 1 subscription, no daily cap, no card
  • Pro: $12 a month

Gemini 4 Argon at $0 per tokenFree plan, no card needed

Get your API key

Guides

80