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
32,768 (33K)
Input modalities
image, text, video
Output modalities
text

Supported parameters

include_reasoning
max_tokens
reasoning
response_format
seed
temperature
tool_choice
tools
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: Gemini 2.5 Flash Lite (batch)$0.05$0.201,048,576 (1M)
text, image, file, audio, videotext
Google: Gemma 3n 4B$0.06$0.1232,768 (33K)
texttext
Google: Gemma 4 26B A4B $0.07$0.34262,144 (262K)
image, text, videotext