Google: Gemma 4 31B (free)✓ Catalog verified
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...
Overview
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...
Access: available through the official Google API. Context window: 262K.
Specifications
| API identifier | google/gemma-4-31b-it:free |
| Provider | |
| Model type | Multimodal LLM |
| Context window | 262K catalog |
| Input modalities | image · text · video |
| Output modalities | text |
| Released | Apr 2, 2026 |
| Tokenizer | Gemma |
| Moderated | No |
| Architecture modality | text+image+video->text |
API defaults
{
"top_k": 64,
"top_p": 0.95,
"temperature": 1,
"presence_penalty": null,
"frequency_penalty": null,
"repetition_penalty": null
}Pricing
Live pricing components for google/gemma-4-31b-it:free as published in the catalog.
| Pricing component | Raw unit price | Normalized | Unit |
|---|---|---|---|
| Prompt tokens | $0 | $0.00 / 1M | Per input token |
| Completion tokens | $0 | $0.00 / 1M | Per output token |
| Request fee | N/A | N/A | Per request |
| Image fee | N/A | N/A | Per image unit |
| Web search fee | N/A | N/A | Per search request |
Cost calculator
Estimate monthly spend from your own token volumes.
Estimated Total Cost
$0Calculated from current list pricing in the ModelsAtlas catalog.Capabilities
| Capability | Status | What it means |
|---|---|---|
| Visual Understanding | ✓ Supported | Image and document analysis support |
| Audio Processing | Not advertised | Speech and voice aligned flows |
| Tool Calling | ✓ Supported | Supports tools / function calling |
| Self-Hosting | Not advertised | Deploy outside managed APIs |
Capability signals
Directional signals derived from model metadata and capability tags — not official benchmark submissions.
Quick start
Call Google: Gemma 4 31B (free) through an OpenAI-compatible client.
from openai import OpenAI
client = OpenAI(
base_url="https://openrouter.ai/api/v1",
api_key="YOUR_API_KEY"
)
response = client.chat.completions.create(
model="google/gemma-4-31b-it:free",
messages=[{"role": "user", "content": "Explain quantum physics."}]
)
print(response.choices[0].message.content)Alternatives
Closest models by context window from a different provider.
| Model | Provider | Context | Input /1M | Actions |
|---|---|---|---|---|
| Arcee AI: Trinity Large Thinking | Arcee Ai | 262K | $0.22 | View → |
| ByteDance Seed: Seed 1.6 | Bytedance Seed | 262K | $0.25 | View → |
Sources & attribution
Pricing and metadata are maintained in the ModelsAtlas catalog.
Frequently asked questions
How much does Google: Gemma 4 31B (free) cost?
$0.00 per 1M input tokens and $0.00 per 1M output tokens on the official Google API.
What is the context window of Google: Gemma 4 31B (free)?
Google: Gemma 4 31B (free) supports up to 262K tokens of context.
Does Google: Gemma 4 31B (free) support tool / function calling?
Yes, Google: Gemma 4 31B (free) supports tool / function calling — you can register tools and the model will emit structured tool calls.
How do I access Google: Gemma 4 31B (free)?
Use the official Google API with the model id `google/gemma-4-31b-it:free`. See the Quick start section above for code examples.