Google: Gemma 4 31B API pricing
Token pricing
| Model | Provider | Input / 1M | Output / 1M | Context | Modalities |
|---|---|---|---|---|---|
| Google: Gemma 4 31B | $0.20 | $0.40 | 262,144 (262K) | image, text, videotext |
Capabilities
Context window
262,144 (262K)
Max output
16,384 (16K)
Input modalities
image, text, video
Output modalities
text
Supported parameters
frequency_penalty
include_reasoning
logit_bias
logprobs
max_completion_tokens
max_tokens
min_p
presence_penalty
reasoning
repetition_penalty
response_format
seed
stop
structured_outputs
temperature
tool_choice
tools
top_k
top_logprobs
top_p
Similar models
| Model | Input / 1M | Output / 1M | Context | Modalities |
|---|---|---|---|---|
| Google: Gemini 3.5 Flash Lite (batch) | $0.15 | $1.25 | 1,048,576 (1M) | text, image, video, file, audiotext |
| Google: Nano Banana 2 Lite (Gemini 3.1 Flash Lite Image) | $0.25 | $1.50 | 65,536 (66K) | image, textimage, text |
| Google: Gemini 3 Flash Preview (batch) | $0.25 | $1.50 | 1,048,576 (1M) | text, image, file, audio, videotext |
| Google: Gemini 3.1 Flash Lite | $0.25 | $1.50 | 1,048,576 (1M) | text, image, video, file, audiotext |
| Google: Gemini 3.1 Flash Lite Preview | $0.25 | $1.50 | 1,048,576 (1M) | text, image, video, file, audiotext |
| Google: Gemini 3.1 Flash Lite (batch) | $0.125 | $0.75 | 1,048,576 (1M) | text, image, video, file, audiotext |
| Google: Gemini 2.5 Flash Lite | $0.10 | $0.40 | 1,048,576 (1M) | text, image, file, audio, videotext |
| Google: Nano Banana (Gemini 2.5 Flash Image) | $0.30 | $2.50 | 32,768 (33K) | image, textimage, text |