Requesty
Google logo

gemini-3.1-pro-preview

Google/Proprietary/2 providers

Gemini 3.1 Pro is the next iteration in the Gemini 3 series of models, a suite of highly capable, natively multimodal reasoning models. As of this model card’s date of publication, Gemini 3.1 Pro is Google’s most advanced model for complex tasks. Geminin 3.1 Pro can comprehend vast datasets and challenging problems from massively multimodal information sources, including text, audio, images, video, and entire code repositories.More

Which id to call

gemini-3.1-pro-preview

Requesty routes this id across every provider serving gemini-3.1-pro-preview, picking on price and health and failing over automatically. The id stays valid when a provider changes underneath it.

From /1M input

$1.00

Google Gemini API

Context

1.0M

66K output

Endpoints

7

1 region

Price spread

2.0x

7 endpoints

Capabilities 6/8

VisionReasoningTool callingCachingWeb searchJSON schemaComputer useImage generation

7 endpoints / 1 region

Providers serving gemini-3.1-pro-preview

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

Providers serving gemini-3.1-pro-preview, with pricing and measured performance. The best value in each column is highlighted.
RankPrivacy
1Google Gemini APIGlobal1.0M$1.00$6.00$0.20zdr
2Google Gemini APIGlobal1.0M$1.00$6.00$0.20zdr
3Google Vertex AIGlobal1.0M$1.00$6.00$0.10zdr
4Google Gemini APIGlobal1.0M$2.00$12.00$0.20zdr
5Google Gemini APIGlobal1.0M$2.00$12.00$0.20zdr
6Google Vertex AIGlobal1.0M$2.00$12.00$0.20zdr
7Google Vertex AIGlobal1.0M$2.00$12.00$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.

gemini-3.1-pro-preview

Requesty routes this id across every provider serving gemini-3.1-pro-preview, picking on price and health and failing over automatically. The id stays valid when a provider changes underneath it.

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="gemini-3.1-pro-preview", messages=[ {"role": "user", "content": "Explain quantum computing in one paragraph."}, ], ) print(response.choices[0].message.content)

Artificial Analysis

Benchmark scores

Coding Indexcoding
46.5%

Artificial Analysis Coding Index: a composite of coding evaluations including LiveCodeBench, SciCode and Terminal-Bench.

GPQA Diamondreasoning
90.8%

Graduate-level physics, chemistry & biology questions designed to resist Googling.

Intelligence Indexreasoning
48.4%

Artificial Analysis Intelligence Index: a composite of multiple evaluations measuring overall model capability.

Scores from artificialanalysis.ai. They measure the model, not the provider, so they are the same on every endpoint above.

6

More from Google

Reference

gemini-3.1-pro-preview questions

Which providers serve gemini-3.1-pro-preview?

gemini-3.1-pro-preview is available from 2 providers through Requesty: Google Gemini API, Google Vertex AI. All endpoints share one OpenAI-compatible API and one key, and Requesty fails over between them automatically.

How much does gemini-3.1-pro-preview cost?

Pricing starts at $1.00 per million input tokens and $6.00 per million output tokens on Google Gemini API, 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 gemini-3.1-pro-preview open weights?

No. gemini-3.1-pro-preview is a proprietary model from Google, served through Google's own API and licensed cloud platforms.

What is the context window of gemini-3.1-pro-preview?

gemini-3.1-pro-preview supports up to 1.0M 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 gemini-3.1-pro-preview 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 "gemini-3.1-pro-preview" or any endpoint id from the table above. The quickstart section shows Python, JavaScript and cURL snippets.

Should I call gemini-3.1-pro-preview by its managed id or a provider id?

Use the managed id, "gemini-3.1-pro-preview". Requesty picks which of the 2 providers serves each request based on price and health, and fails over when one degrades, so the id keeps working while the routing changes underneath it. Send a provider id like "google/gemini-3-pro-preview:flex" only when you need one specific deployment and want no failover.

Route gemini-3.1-pro-preview through one endpoint

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

Benchmark rankings