Google: Gemma 3 4B (Pretrained)
Gemma 3 4B (Pretrained) is a reasoning model from Google released on Feb 28, 2025. It reads text and writes text, with a 33K token context window and up to 33K tokens per reply.
Show moreShow less
It costs $0.15 per million input tokens and $0.15 per million output tokens. Cached input bills at $0.15, 0% less than fresh input.
It supports tool calling and prompt caching.
- Modalities
- In / out price
- $0.15 / $0.15 per 1M
- Context
- 33K
- Max output
- 33K
- Released
- Feb 28, 2025
- Knowledge cutoff
- n/a
- Tool calling
- Structured output
- Reasoning
- Prompt caching
- Open weights
- Free to use
Gemma 3 4B (Pretrained) pricing
USD, as listed on Oct 15, 2026. Most bills are input heavy, so the cached input rate matters as much as the headline price.
| Input | $0.15 / 1M tokens | |
|---|---|---|
| Output | $0.15 / 1M tokens | |
| Cached input (read) | $0.15 / 1M tokens | 0% off input |
| Cache write | $0.15 / 1M tokens |
What Gemma 3 4B (Pretrained) costs per month
Pick a workload close to yours or type your own volumes.
Supported request parameters
What you can set when you call Gemma 3 4B (Pretrained) through an OpenAI compatible API.
- Tools
tools - Reasoning
reasoning - Temperature
temperature
Alternatives to Gemma 3 4B (Pretrained)
Models that take the same inputs and call tools, closest in price, cheaper ones first.
- Index 10
Reads text. Tool calling, structured output, reasoning. Served by 35 providers.
by openaiJun 1, 2024128K context$0.07/M input tokens$0.30/M output tokens35 providers
- 256K context
Reads text. Tool calling, structured output, reasoning. Served by 6 providers.
by stepfunApr 2, 2026$0.10/M input tokens$0.30/M output tokens6 providers
- 256K context
Reads text. Tool calling, structured output, reasoning. Served by 13 providers.
by stepfunJan 29, 2026$0.10/M input tokens$0.30/M output tokens13 providers
- 262K context
Reads text. Tool calling, reasoning. Served by 2 providers.
by xiaomiDec 16, 2025$0.10/M input tokens$0.30/M output tokens2 providers
- 33K context
Reads text. Tool calling, reasoning.
by qwenMar 31, 2025$0.15/M input tokens$0.15/M output tokens
- 256K context
Reads text, images, audio and video. Tool calling, structured output, reasoning. Served by 7 providers.
by nvidiaApr 28, 2026$0.10/M input tokens$0.25/M output tokens7 providers
More from Google
Nano Banana 2.1
Image66K contextGenerates images from text, images and files. Served by 4 providers.
by googleOct 6, 2026$1.50/M input tokens$7.50/M output tokens4 providers
- 1.05M context
Reads text, images, files, audio and video. Tool calling, structured output, reasoning. Served by 13 providers.
by googleSep 30, 2026$2/M input tokens$10/M output tokens13 providers
Turns text into spoken audio.
by googleSep 23, 2026$0.50/M input tokens$6/M output tokens
Gemini 3.8 Flash TTS
SpeechTurns text into spoken audio.
by googleSep 23, 2026$0.50/M input tokens$9/M output tokens
- 262K context
Reads text. Reasoning.
by googleSep 19, 2026$0.05/M input tokens$0.15/M output tokens
- 262K context
Reads text and images. Tool calling, reasoning.
by googleSep 19, 2026$0.1056/M input tokens$0.3344/M output tokens
Gemma 3 4B (Pretrained) questions
How much does the Gemma 3 4B (Pretrained) API cost?
$0.15 per million input tokens and $0.15 per million output tokens, with cached input at $0.15. The estimator on this page turns that into a monthly bill for your own workload.
What is the context window of Gemma 3 4B (Pretrained)?
32,768 tokens of input, and it can write up to 32,768 tokens in one reply. As a rough guide, a million tokens is around 750,000 English words.
Does Gemma 3 4B (Pretrained) support tool calling?
Yes. It accepts tool definitions, which is what an agent needs to call your APIs.
Is Gemma 3 4B (Pretrained) open source?
No. Google serves it through an API only, so you cannot download the weights or host it yourself.
When was Gemma 3 4B (Pretrained) released?
Feb 28, 2025.
Catalog data from models.dev (MIT licensed), refreshed daily, last on Oct 15, 2026. The summary is written from these facts.
Building on Gemma 3 4B (Pretrained)?
I test your real tasks on it and the two closest alternatives, then ship the agent on whichever wins on cost and accuracy.
Book Meeting