Requesty
Google logo

gemma-4-31b

Google/Open weights/1 provider

NVFP4-quantized Gemma 4 31B IT, NVIDIA's efficient quantization of Google's open multimodal model, at lower cost than the BF16 checkpoint. Served via Sail Research.More

Which id to call

sail/gemma-4-31b-it-nvfp4

This model has no managed policy yet, so call the provider endpoint directly. Every id in the endpoints table works the same way.

From /1M input

$0.14

Sail Research Co.

Context

262K

66K output

Endpoints

2

1 region

Price spread

2.9x

2 endpoints

Capabilities 0/8

VisionReasoningTool callingCachingWeb searchJSON schemaComputer useImage generation

2 endpoints / 1 region

Providers serving gemma-4-31b

Provider prices, per 1M tokens. Pay as you go adds 5%, or 0% on your own keys.

Providers serving gemma-4-31b, with pricing and measured performance. The best value in each column is highlighted.
RankPrivacy
1Sail Research Co.Global262K$0.14$0.40$0.07zdr
2Sail Research Co.Global262K$0.40$0.60$0.20zdr

A column is blank where no qualifying sample exists, and every row links to that provider's endpoint page.

model=

Which id to call

One base url, https://router.requesty.ai/v1, and one key for every id here.

sail/gemma-4-31b-it-nvfp4

This model has no managed policy yet, so call the provider endpoint directly. Every id in the endpoints table works the same way.

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.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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-nvfp4", messages=[ {"role": "user", "content": "Explain quantum computing in one paragraph."}, ], ) print(response.choices[0].message.content)

6

More from Google

Reference

gemma-4-31b questions

Which providers serve gemma-4-31b?

gemma-4-31b is available from 1 provider through Requesty: Sail Research Co.. All endpoints share one OpenAI-compatible API and one key, and Requesty fails over between them automatically.

How much does gemma-4-31b cost?

Pricing starts at $0.14 per million input tokens and $0.40 per million output tokens on Sail Research Co., the cheapest endpoint. Prices vary by provider and region; the table above shows every endpoint. Those are the upstream provider rates: pay as you go adds 5% on top, or 0% if you bring your own provider keys.

Is gemma-4-31b open weights?

Yes. gemma-4-31b is an open-weights model from Google, which is why multiple inference providers can host it. Provider choice affects price, latency, and data-privacy terms, all compared above.

What is the context window of gemma-4-31b?

gemma-4-31b supports up to 262K tokens of context, with up to 66K output tokens per response. Some providers expose a smaller window; check the per-endpoint context column above.

How do I use gemma-4-31b 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-nvfp4" or any endpoint id from the table above. The quickstart section shows Python, JavaScript and cURL snippets.

Route gemma-4-31b through one endpoint

One key for 1 provider on this model and 600+ others. No markup on provider prices, automatic failover, caching built in.

Benchmark rankings