Google: Gemma 3 4B API pricing
Token pricing
| Model | Provider | Input / 1M | Output / 1M | Context | Modalities |
|---|---|---|---|---|---|
| Google: Gemma 3 4B | $0.04 | $0.08 | 131,072 (131K) | text, imagetext |
Capabilities
Context window
131,072 (131K)
Max output
16,384 (16K)
Input modalities
text, image
Output modalities
text
Supported parameters
frequency_penalty
logit_bias
max_tokens
min_p
presence_penalty
repetition_penalty
response_format
seed
stop
structured_outputs
temperature
top_k
top_p
Similar models
| Model | Input / 1M | Output / 1M | Context | Modalities |
|---|---|---|---|---|
| Google: Gemma 3 12B | $0.04 | $0.13 | 131,072 (131K) | text, imagetext |
| Google: Gemma 3n 4B | $0.06 | $0.12 | 32,768 (33K) | texttext |
| Google: Gemma 4 26B A4B | $0.06 | $0.33 | 262,144 (262K) | image, text, videotext |
| Google: Gemini 2.0 Flash Lite | $0.075 | $0.30 | 1,048,576 (1M) | text, image, file, audio, videotext |
| Google: Gemma 3 27B | $0.08 | $0.16 | 131,072 (131K) | text, imagetext |
| Google: Gemma 4 26B A4B (free) | $0 | $0 | 262,144 (262K) | image, text, videotext |
| Google: Gemma 4 31B (free) | $0 | $0 | 262,144 (262K) | image, text, videotext |
| Google: Lyria 3 Clip Preview | $0 | $0 | 1,048,576 (1M) | text, imagetext, audio |