Skip to content

Gemma 3 4B

Google · Open weights · 131K context · released Mar 13, 2025 · checked 9h ago

Ways to buy 1

Way to buyIn / out per 1M
DeepInfra
bf16
$0.05 / $0.1Cheapest

USD per 1M tokens. Regions are separate routes.

Through a gateway

Your own numbers

100M input and 20M output tokens a month: $7.00 direct.

No published token fee: Martian Gateway, Portkey, TrueFoundry AI Gateway.

Related models

In / out per 1M
Gemini 3.8 Flash
Google · 1MCheapest: $0.75 on Google Gemini API (flex)
$0.75 / $3.75
Gemini 3.7 Flash
Google · 1MCheapest: $0.75 on Google Vertex AI (global-flex)
$0.75 / $3.75100%
Gemini 3.5 Flash Lite
Google · 1MCheapest: $0.425 on Google Vertex AI (global-flex)
$0.3 / $2.5
Gemini 3.6 Flash
Google · 1MCheapest: $0.75 on Google Vertex AI (global-flex)
$0.75 / $3.75
Muse Spark 1.3 Contributor
Meta · 1M
$0.1 / $0.2
GLM 5.3 Flash
Z.ai · 1.31M
$0.045 / $0.14
Muse Spark 1.2 Contributor
Meta · 1M
$0.1 / $0.2
DeepSeek V4 Flash 0731
DeepSeek · 1.31M
$0.053 / $0.158

About Gemma 3 4B

Gemma 3 introduces multimodality, supporting vision-language input and text outputs.

Takes text, image in and returns text. First listed Sep 23, 2026. Up to 16K output tokens. Blended price $0.063 per 1M tokens at 3 input to 1 output. Model id gemma-3-4b-it.

Price history

No list-price history: this model is sold by hosts rather than its lab.

Questions

How much does Gemma 3 4B cost?

$0.05 per million input tokens and $0.1 per million output tokens.

What is the context window of Gemma 3 4B?

131K tokens, with up to 16K tokens of output.

List prices from providers' pages on the date shown; your contract may differ. Logos via logo.dev; trademarks belong to their owners.

Weekly: LLM API list prices that changed, Thursday mornings.