Gemma3 4B
gemma3-4bPricing
List prices at LlamaGate, in US dollars per million tokens.
| Tier | Input / 1M | Output / 1M | |
|---|---|---|---|
| Standard | $0.03 | $0.08 |
What it costs a month
At LlamaGate list prices, 30 days.
- Chat assistant5,000 requests a day, 2K in / 0.5K out$15.00
- RAG over documents2,000 requests a day, 8K in / 0.6K out$17.28
- Coding agent1,000 requests a day, 40K in / 2K out$40.80
- Overnight batch20,000 requests a day, 4K in / 0.4K out$91.20
Where to run it
1 host serve Gemma3 4B. The comparison is on blended price, 3 parts input to 1 part output.
| Host | In / out per 1M | Model id | |
|---|---|---|---|
LlamaGateGateway gemma3-4b | $0.03 / $0.08 | gemma3-4b |
Capabilities
Core
- Streaming
- Function calling
- JSON mode
- Structured outputs
Multimodal
- Vision
- Image input
- Audio
- Image generation
- Video
Advanced
- Reasoning
- Tool calling
- MCP
- Prompt caching
- Batch API
- Embeddings
- Takes in
- TextImages
- Produces
- Text
- Open weights
- License: Llama Community LicenseRuntimes: Ollama, TGI, llama.cpp, vLLM
Cheaper alternatives
Current models that cost less and keep most of what this one can do: tools, vision, reasoning, structured output, caching and enough context.
Same model, cheaper host
No host sells it for less than LlamaGate.
Smaller Google models
No cheaper Google model keeps its key capabilities.
Other frontier labs
No cheaper match from another frontier lab.
Open-weight picks
- 6% less
- 18% less
Call it
Using LlamaGate's API.
from litellm import completion
response = completion(
model="llamagate/gemma3-4b",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)Quick answers
How much does Gemma3 4B cost?
On LlamaGate, Gemma3 4B costs $0.03 per million input tokens and $0.08 per million output tokens.
Which APIs offer Gemma3 4B?
Gemma3 4B runs on 1 API: LlamaGate.
What is Gemma3 4B's context window?
128K tokens, with up to 8K tokens in one reply.
Is Gemma3 4B being retired?
No retirement date is scheduled for it on any API we track.
What are cheaper alternatives to Gemma3 4B?
Models that cost less and keep most of what it can do: Ministral 3B on Azure AI Foundry (6% less). Savings are on a mix of 3 input tokens to 1 output token.
What is Gemma3 4B's API model id?
Use gemma3-4b with LlamaGate.
Sources
Raw catalog entry for gemma3-4b on LlamaGate
{
"max_input_tokens": 128000,
"max_output_tokens": 8192,
"input_cost_per_token": 3e-8,
"output_cost_per_token": 8e-8,
"litellm_provider": "llamagate",
"mode": "chat",
"supports_function_calling": true,
"supports_response_schema": true,
"supports_vision": true
}