Google

Gemma 3 4B API Pricing 2026

Compare pricing, benchmarks, and providers for Gemma 3 4B. Find the best value for your use case.

8 Ways to Use Fewer Tokens
Last updated: November 21, 2026 at 08:43 AM

Overview

Gemma 3 4B was released on March 13, 2025. Pricing starts at $0.040 per million input tokens and $0.050 per million output tokens. The model supports a context window of up to 131K tokens. API access is available through Google.

Context Window
131K
tokens
Pricing
Input$0.040
Output$0.050
Cached$0.020
per 1M tokens
Speed
Output-
TTFT-
median latency
Capabilities
VisionTools

Gemma 3 4B is priced at $0.040 per million input tokens and $0.050 per million output tokens. It has a context window of 131,072 tokens. It is available from 5 providers, with Parasail the cheapest at $0.040 per million input tokens (input prices range from $0.040 to $0.200).

Pricing Comparison

Compare Gemma 3 4B with 10 similar models by price.

Current Pricing (per 1M tokens)

11 models

Sponsored The Grid | Spot Priced LLM API
The Grid | Spot Priced LLM API — Why pay list price when providers will bid for your API usage? Up to 80% off.
View spot prices
Provider
Model
Input $/M
Output $/M
Coding
MMLU
GPQA
Context
Actions
$0.040
$0.050
—
—
—
131,072
Try
$0.030
$0.150
—
—
—
128,000
Try
$0.033
$0.130
—
—
—
131,072
Try
$0.035
$0.000
—
—
—
-
Try
$0.035
$0.140
—
—
—
128,000
Try
$0.035
$0.900
—
—
81.8
1,000,000
Try
$0.037
$0.150
—
—
—
128,000
Try
$0.040
$0.078
—
—
91.2
1,048,575
Try
$0.040
$0.080
—
—
—
131,072
Try
$0.040
$0.064
—
—
—
32,768
Try
$0.040
$0.040
—
—
—
32,768
Try

* Some models use tiered pricing based on prompt length. Displayed prices are for prompts ≤ 200k tokens.

Compare Providers

Gemma 3 4B is available from multiple providers with different pricing and availability.

5
Providers
$0.040
Cheapest Input/M
$0.050
Cheapest Output/M
Parasail
Best Price

Provider Pricing

5 models

Sponsored The Grid | Spot Priced LLM API
The Grid | Spot Priced LLM API — Why pay list price when providers will bid for your API usage? Up to 80% off.
View spot prices
Provider
Input $/M
Output $/M
Cache Read $/M
Cache Write $/M
Uptime
Parasail
Parasail
Best Price
$0.040
$0.050
$0.020
-
100.0%
Amazon Bedrock
Amazon Bedrock
Best Price
$0.040
$0.080
-
-
-
$0.050
$0.100
-
-
100.0%
$0.050
$0.100
-
-
-
$0.200
$0.200
$0.100
-
-
Provider pricing data sourced from OpenRouter and Helicone

Community Rankings

How does Gemma 3 4B perform? Vote based on your experience.

Cost vs. Quality

Compare Gemma 3 4B's benchmark performance against all models.

X-axis:
Y-axis:
Loading chart...
Other models

Try Gemma 3 4B

Use our Calculator

Estimate your costs based on expected token usage.

Open Cost Calculator

Try in Playground

Test Gemma 3 4B directly in your browser.

Open Playground

Frequently Asked Questions

Gemma 3 4B costs $0.000040 per 1,000 input tokens and $0.000050 per 1,000 output tokens.
Gemma 3 4B is available from 5 providers. Parasail offers the best price.
Parasail offers Gemma 3 4B at $0.040 per million input tokens, the lowest of 5 providers (input prices range from $0.040 to $0.200 per million tokens).
We compare Gemma 3 4B with 10 similarly-priced models. See the benchmark scatter plot above to compare quality vs cost.

All Google Models

See pricing for all Google models.

View all Google models →