Gemma 4 31B
google/
Gemma 4 31B Instruct is Google DeepMind's 30.7B dense multimodal model supporting text and image input with text output.
$0.22 in · $0.44 out per 1M tokens262k contextApr 2, 2026
A typical message: about 500 tokens you send and 500 it writes.
Also:free
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.22provider $0.20
- Output, per 1M tokens
- $0.44provider $0.40
- Margin
- +10%
Context and formats
- Context window
- 262,144 tokens
- Longest answer
- 16,384 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", "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"><img src="https://useantimatter.com/api/badge/price?id=google%2Fgemma-4-31b-it" alt="Gemma 4 31B 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.