InferIndex

ModelsGoogleGemini 3.1 Pro Preview

Gemini 3.1 Pro Preview

google/gemini-3.1-pro-preview1M context Compare →

Cheapest: Google AI Studio and 7 others tied — $2.00 Input / $12.00 Output per million — checked 

MedianThe median blended price among comparable offers: one price per provider (its cheapest route), standard tier, current prices only. Priority tiers and prices converted from points are not counted.
$4.50
Most expensiveThe highest blended price among comparable offers: one price per provider (its cheapest route), standard tier, current prices only. Priority tiers and prices converted from points are not counted.
$5.63
Offers
31
Providers
17
QualityQuality rank from public evaluations. 1 = best. Data credits
Not ranked in this quality board
CodeCoding quality rank from public evaluations. 1 = best. Data credits
Rank 51 of 52 · score 34.8/100 · Nov 28, 2026

Via InferIndex

Price checked on Nov 28, 2026, 9:42 PM UTC

$4.50blended / 1M

No change7D
Input
$2.00
Output
$12.00
Cached
$0.20
Use via InferIndex$4.50 The router sends each request to the cheapest verified offer among the provider keys you connect.

Cheaper, similar quality

Score within 3 points out of 100 in the same quality board, blended price at least 10% lower.Let the router switchProPro setting: requests for Gemini 3.1 Pro Preview go to the cheapest model of this list that your keys can reach.

CodeRank 51 of 52 · score 34.8/100 · Nov 28, 2026

Cheaper, similar quality · Code
ModelCoderankGapptsBlended$/MSaving%Compare
Qwen3.6 Plus Rank 50 of 52 · score 35.5/100 · Nov 28, 2026 +0.7 0.68 85
GPT-5 Mini Rank 49 of 52 · score 35.9/100 · Nov 28, 2026 +1.1 0.69 85
GPT-5 Rank 48 of 52 · score 37.1/100 · Nov 28, 2026 +2.3 3.44 24

Public leaderboards

  • Text Arena, style controlThe series the source publishes by default for text since 16 May 2025: ranks corrected for the style of the answers (style control). #15 of 427Best rank in the source's rank spread, 15th to 33rd, given the confidence intervals of all ranked models. 23rd by score. 1,487 1,484 to 1,490Arena Score · 131,773 votes published 22 November 2026
  • Code Arena (WebDev)The Code Arena ranking (WebDev). The source publishes no style-corrected series (as read on 9 October 2026). #88 of 162Best rank in the source's rank spread, 88th to 102nd, given the confidence intervals of all ranked models. 91st by score. 1,446 1,441 to 1,452Arena Score · 23,798 votes published 23 November 2026
  • Agent Arena aggregateThe Agent Arena aggregate score: a score of another kind (not an Arena score), on a scale of its own; it cannot be compared with the other series. #46 of 69Best rank in the source's rank spread, 46th to 58th, given the confidence intervals of all ranked models. 52nd by score. −0.056 −0.074 to −0.039IPS score · 3,000,921 observations published 22 November 2026

Source: Arena (opens in a new tab) · Data under the CC BY 4.0 license (creativecommons.org/licenses/by/4.0) · CC BY 4.0 (opens in a new tab) · scores and ranks as published

Listed offers, by price

Comparable offersOther offersSolid steps are comparable offers; dashed steps are the other offers, which are not counted in cheapest, median or most expensive.Official list price

Offers not counted in cheapest, median or most expensive (22)

  • $4.50 · Google AI Studio via Eden AI · cannot be designated the cheapest
  • $4.50 · Google AI Studio via Kilo Gateway · cannot be designated the cheapest
  • $4.50 · Google AI Studio via Kilo Gateway · cannot be designated the cheapest
  • $4.50 · Google AI Studio via LLM API · cannot be designated the cheapest
  • $4.50 · Google Vertex via Eden AI · cannot be designated the cheapest
  • $4.50 · Google Vertex via LLM API · cannot be designated the cheapest
  • $4.50 · Abacus RouteLLM via Abacus RouteLLM · cannot be designated the cheapest
  • $4.50 · FastRouter via FastRouter · cannot be designated the cheapest
  • $4.50 · Glama via Glama · cannot be designated the cheapest
  • $4.50 · Martian via Martian · cannot be designated the cheapest
  • $4.50 · OrcaRouter via OrcaRouter · cannot be designated the cheapest
  • $4.50 · Google AI Studio via LLM Gateway · another route of the same provider
  • $4.50 · Google AI Studio via Requesty · another route of the same provider
  • $4.50 · Google Vertex via Requesty · another route of the same provider
  • $4.50 · Google AI Studio via OpenRouter · another route of the same provider
  • $4.50 · AtlasCloud · stale offer
  • $4.50 · Nous Portal via Nous Portal · stale offer
  • $4.73 · ShengSuanYun via ShengSuanYun · cannot be designated the cheapest
  • $8.10 · Google AI Studio via Kilo Gateway · cannot be designated the cheapest
  • $8.10 · Google AI Studio via Kilo Gateway · cannot be designated the cheapest
  • $8.10 · Google via OpenRouter · priority tier
  • $8.10 · Google AI Studio via OpenRouter · priority tier

Cheapest that confirms no training on your prompts. The provider's published policy: prompts are not used for training.

InferenceNet

hosted APISold by a provider other than the lab that made the model. · 1M

$4.50 blended / 1M tokens

in
$2.00
out
$12.00
Cached input
$0.20

Price historyThe cheapest offer each day, against the lab's official list price when it publishes one. Each day at 00:00 UTC, the offer the API would have selected as the cheapest, with the same exclusions as /cheapest. Blended price, promotions included.

Cheapest offer and official list price, by day, 30 days
DayCheapest offerOfficial list price
2026-10-30$4.50, AtlasCloud$4.50
2026-10-31$4.50, Google AI Studio$4.50
2026-11-01$4.50, Google AI Studio$4.50
2026-11-02$4.50, Google AI Studio$4.50
2026-11-03$4.50, AtlasCloud$4.50
2026-11-04$4.50, Google AI Studio$4.50
2026-11-05$4.50, Google AI Studio$4.50
2026-11-06$4.50, Google AI Studio$4.50
2026-11-07$4.50, Google AI Studio$4.50
2026-11-08$4.50, Google AI Studio$4.50
2026-11-09$4.50, Google AI Studio$4.50
2026-11-10$4.50, Google AI Studio$4.50
2026-11-11$4.50, Google AI Studio$4.50
2026-11-12$4.50, Google AI Studio$4.50
2026-11-13$4.50, Google AI Studio$4.50
2026-11-14$4.50, Google AI Studio$4.50
2026-11-15$4.50, Google AI Studio$4.50
2026-11-16$4.50, Google AI Studio$4.50
2026-11-17$4.50, Google AI Studio$4.50
2026-11-18$4.50, Google AI Studio$4.50
2026-11-19$4.50, Google AI Studio$4.50
2026-11-20$4.50, Google AI Studio$4.50
2026-11-21$4.50, Google AI Studio$4.50
2026-11-22$4.50, Google AI Studio$4.50
2026-11-23$4.50, Google AI Studio$4.50
2026-11-24$4.50, Google AI Studio$4.50
2026-11-25$4.50, Google AI Studio$4.50
2026-11-26$4.50, Google AI Studio$4.50
2026-11-27$4.50, Google AI Studio$4.50
2026-11-28$4.50, Google AI Studio$4.50

Cheapest offerOfficial list price

Offers

The 25 cheapest of 31 offers

The router picks from these offers, cheapest first, among the keys you connect.
Offers for Gemini 3.1 Pro Preview, one row per offer, sorted by blended price.
RankProvider · viaYou buy access through an aggregator: one account and one API that forward your requests to other providers. "Via" names the aggregator; the price is the one it charges you. When "via" says "hosted API", no aggregator is involved: the model belongs to a lab and another provider sells it.Input $/MOutput $/MBlended $/MA single price that mixes input and output: 3 input tokens for 1 output token, per million tokens. It makes offers easy to rank; your real cost depends on your own mix. ContextThe maximum amount of text, counted in tokens, the model can take in and write in a single request. Past this limit, the request is refused or cut.ConditionsWhat a provider says about how it handles your data and who can sign up: training on prompts, processing region, sign-up requirements. Each comes from the provider's published documents; when nothing is published, it stays unknown.SignalsOffer
1 Google AI Studio 2.00 12.00 Use 4.50 · Cheapest right now –Unpublished Unconfirmed. Last checked 1 November 2026: the last published value, not a confirmed one
2 Google AI Studiovia Eden AI 2.00 12.00 4.50 1M Unconfirmed. Last checked 1 November 2026: the last published value, not a confirmed one Unverified. No public page for this offer: listed, not designated cheapest
: Eden AI (opens in a new tab) No public price page for this model
3 Google AI Studiovia Kilo Gateway 2.00 12.00 4.50 1M Unconfirmed. Last checked 1 November 2026: the last published value, not a confirmed one Unverified. The source page shows one price per model, not this seller's: listed, not designated cheapestPrice drop observed: The blended price is 40% lower than before this drop; possibly temporary. · Price drop observed since Nov 18, 2026
4 Google AI Studiovia Kilo Gateway 2.00 12.00 4.50 1M Unconfirmed. Last checked 1 November 2026: the last published value, not a confirmed one Unverified. The source page shows one price per model, not this seller's: listed, not designated cheapestPrice drop observed: The blended price is 40% lower than before this drop; possibly temporary. · Price drop observed since Nov 18, 2026
5 Google AI Studiovia LLM API 2.00 12.00 4.50 –Unpublished Unconfirmed. Last checked 1 November 2026: the last published value, not a confirmed one Unverified. The source page shows one price per model, not this seller's: listed, not designated cheapest
6 Google Vertexvia Eden AI 2.00 12.00 4.50 1M Unverified. No public page for this offer: listed, not designated cheapest
: Eden AI (opens in a new tab) No public price page for this model
7 Google Vertexvia LLM API 2.00 12.00 4.50 –Unpublished Unverified. The source page shows one price per model, not this seller's: listed, not designated cheapest
8 InferenceNethosted APISold by a provider other than the lab that made the model. 2.00 12.00 4.50 1M
9 Abacus RouteLLM 2.00 12.00 4.50 1M Unverified. No public page for this offer: listed, not designated cheapest
: Abacus RouteLLM (opens in a new tab) No public price page for this model
10 FastRouter 2.00 12.00 4.50 1M Unverified. Neither seller nor price found on its page for 72 hours: listed, not designated cheapest
11 Glama 2.00 12.00 4.50 1M Unverified. No public page for this offer: listed, not designated cheapest
: Glama (opens in a new tab) No public price page for this model
12 Martian 2.00 12.00 4.50 –Unpublished worldwide Unverified. Neither seller nor price found on its page for 72 hours: listed, not designated cheapest
13 NanoGPT 2.00 12.00 4.50 1M
14 OrcaRouter 2.00 12.00 4.50 1M Unverified. Neither seller nor price found on its page for 72 hours: listed, not designated cheapest
15 Vercel AI Gateway 2.00 12.00 4.50 –Unpublished
16 ZenMux 2.00 12.00 4.50 1M prompt up to 200K tokens: up to 200K: $2.00 / $12.00; above that: $4.00 / $18.00 (Input / Output, per million tokens)
17 Google AI Studiovia LLM Gateway 2.00 12.00 4.50 –Unpublished Unconfirmed. Last checked 1 November 2026: the last published value, not a confirmed one Fee 5%: LLM Gateway adds a 5% fee on credit usage, plus 1.5% for cards issued outside the US (read on llmgateway.io/pricing on Nov 28). Offers are ranked with the 5% included.
18 Google AI Studiovia Requesty 2.00 12.00 4.50 1M Unconfirmed. Last checked 1 November 2026: the last published value, not a confirmed one Fee 5%: Requesty adds a 5% markup (read on requesty.ai/pricing on Nov 28). Offers are ranked with this fee included.prompt up to 200K (199,999) tokens: up to 200K (199,999): $2.00 / $12.00; above that: $4.00 / $18.00 (Input / Output, per million tokens)
19 Google Vertexvia LLM Gateway 2.00 12.00 4.50 –Unpublished Fee 5%: LLM Gateway adds a 5% fee on credit usage, plus 1.5% for cards issued outside the US (read on llmgateway.io/pricing on Nov 28). Offers are ranked with the 5% included.
20 Google Vertexvia Requesty 2.00 12.00 4.50 1M Fee 5%: Requesty adds a 5% markup (read on requesty.ai/pricing on Nov 28). Offers are ranked with this fee included.prompt up to 200K (199,999) tokens: up to 200K (199,999): $2.00 / $12.00; above that: $4.00 / $18.00 (Input / Output, per million tokens)
21 Quartzvia LLM Gateway 2.00 12.00 4.50 –Unpublished Fee 5%: LLM Gateway adds a 5% fee on credit usage, plus 1.5% for cards issued outside the US (read on llmgateway.io/pricing on Nov 28). Offers are ranked with the 5% included.
22 Googlevia OpenRouter 2.00 12.00 4.50 1M Fee 5.5%: OpenRouter adds a 5.5% fee when you buy credits (read on openrouter.ai/pricing on Nov 28). Offers are ranked with this fee included.prompt up to 200K tokens: up to 200K: $2.00 / $12.00; above that: $4.00 / $18.00 (Input / Output, per million tokens)
23 Google AI Studiovia OpenRouter 2.00 12.00 4.50 1M Unconfirmed. Last checked 1 November 2026: the last published value, not a confirmed one Fee 5.5%: OpenRouter adds a 5.5% fee when you buy credits (read on openrouter.ai/pricing on Nov 28). Offers are ranked with this fee included.prompt up to 200K tokens: up to 200K: $2.00 / $12.00; above that: $4.00 / $18.00 (Input / Output, per million tokens)
24 ShengSuanYun 2.10 12.62 4.73 1M Unverified. No public page for this offer: listed, not designated cheapest
: ShengSuanYun (opens in a new tab) No public price page for this model
25 Venicehosted APISold by a provider other than the lab that made the model. 2.50 15.00 5.63 1M

No training on promptsPrompts may be used for trainingTraining terms not published

backend not named. The router bills this price itself without naming who serves the model.

Show all 31 offers

8 flex or batch offers hidden (lower priority, variable latency).

Blended = (3 × input + output) / 4, per million tokens. Prices in USD, converted at the ECB rate when the provider bills in another currency.

Method

Monthly cost for your workload

Computed by the API for the three cheapest offers, per 30-day month.
  1. Google AI Studio$300.00per month
  2. InferenceNet$300.00per month+$0.00 vs the cheapest
  3. NanoGPT$300.00per month+$0.00 vs the cheapest

Compare Gemini 3.1 Pro Preview with

Related models

More from Google

All Google models

Same index family

Use this data

The index is queryable. The API is free to use.
Free API
curl https://api.inferindex.dev/cheapest?model=google/gemini-3.1-pro-preview
MCP server
claude mcp add --transport http inferindex https://mcp.inferindex.dev/mcp

Also works in Cursor and Codex: see the MCP page.

Base URLhttps://api.inferindex.dev/router/v1
from openai import OpenAI

client = OpenAI(
    base_url="https://api.inferindex.dev/router/v1",
    api_key="YOUR_INFERINDEX_KEY",
)

reply = client.chat.completions.create(
    model="google/gemini-3.1-pro-preview",
    messages=[{"role": "user", "content": "Hello"}],
)
print(reply.choices[0].message.content)
Base URL
https://api.inferindex.dev/router/v1
Model
google/gemini-3.1-pro-preview
Routes to
Google AI Studio · $4.50
Format
OpenAI · Anthropic