Google: Gemma 4 31B
google/gemma-4-31b-it — available through the Autonomous Relay Agents API, served by Google.
Google: Gemma 4 31B has a 262,144-token context window and costs $0.09 per million input tokens and $0.34 per million output tokens, at the provider's list price on your own key.
- Context length
- 262,144 tokens
- Input
- $0.09 per M
- Output
- $0.34 per M
- Served by
- 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.
| Variant | Model id | Context | Input | Output |
|---|---|---|---|---|
| Google: Gemma 4 31B (batch) | google/gemma-4-31b-it:batch | 262,144 | $0.39 per M | $0.97 per M |
| Google: Gemma 4 31B (free) | google/gemma-4-31b-it:free | 262,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.
Call it
Any OpenAI-compatible client works: change the base URL and send this model id.
curl https://autonomousrelay.com/v1/chat/completions \
-H "Authorization: Bearer $AUTONOMOUS_RELAY_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "google/gemma-4-31b-it", "messages": [{"role": "user", "content": "Hello"}]}'Compare
- Qwen/Qwen3-235B-A22B-Instruct-2507 vs Google: Gemma 4 31B
- Google: Gemma 4 31B vs nvidia/NVIDIA-Nemotron-3-Super-120B-A12B
- Google: Gemma 4 31B vs Qwen: Qwen3.5-9B
- Google: Gemma 4 31B vs Qwen: Qwen3.6 35B A3B