Key takeaways
- Gemma 4 31B is free on OpenRouter as
google/gemma-4-31b-it:free, checked 2026-12-05. - Its context window is 262K tokens, with up to 33K tokens of output.
- It reads text, image, video.
- The paid version costs $0.20 in and $0.40 out per million tokens.
Gemma 4 31B costs $0 per token on OpenRouter as of 2026-12-05, with a 262K token context window. The paid version, google/gemma-4-31b-it, costs $0.20 in and $0.40 out per million tokens.
What are the specs of Gemma 4 31B?
| Spec | Value |
|---|---|
| Model ID | google/gemma-4-31b-it:free |
| Provider | |
| Context window | 262,144 tokens |
| Max output | 32,768 tokens |
| Inputs | text, image, video |
| Released on OpenRouter | 2026-04-02 |
| First seen free here | 2026-12-04 |
| Last checked | 2026-12-05 |
Gemma 4 31B free vs paid: what is the difference?
| Version | Price in / out per 1M tokens | Context | Max output |
|---|---|---|---|
google/gemma-4-31b-it:free | $0 / $0 | 262K | 33K |
google/gemma-4-31b-it | $0.20 / $0.40 | 262K | 16K |
Both versions are the same model. OpenRouter applies its own rate limits to the free one, which this site does not track.
How does Gemma 4 31B compare with other free models?
Its context window ranks 9 of 12 free text models. It is one of 6 free models that also read images. google has 2 free models on the list.
How do I call Gemma 4 31B for free?
curl https://openrouter.ai/api/v1/chat/completions \
-H "Authorization: Bearer $OPENROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "google/gemma-4-31b-it:free", "messages": [{"role": "user", "content": "Hello"}]}'
- Gemma 4 26B A4B 262K context