Gemma 4 31B (free)
google/
Gemma 4 31B Instruct is Google DeepMind's 30.7B dense multimodal model supporting text and image input with text output.
Spec sheet
Published facts from the catalog, billed prices and what we measured here. Anything not measured says so.
Price, billed here
- Input, per 1M tokens
- $0
- Output, per 1M tokens
- $0
- Margin
- none
Context and formats
- Context window
- 262,144 tokens
- Longest answer
- 32,768 tokens
- Reads
- text, images, and video
- Makes
- text
- First listed
- 2026-04-02
Measured here, last 7 days
- First token, median
- not measured
- Answered without error
- not measured
Tools and JSON
- Tool calling
- declaredthe provider's claim, not yet measured here
- JSON output
- declaredthe provider's claim, not yet measured here
Price and latency history as JSON: GET /.
About
Gemma 4 31B Instruct is Google DeepMind's 30.7B dense multimodal model supporting text and image input with text output. Features a 256K token context window, configurable thinking/reasoning mode, native function...
In Google's words.
Try it here
Measured here
Call it
Use one OpenAI compatible endpoint, this model's id and an am_live_ key from the dashboard. You can also try it in chat first with no key.
curl https://useantimatter.com/v1/chat/completions \
-H "Authorization: Bearer $ANTIMATTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "google/gemma-4-31b-it:free", "messages": [{"role": "user", "content": "Hello"}]}'Everything else is in the docs.
Embed this
A badge showing this model's live price per million tokens, as billed here, for a README or a site. It links back to this page.
<a href="https://useantimatter.com/planet/google/gemma-4-31b-it%3Afree"><img src="https://useantimatter.com/api/badge/price?id=google%2Fgemma-4-31b-it%3Afree" alt="Gemma 4 31B (free) price on Antimatter" height="28"></a>More from Google
Similar models from other labs
Closest in price and memory, from other labs.
Go back to the map, or take this model into a chat.