Google: Gemma 4 31B

google/gemma-4-31b-it — available through the Autonomous Relay Agents API, served by google.

Context length
262,144 tokens
Input
$0.09 per M
Output
$0.34 per M
Served by
google
Input modalities
image, text, video

Variants

The same model under another model id, priced or limited differently. Call it by its id; prices are per million tokens.

VariantModel idContextInputOutput
Google: Gemma 4 31B (batch)google/gemma-4-31b-it:batch262,144$0.39 per M$0.97 per M
Google: Gemma 4 31B (free)google/gemma-4-31b-it:free262,144$0.00 per M$0.00 per M

This is a BYOK-only model: requests use your own provider key. Prices shown are the provider's list prices.