← All models
Gemma 3 4B IT
google/
Google model · Served by DeepInfra · live on the gateway · :free available
Input / 1M
$0.050
Output / 1M
$0.100
Context
131K tokens
Max output
16K tokens
Input
Text, Image
Released
1y ago
Pricing
Input tokens$0.050 per 1M
Output tokens$0.100 per 1M
Provider list priceExactly what your balance is debited; our fee is charged when you buy credits
About Gemma 3 4B IT
Open Gemma instruction model for efficient chat and self-hosted deployments
Vision
What it supports
- Tool calling (function calling)
- JSON mode and structured output
- Image input (vision)
- Audio input
- Extended reasoning
- Streaming responses
- OpenAI SDK, Anthropic SDK and any OpenAI-compatible client
Make a request
curl https://rapidrouter.ai/api/v1/chat/completions \
-H "Authorization: Bearer $RAPIDROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "google/gemma-3-4b-it",
"messages": [{ "role": "user", "content": "Hello" }]
}'Frequently asked
How do I call Gemma 3 4B IT through an OpenAI-compatible API?
Point any OpenAI-compatible client at https://rapidrouter.ai/api/v1 with a Rapid Router API key and set the model to google/gemma-3-4b-it. The chat completions endpoint is https://rapidrouter.ai/api/v1/chat/completions.
What is the context window of Gemma 3 4B IT?
Gemma 3 4B IT has a context window of 131,072 tokens on Rapid Router, and returns up to 16,384 output tokens per reply.
Is there a free version of Gemma 3 4B IT?
Yes. Call google/gemma-3-4b-it:free and the request is paid for from Rapid Router's sponsored daily pool, within the free tier's daily request limit.
What can Gemma 3 4B IT do?
On Rapid Router, Gemma 3 4B IT supports JSON mode, image input.
More Gemini models
CodeGemma 7B$0.070/M in · $0.070/M outCodeGemma 7B (free)Free/M in · Free/M outGemini 3 Flash Preview$0.500/M in · $3.00/M outGemini 3.1 Flash Lite Preview$0.250/M in · $1.50/M outGemini 3.1 Flash Lite Preview$0.250/M in · $1.50/M outGemini 3.1 Pro Preview$2.00/M in · $12.00/M outEvery Google model, priced →