
gemma-4-31b-it
Google LLC (Gemini API)/🌍 Global/chat
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 calling, and multilingual support across 140+ languages. Strong on coding, reasoning, and document understanding tasks. Apache 2.0 license.MoreLess
Which id to call
google/gemma-4-31b-itThis exact deployment on Google LLC (Gemini API), with no routing and no failover. Send it as the model field.
Input /1M
free
Google LLC (Gemini API)
Output /1M
free
no charge
Context
262K
8K output
Added
Apr 2026
chat
Capabilities 3/8
Provider rates
What gemma-4-31b-it costs
Provider prices per 1M tokens, updated September 13, 2026.moreless
These are the upstream provider rates. Pay as you go adds 5%, or 0% if you bring your own keys, and there is no per-request fee. Prompt caching and routing change what you pay against these rates, not the rates themselves.
Input /1M
free
Output /1M
free
Cache write /1M
-
Cache read /1M
-
What a workload costs
- 100K input + 10K output
- free
- 1M input + 100K output
- free
- 10M input + 1M output
- free
At the rates above. This endpoint does not offer prompt caching, so repeated context is billed as new input every time.
model=
Which id to call
One base url, https://router.requesty.ai/v1, and one key for every id here.
google/gemma-4-31b-itThis exact deployment on Google LLC (Gemini API), with no routing and no failover. Send it as the model field.
OpenAI compatible
Call it in three lines
Change the base url, use your Requesty key, set the model to any id on the left. Existing OpenAI SDK code needs no other edit.
123456789101112131415from openai import OpenAI client = OpenAI( api_key="YOUR_REQUESTY_API_KEY", base_url="https://router.requesty.ai/v1", ) response = client.chat.completions.create( model="google/gemma-4-31b-it", messages=[ {"role": "user", "content": "Explain quantum computing in one paragraph."}, ], ) print(response.choices[0].message.content)
Reference
Specs and data terms
What the catalog reports for this deployment, and what the provider does with the traffic.
Public leaderboards
Benchmark scores
Benchmarks measure the model, not this endpoint, so they are the same wherever these weights are served.
No benchmarks are published for this exact variant yet.
Region-specific deployments and highspeed tiers usually share scores with their base model. Try the base model page or the Google LLC (Gemini API) models overview.
Same provider
More from Google LLC (Gemini API)
Newest first, on the same provider and the same key.
Reference
gemma-4-31b-it questions
How much does gemma-4-31b-it cost?
gemma-4-31b-it is priced at free per million input tokens and free per million output tokens when accessed via Requesty. Those are the upstream provider rates: pay as you go adds 5% on top, or 0% if you bring your own provider keys.
What is the context window of gemma-4-31b-it?
gemma-4-31b-it has a context window of 262K tokens, with a maximum output of 8K tokens per response. That's roughly 350 words of input you can fit in a single prompt.
What can gemma-4-31b-it do?
gemma-4-31b-it supports vision input, tool calling, extended reasoning. You can call it through any OpenAI-compatible client by pointing base_url to Requesty.
How do I use gemma-4-31b-it with the OpenAI SDK?
Install the OpenAI SDK, set base_url to "https://router.requesty.ai/v1", set your API key to your Requesty key, and set the model to "google/gemma-4-31b-it". The Quickstart above shows Python, JavaScript and cURL snippets.
Can I run gemma-4-31b-it through Requesty?
Yes. gemma-4-31b-it runs through Requesty's OpenAI-compatible API, served from Google LLC (Gemini API). You do not host the model yourself: point base_url at Requesty, set the model to "google/gemma-4-31b-it", and requests are routed to the upstream provider with automatic failover. The same key gives you 600+ other models too.
Call gemma-4-31b-it through one endpoint
One key for this endpoint and 600+ other models. No markup on provider prices, automatic failover, caching built in.
