identity

open weights
Sail Research Co. logo

gemma-4-31b-itSail Research Co.

in /1M$0.40input tokens
out /1M$0.60output tokens
context262K66K out
trainingnoon your prompts
api
chat
hosting
US
model lab
Google
weights
open
added
April 2026
model id
sail/gemma-4-31b-it

capabilities 3/8

visionreasoningtoolscachingweb searchjson schemacomputer useimage gen

pricing

no markup
input
$0.40
output
$0.60
cache write
-
cache read
$0.20

worked cost

Estimated cost for three request volumes
volumecost
100K in + 10K out$0.0460
1M in + 100K out$0.46
10M in + 1M out$4.60

Requesty charges what the upstream provider charges, with no markup and no per-request fee. Prompt caching and smart routing cut the effective cost further on repeated context. Gateway pricing

provider price, passed throughper 1M tokens

measured

through Sep 12

no measured traffic for this endpoint yet. pricing above is the provider's own

benchmarks

artificial analysis

no published scores for this exact variant. region deployments and highspeed tiers usually share the base model's results

policy

data terms
retention
none
trains on prompts
no
hosted in
US

Terms are the provider's, not Requesty's: routing a request here puts it under them. Sail Research Privacy Policy

Need every request to stay in one jurisdiction? EU hosting routes only through EU-hosted providers.

quickstart

openai compatible
sail/gemma-4-31b-it

this id pins the sail research co. deployment, with no routing and no failover. the managed id on the canonical page routes across all 1 providers instead

main.py
from openai import OpenAI client = OpenAI(    api_key="YOUR_REQUESTY_API_KEY",    base_url="https://router.requesty.ai/v1",) response = client.chat.completions.create(    model="sail/gemma-4-31b-it",    messages=[        {"role": "user", "content": "Explain quantum computing in one paragraph."},    ],) print(response.choices[0].message.content)

Change the base url to https://router.requesty.ai/v1, use your Requesty key, set the model to the id above. Existing OpenAI SDK code needs no other edit, and the same key reaches every other model in the catalog. Browse all models

notes

reference

Gemma 4 31B IT is Google's open multimodal model with strong multilingual, vision, and general chat performance. Served via Sail Research.

questions 5

How much does gemma-4-31b-it cost?
gemma-4-31b-it is priced at $0.40 per million input tokens and $0.60 per million output tokens when accessed via Requesty. Prompt caching is supported, which can cut effective input cost by up to 90% on repeated context. Requesty charges exactly what the upstream provider charges, we don't add markup.
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 66K tokens per response. That is 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, prompt caching. 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 "sail/gemma-4-31b-it". The quickstart pane 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 Sail Research Co.. You do not host the model yourself: point base_url at Requesty, set the model to "sail/gemma-4-31b-it", and requests are routed to the upstream provider with automatic failover. The same key gives you 600+ other models too.

more from sail research co. 5

Other Sail Research Co. endpoints
endpointctxin /M
deepseek-v4-flash-07311.0M$0.09
glm-5.21.0M$0.80
kimi-k2.6262K$1.00
gemma-4-31b-it-nvfp4262K$0.14
gpt-oss-120b131K$0.06

call gemma-4-31b-it through one endpoint

One key for this endpoint and 600+ other models. No markup on provider prices, automatic failover when a provider degrades, and prompt caching built in. Methodology

gemma-4-31b-itsail research co.in $0.40 /1Mout $0.60 /1Mctx 262Khosted US