google/gemma-3-4b-it✓ Catalog verified
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.
Overview
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.
Access: available through the official Google API. Context window: 131K.
Specifications
| API identifier | google/gemma-3-4b-it |
| Provider | |
| Model type | Multimodal LLM |
| Context window | 131K catalog |
| Input modalities | text · image |
| Output modalities | text |
| Released | Mar 13, 2025 |
| Tokenizer | Gemini |
| Instruction format | gemma |
| Moderated | No |
| Architecture modality | text+image->text |
Pricing
Live pricing components for google/gemma-3-4b-it as published in the catalog.
| Pricing component | Raw unit price | Normalized | Unit |
|---|---|---|---|
| Prompt tokens | $4e-8 | $0.04 / 1M | Per input token |
| Completion tokens | $8e-8 | $0.08 / 1M | Per output token |
| Request fee | N/A | N/A | Per request |
| Image fee | N/A | N/A | Per image unit |
| Web search fee | N/A | N/A | Per search request |
Cost calculator
Estimate monthly spend from your own token volumes.
Estimated Total Cost
$0.04Calculated from current list pricing in the ModelsAtlas catalog.Capabilities
| Capability | Status | What it means |
|---|---|---|
| Visual Understanding | ✓ Supported | Image and document analysis support |
| Audio Processing | Not advertised | Speech and voice aligned flows |
| Tool Calling | Not advertised | Supports tools / function calling |
| Self-Hosting | Not advertised | Deploy outside managed APIs |
Capability signals
Directional signals derived from model metadata and capability tags — not official benchmark submissions.
Quick start
Call google/gemma-3-4b-it through an OpenAI-compatible client.
from openai import OpenAI
client = OpenAI(
base_url="https://openrouter.ai/api/v1",
api_key="YOUR_API_KEY"
)
response = client.chat.completions.create(
model="google/gemma-3-4b-it",
messages=[{"role": "user", "content": "Explain quantum physics."}]
)
print(response.choices[0].message.content)Alternatives
Closest models by context window from a different provider.
| Model | Provider | Context | Input /1M | Actions |
|---|---|---|---|---|
| AionLabs: Aion-1.0 | Aion Labs | 131K | $4.00 | View → |
| AionLabs: Aion-1.0-Mini | Aion Labs | 131K | $0.70 | View → |
Sources & attribution
Pricing and metadata are maintained in the ModelsAtlas catalog.
Frequently asked questions
How much does google/gemma-3-4b-it cost?
$0.04 per 1M input tokens and $0.08 per 1M output tokens on the official Google API.
What is the context window of google/gemma-3-4b-it?
google/gemma-3-4b-it supports up to 131K tokens of context.
Does google/gemma-3-4b-it support tool / function calling?
google/gemma-3-4b-it does not advertise first-class tool/function calling. Check vendor docs for the latest capabilities.
How do I access google/gemma-3-4b-it?
Use the official Google API with the model id `google/gemma-3-4b-it`. See the Quick start section above for code examples.