Google

Gemma 3 4B

$0.05 per 1M input tokens and $0.10 per 1M output tokens · 131K context · vision, JSON, open weights.

Prices checked Dec 6, 2026 · tracked by LLM Cost Index since Oct 21, 2026

$0.05
input / 1M tokens
$0.10
output / 1M tokens
131K
context window
16K
max output

What Gemma 3 4B costs per month

Estimated monthly bill for typical workloads. Try your own numbers in the cost calculator.

WorkloadPer month
Customer chatbot
1,000 conversations a day, 8 turns each
$26.40
Document Q&A (RAG)
500 questions a day over retrieved documents
$5.25
Coding / tool-using agent
200 tasks a day, long tool-heavy contexts
$20.40
Content generation
30 long articles a day
$0.36
Classification / extraction
100,000 short items a day
$49.50

Price history

Input price moved from $0.04 to $0.05 per 1M tokens since Oct 21, 2026. See all recent price changes.

Where to run Gemma 3 4B: 4 providers

DeepInfra is the cheapest at $0.04 input / $0.08 output per 1M tokens. Uptime is the average over the last 30 days as reported by OpenRouter; see provider reliability.

ProviderInput / 1MOutput / 1MContextUptimeNotes
DeepInfra$0.04$0.08131K100% flex tier, bf16
Parasail$0.04$0.05131K94.6% bf16
DeepInfra$0.05$0.10131K99.8% bf16
DeepInfra$0.075$0.15131K99.2% priority tier, bf16

Cheaper alternatives to Gemma 3 4B

Models with the same image input, structured output for at least 20% less (3:1 input/output mix), most capable first.

Cheaper alternatives to Gemma 3 4B
Model Input / 1M Output / 1M Context Capabilities
$0 $0 1.05M visionJSON
$0 $0 1.05M visionJSON
Tinsel Alpha
Stealth
$0 $0 1.05M visionaudiotoolsreasoningJSON
$0.036 $0.082 1.05M visiontoolsreasoningJSON

How to pay less for Gemma 3 4B

For a customer chatbot (1,000 conversations a day, 8 turns each) that costs $26.40 a month at list price without caching:

OptionPer monthYou save
Move to Lyria 3 Clip Preview (similar capabilities)$0$26.40 (100%)
Route to Parasail$18.60$7.80 (30%)

Other workloads: cut-your-bill tool for Gemma 3 4B.

Specifications

Model IDgoogle/gemma-3-4b-it
Inputtext, image
Outputtext
Tool callingNo
Structured outputYes
Reasoning modeNo
Open weightsYes — google/gemma-3-4b-it
Knowledge cutoff2024-08-31
ReleasedMar 13, 2025

FAQ

How much does Gemma 3 4B cost?
$0.05 per million input tokens and $0.10 per million output tokens. Prices as of Dec 6, 2026.
What is the context window of Gemma 3 4B?
131K tokens, with up to 16K output tokens per response.
Does Gemma 3 4B support images, tools and structured output?
Images as input: yes. Tool calling: no. Structured (JSON) output: yes. Reasoning mode: no.
What are cheaper alternatives to Gemma 3 4B?
Models with the same key capabilities for at least 20% less include Lyria 3 Clip Preview ($0 / $0), Lyria 3 Pro Preview ($0 / $0), Tinsel Alpha ($0 / $0).

More from Google: all Google models · how we collect prices