Google: Gemma 4 31B (free) API pricing

Token pricing

ModelProviderInput / 1MOutput / 1MContextModalities
Google: Gemma 4 31B (free)Google$0$0262,144 (262K)
image, text, videotext

Capabilities

Context window
262,144 (262K)
Max output
8,192 (8K)
Input modalities
image, text, video
Output modalities
text

Supported parameters

include_reasoning
max_tokens
min_p
reasoning
response_format
seed
stop
temperature
tool_choice
tools
top_a
top_k
top_p

Similar models

ModelInput / 1MOutput / 1MContextModalities
Google: Gemma 4 26B A4B (free)$0$0262,144 (262K)
image, text, videotext
Google: Lyria 3 Clip Preview$0$01,048,576 (1M)
text, imagetext, audio
Google: Lyria 3 Pro Preview$0$01,048,576 (1M)
text, imagetext, audio
Google: Gemma 3 4B$0.05$0.10131,072 (131K)
text, imagetext
Google: Gemma 3 12B$0.05$0.15131,072 (131K)
text, imagetext
Google: Gemma 3n 4B$0.06$0.1232,768 (33K)
texttext
Google: Gemma 4 26B A4B $0.06$0.33262,144 (262K)
image, text, videotext
Google: Gemma 3 27B$0.08$0.16131,072 (131K)
text, imagetext