---
id: "google/gemma-3-4b-it"
also: ["google/gemma-3-4b-it", "hf/google/gemma-3-4b-it"]
cheapest_list_usd_per_m: "0.04 in, 0.05 out, at parasail/bf16 on openrouter"
cheapest_effective_usd_per_m: "0.0366 in, 0.0479 out, at parasail/bf16 on openrouter"
context: 131072
max_output: 16384
input: ["text", "image"]
output: ["text"]
released: "2025-03-13"
api: ["/api/v1/chat/completions", "/api/v1/completions", "/api/v1/messages", "/api/v1/responses"]
params: ["frequency_penalty", "logit_bias", "logprobs", "max_tokens", "min_p", "presence_penalty", "repetition_penalty", "response_format", "seed", "stop", "structured_outputs", "temperature", "tools", "top_k", "top_logprobs", "top_p"]
endpoints: 4
gateways: "hf (2), openrouter (2)"
no_training: 2
trains: 0
retains_prompts: 0
coding: 2.7000
---
# Google: Gemma 3 4B

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,...