Google

Gemma 3 4B — Benchmark Scores, Pricing & Performance Analysis

OPEN SOURCEGoogle
Input Cost
$0.05/1M
Output Cost
$0.10/1M
Context Window
131K

Gemma 3 4B by Google demonstrates competitive pricing. View detailed benchmark data including scores across coding, math, reasoning, speed, and cost metrics.

Coding Benchmarks

AA Coding Index
2.796th of 96

Artificial Analysis composite coding score

Artificial Analysis (via OpenRouter)

Cost Benchmarks

Input Cost
$0.0588th of 413

Cost per 1M input tokens

OpenRouter API
Output Cost
$0.1090th of 413

Cost per 1M output tokens

OpenRouter API

Context Benchmarks

Context Length
131K212th of 451

Maximum context window size

OpenRouter API

Available from 2 providers

The same model costs different amounts depending on who serves it.

ProviderInput / 1MOutput / 1MCached inContextYour key
Merge Gateway$0.04$0.08—128K—
Pioneer$0.15$0.15$0.1533K—

Gemma 3 4B — Frequently Asked Questions

How much does Gemma 3 4B cost?

Gemma 3 4B costs $0.05 per 1M input tokens and $0.10 per 1M output tokens. This makes it one of the more affordable models.

What is the context window of Gemma 3 4B?

Gemma 3 4B has a context window of 131K tokens. This determines how much text, conversation history, and code the model can process in a single request.

Who created Gemma 3 4B?

Gemma 3 4B was created by Google. It is classified as a open source model in our catalogue.

Is Gemma 3 4B open source?

Yes, Gemma 3 4B is an open-source model. The model weights are publicly available for download and self-hosting.