Favicon for google

Google: Gemma 3 4B

google/gemma-3-4b-it

Model weights

Gemma 3 introduces multimodality, supporting vision-language input and text outputs. It handles context windows up to 128k tokens, understands over 140 languages, and offers improved math, reasoning, and chat capabilities, including structured outputs and function calling.

Modalities
In / out price
$0.04 / $0.05per 1M
Context
131K
Released
Mar 13, 2025
Knowledge cutoff
Aug 2024

Providers

Different companies host the same model. OpenRouter routes your request to one of them based on the routing mode you pick: Balanced (price + speed), Nitro (fastest), or Floor (cheapest).

Pricing

The average price customers actually pay for this model, next to the prices providers post. Caching and discounts mean the price actually paid is often well below the listed one.

Weighted average

Input
$0.03774/M tokens
Output
$0.06485/M tokens
Price history
No effective price data for this selection

Performance

Throughput is how fast the model writes (tokens per second — higher is better). Latency is total round-trip time (lower is better). TTFT is time-to-first-token — how long before you see anything appear (lower is better).

Throughput
92tok/s

P50, best across providers

Latency
0.62s

P50, best provider

AutoExacto benchmarks
GPQA DiamondParasail27.1%

Uptime

Uptime is the percentage of the past 3 days that at least one provider was responding to requests. Availability is the percentage of time that inference was successfully served. OpenRouter continuously monitors and uses the next-best provider when one returns an error.

Uptime (3d)The model was reachable. Request routed to a provider.
100.00%
Availability (3d)The model returned inference from any provider. Errors and empty responses count against it.
99.91%

Availability over the last 3 days

Last 72 hours
Availability 99.91%
3 Days Ago2 Days AgoYesterdayNow

Availability over the last 24 hours

OpenRouter Availability
99.90%
Without Routing
91.74%

When an error occurs in an upstream provider, we can recover by routing to another healthy provider, if your request filters allow it. You can access per-provider uptime data programmatically through the Endpoints API. Learn more about our load balancing and provider routing options.

Benchmarks

Scores on standardized evaluations and this model’s own outputs on shared benchmark prompts. Higher percentages are better — and each rank shows where this model lands among the models evaluated on that source.

Benchmark score summary for Google: Gemma 3 4B (Artificial Analysis)
SourceBenchmarkScore
Artificial AnalysisGemma 3 4B Instruct Coding Index2.7
Artificial AnalysisGemma 3 4B Instruct GPQA Diamond29.1%
Artificial AnalysisGemma 3 4B Instruct HLE5.3%
Artificial AnalysisGemma 3 4B Instruct IFBench28.3%
Artificial AnalysisGemma 3 4B Instruct τ²-Bench Telecom5.0%
Artificial AnalysisGemma 3 4B Instruct AA-LCR6.7%
Artificial AnalysisGemma 3 4B Instruct τ-Bench Banking0.4%
Artificial AnalysisGemma 3 4B Instruct CritPt0.0%
Artificial AnalysisGemma 3 4B Instruct LiveCodeBench11.2%
Artificial AnalysisGemma 3 4B Instruct Terminal-Bench Hard0.8%
Artificial AnalysisGemma 3 4B Instruct Terminal-Bench 2.10.4%
Artificial AnalysisGemma 3 4B Instruct MMLU-Pro41.7%
Artificial AnalysisGemma 3 4B Instruct AIME 202512.7%
Artificial AnalysisGemma 3 4B Instruct AIME6.3%
Artificial AnalysisGemma 3 4B Instruct MATH-50076.6%

Apps

Public apps that send the most traffic to this model. Good signal for what real production workloads look like — and a hint at which use cases this model is best suited for.

1.
2.21Btokens
3.
80.7Mtokens
4.
66.5Mtokens
Rest of OpenRouter
250M
Top 5 Apps
2.11M

Activity

Token volume and request traffic to this model over time.

API

Drop-in code to call this model. OpenRouter's API is OpenAI-compatible — most SDKs work by just swapping the base URL. The only thing that changes between models is the model slug below.

Not currently available through EU in-region routing. In-region routing docs

Frequently asked questions