Gemma 4 31B IT (free)
Live·Googlemodel·Served by Google
Largest Gemma 4 instruction model for open, self-hosted chat and reasoning
Providers
Every request goes to the cheapest healthy route and fails over to the next.
Loading the routes…
Latency and throughput appear after the first hourly test request to each provider, or once this model has traffic here. Every request goes to the cheapest healthy route and fails over to the next.
Pricing
What a call costs through Rapid Router, at the route requests go to.
What it supports
- Tool calling (function calling)
- JSON mode and structured output
- Image input (vision)
- Audio input
- Extended reasoning
- Streaming responses
- OpenAI SDK, Anthropic SDK and any OpenAI-compatible client
Make a request
The same request you send to OpenAI today, pointed at https://rapidrouter.ai/api/v1.
curl https://rapidrouter.ai/api/v1/chat/completions \
-H "Authorization: Bearer $RAPIDROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "google/gemma-4-31b-it:free",
"messages": [{ "role": "user", "content": "Hello" }]
}'Frequently asked
How do I call Gemma 4 31B IT (free) through an OpenAI-compatible API?
Point any OpenAI-compatible client at https://rapidrouter.ai/api/v1 with a Rapid Router API key and set the model to google/gemma-4-31b-it:free. The chat completions endpoint is https://rapidrouter.ai/api/v1/chat/completions.
What is the context window of Gemma 4 31B IT (free)?
Gemma 4 31B IT (free) has a context window of 262,144 tokens on Rapid Router, and returns up to 32,768 output tokens per reply.
What can Gemma 4 31B IT (free) do?
On Rapid Router, Gemma 4 31B IT (free) supports tool calling, JSON mode, image input, extended reasoning.
More Gemini models
Compare and rank
What a month of your own usage costs on it: cost calculator · every head-to-head: comparisons