Gemma 3 4B — API Pricing, Context Window & Specifications
Gemma 3 4B by Google: $0.05 per 1M input tokens, $0.10 per 1M output tokens, 131K token context window, monthly workload cost estimates and rival LLM comparisons.
$0.05Input / 1M
$0.10Output / 1M
131KContext
16KMax Output
GoogleProvider
text+image->textModality
Gemma 3 4B token cost by volume
| Token volume | Input cost | Output cost |
|---|---|---|
| 10K tokens | $0.0005 | $0.0010 |
| 100K tokens | $0.0050 | $0.01 |
| 1M tokens | $0.05 | $0.10 |
| 10M tokens | $0.50 | $1.00 |
| 100M tokens | $5.00 | $10.00 |
| Workload scenario (30 days) | Est. monthly bill |
|---|---|
| Customer chatbot (1,000 chats/day · 1.5K in + 500 out) | $3.75 |
| Enterprise RAG search (5,000 queries/day · 4K in + 600 out) | $39.00 |
| Coding / agentic workflow (500 runs/day · 12K in + 2K out) | $12.00 |
Gemma 3 4B (4B) local GPU VRAM requirements
| Precision / Quantization | Model weights | Est. VRAM (with 8K KV cache) | Recommended GPU / Memory tier |
|---|---|---|---|
| FP16 / BF16 (16-bit) | 8.0 GB | 10.0 GB | RTX 3060 12GB / RTX 4070 12GB / Mac 16GB |
| INT8 / Q8_0 (8-bit) | 4.2 GB | 5.7 GB | RTX 3060 8GB / Mac M1–M4 8GB |
| Q6_K (6-bit) | 3.3 GB | 4.6 GB | RTX 3060 8GB / Mac M1–M4 8GB |
| Q4_K_M (4-bit) | 2.3 GB | 3.5 GB | RTX 3060 8GB / Mac M1–M4 8GB |
More models from Google
- Gemini Hydrogen Latest
- Gemini Carbon Latest
- Gemini Neon Latest
- Gemini 4 Neon
- Gemini 4 Hydrogen
- Gemini 4 Carbon
- Gemini Omni 1.2 Flash
- Gemini Omni 1.1 Flash
- Gemini 4 Argon
- Nano Banana 2.1
- Gemini 3.8 Flash
- Gemini 3.7 Flash
Frequently asked questions
How much does the Gemma 3 4B API cost per million tokens?
Gemma 3 4B (Google) is priced at $0.05 per 1 million input tokens and $0.10 per 1 million output tokens.
What is Gemma 3 4B's maximum context window and output limit?
Gemma 3 4B supports a context window of 131,072 tokens with up to 16,384 maximum completion tokens (text+image->text).