API PRICES
Google · gemini-3.1-pro-preview
Provider prices, cheapest first
Google · gemini-3.1-pro-preview official price: input 2.00, output 12.00 USD per million tokens (Google, observed 2026-10-17). Cheapest inference provider: OpenRouter, input 2, output 12 USD per million tokens. Cheapest relay: realmrouter.cn, group "Gemini" 0.36 USD_CREDIT per million total tokens (credit price, not cash, observed 2026-10-16). 205 sites have comparable prices; 495 sites list this model.Relay blended price uses 75% input and 25% output.
Price ranges per million tokens
Official cash prices · Lowest 4.5 · median 6 · highest 7.5 · 2 quotes USD / per million tokens
Inference provider cash prices · Lowest 4.5 · median 4.5 · highest 4.5 · 1 quotes USD / per million tokens
USD_CREDIT · Lowest 0.36 · median 4.5 · highest 126 · 104 quotes USD / per million tokens, site credit
CNY_CREDIT · Lowest 0.765 · median 3.6 · highest 2700 · 54 quotes CNY / per million tokens, site credit
Official price
| Provider | Input | Output | Cache read | Cache write | Unit | Observed | Conditions and source |
|---|---|---|---|---|---|---|---|
| 2.00 | 12.00 | 0.20 | — | USD / 1M tokens | Official source | ||
| 4.00 | 18.00 | 0.40 | — | USD / 1M tokens | Official source |
Official prices are the vendor's cash prices. Inference providers also list cash prices and can be compared directly. Relays list prices in site credit; what you actually pay depends on each site's top-up rate, so they cannot be compared with official prices directly.
Inference providers
| Provider | Input | Output | Cache read | Cache write | Unit | Observed | Conditions and source | vs official |
|---|---|---|---|---|---|---|---|---|
| OpenRouter · Aggregator | 2 | 12 | 0.2 | 0.375 | USD / 1M tokens | Official source |
Unit: USD credits per 1M tokens. These are site-credit prices; actual cost depends on each site’s top-up rate.
Searching…
Browse all providersPrice range: lowest 0.36 · median 4.5 · highest 126 (104 quotes, USD credits per million total tokens)
Relays
Prices below are in site credit, not cash.
| # | Provider | Plan / conditions | Input ↑USD credits / 1M | Output USD credits / 1M | Cache readUSD credits / 1M | BlendedUSD credits / 1M | Details |
|---|---|---|---|---|---|---|---|
| Recent price | |||||||
| 48 | ai.vstecscloud.comAsk or discussCollected: Collected this cycle View 2 plans | kk-gemini kk-gemini Operator pending verification | 2 | 12 | — | 4.5Median price ÷ this price: 1× | Full prices and sources |
| 48 | api.101aix.comAsk or discussCollected: Collected this cycle View 3 plans | Gemini Name on site: gemini-3.1-pro-preview-medium Gemini series | Google official [machine translation]Original: Gemini系列 ︳Google官方 Operator pending verification | 2 | 12 | 0.2 | 4.5Median price ÷ this price: 1× | Full prices and sources |
| 48 | api.2slk.comAsk or discussCollected: Collected this cycle View 1 plans | Official relay [machine translation]Group on site: 官转 Official API forwarding [machine translation]Original: 官方API转发 Operator pending verification | 2 | 12 | — | 4.5Median price ÷ this price: 1× | Full prices and sources |
| 48 | api.aipipe.ioAsk or discussCollected: Collected this cycle View 2 plans | gemini cli gemini reverse-engineered, average stability, suited to light use [machine translation]Original: gemini 逆向,稳定性一般,适合轻度使用 Operator pending verification | 2 | 12 | 0.2 | 4.5Median price ÷ this price: 1× | Full prices and sources |
| 48 | api.biubiu.bestAsk or discussCollected: Collected this cycle View 1 plans | gemini-vertex Gemini Vertex direct connection [machine translation]Original: Gemini Vertex 直连 Operator pending verification | 2 | 12 | 0.2 | 4.5Median price ÷ this price: 1× | Full prices and sources |
| 48 | api.bltcy.aiAsk or discussCollected: Collected this cycle View 4 plans 2 more sites of the same companyBasis: identical quotes, same status-page name, logo or server address. Counted as one company in the ranking; this is not a legal finding. | default Default group [machine translation]Original: 默认分组 Operator pending verification | 2 | 12 | 0.2 | 4.5Median price ÷ this price: 1× | Full prices and sources |
| 48 | api.clawsocket.comAsk or discussCollected: Collected this cycle View 1 plans | default Default group [machine translation]Original: 默认分组 Operator pending verification | 2 | 12 | — | 4.5Median price ÷ this price: 1× | Full prices and sources |
| 48 | api.muxufo.comAsk or discussCollected: Collected this cycle View 1 plans | gemini Google Gemini Operator pending verification | 2 | 12 | 0.4 | 4.5Median price ÷ this price: 1× | Full prices and sources |
| 48 | api.pezayo.comAsk or discussCollected: Collected this cycle View 2 plans | default Default group, use all models via the openai chat completion format [machine translation]Original: 默认分组,通过 openai chat completion 格式使用全部模型 Operator pending verification | 2 | 12 | 0.2 | 4.5Median price ÷ this price: 1× | Full prices and sources |
| 48 | api.xhuoai.comAsk or discussCollected: Collected this cycle View 3 plans | default Default group, supports all common models, OpenAI special-price channel (AZ Microsoft channel) Claude Code, Gemini stable channel (GCP/Velax), top value-for-money choice, 20% of list price, rate multiplier 1.0 [machine translation]Original: 默认分组,支持所有常用模型,OpenAI特价渠道(AZ微软渠道)Claude Code,Gemini稳定渠道(GCP/Velax),性价比首选,2折,倍率1.0 Operator pending verification | 2 | 12 | — | 4.5Median price ÷ this price: 1× | Full prices and sources |
| 48 | api.xistree.hkAsk or discussCollected: Collected this cycle View 1 plans | default Default group [machine translation]Original: 默认分组 Operator pending verification | 2 | 12 | — | 4.5Median price ÷ this price: 1× | Full prices and sources |
| 48 | bridge.pulseneko.comAsk or discussCollected: Collected this cycle View 1 plans | gemini Gemini group [machine translation]Original: Gemini 分组 Operator pending verification | 2 | 12 | 0.2 | 4.5Median price ÷ this price: 1× | Full prices and sources |
| 48 | business.newcli.comAsk or discussCollected: Collected this cycle View 1 plans | gemini-cli gemini cli Operator pending verification | 2 | 12 | 0.3 | 4.5Median price ÷ this price: 1× | Full prices and sources |
| 48 | codaya.aiAsk or discussCollected: Collected this cycle View 2 plans | Gemini Gemini group, pure account pool. [machine translation]Original: Gemini 分组, 纯号池。 Operator pending verification | 2 | 12 | 0.2 | 4.5Median price ÷ this price: 1× | Full prices and sources |
| 48 | happyapi.orgAsk or discussCollected: Collected this cycle View 2 plans 1 more site of the same companyBasis: identical quotes, same status-page name, logo or server address. Counted as one company in the ranking; this is not a legal finding. | default Default group [machine translation]Original: 默认分组 Operator pending verification | 2 | 12 | — | 4.5Median price ÷ this price: 1× | Full prices and sources |
| 48 | hk.apitoken.aiAsk or discussCollected: Collected this cycle View 4 plans | bi bi Operator pending verification | 2 | 12 | — | 4.5Median price ÷ this price: 1× | Full prices and sources |
| 48 | llms.bestAsk or discussCollected: Collected this cycle View 1 plans | default Default group [machine translation]Original: 默认分组 Operator pending verification | 2 | 12 | 0.2 | 4.5Median price ÷ this price: 1× | Full prices and sources |
| 48 | newapi.fangyi.asiaAsk or discussCollected: Collected this cycle View 1 plans | geminiOperator pending verification | 2 | 12 | 0.2 | 4.5Median price ÷ this price: 1× | Full prices and sources |
| 48 | novaapi.aiAsk or discussCollected: Collected this cycle View 1 plans | default Default group [machine translation]Original: 默认分组 Operator pending verification | 2 | 12 | 0.2 | 4.5Median price ÷ this price: 1× | Full prices and sources |
| 48 | platform.modelapi.aiAsk or discussCollected: Collected this cycle View 1 plans | defaultOperator pending verification | 2 | 12 | 0.2 | 4.5Median price ÷ this price: 1× | Full prices and sources |
| 48 | sg.anyrouter.aiAsk or discussCollected: Collected this cycle View 3 plans | default Claude official [machine translation]Original: Claude官 Operator pending verification | 2 | 12 | 0.2 | 4.5Median price ÷ this price: 1× | Full prices and sources |
| 48 | sg.uiuiapi.comAsk or discussCollected: Collected this cycle View 5 plans | default Name on site: gemini-3.1-pro-preview-low ⭐ Default (mixed channels) | Azure + official models [machine translation]Original: ⭐ 默认(混渠道)| Azure + 官模型 Operator pending verification | 2 | 12 | — | 4.5Median price ÷ this price: 1× | Full prices and sources |
| 48 | tenzen.aiAsk or discussCollected: Collected this cycle View 3 plans 1 more site of the same companyBasis: identical homepage assets, identical quotes, same status-page name, logo or server address. Counted as one company in the ranking; this is not a legal finding. | gptOperator pending verification | 2 | 12 | 0.2 | 4.5Median price ÷ this price: 1× | Full prices and sources |
| 48 | tokenshengsheng.comAsk or discussCollected: Collected this cycle View 4 plans | Gemini models Air [machine translation]Group on site: Gemini模型Air gemini Operator pending verification | 2 | 12 | 0.2 | 4.5Median price ÷ this price: 1× | Full prices and sources |
| 48 | unifiedapi.cloudAsk or discussCollected: Collected this cycle View 2 plans | default Default group [machine translation]Original: 默认分组 Operator pending verification | 2 | 12 | 0.2 | 4.5Median price ÷ this price: 1× | Full prices and sources |
Special groups · 6 rows · not ranked
These plans are marked as test, internal, disabled, gated by top-up or membership, or have a near-zero ratio. They may not be purchasable or stable, so they are listed separately and left out of the ranking and statistics.
- top-up or membership gated: 3 rows
- test or debug group: 2 rows
- unrecognized flag USAGE_IMAGE_ONLY: 1 rows
- test-api.apiqik.online · vertex/sp/gemini · gemini-3.1-pro-preview · Input 0.68 / Output 4.08 USD credits / 1M
- test-api.apiqik.online · gemini · gemini-3.1-pro-preview · Input 1 / Output 6 USD credits / 1M
- api.mooko.ai · default · gemini-3.1-pro-preview · Input 2 / Output 12 USD credits / 1M
- poloai.top · Gemini-1 · gemini-3.1-pro-preview · Input 2 / Output 12 USD credits / 1M
- poloapi.top · Gemini-1 · gemini-3.1-pro-preview · Input 2 / Output 12 USD credits / 1M
- xy.poloapi.com · Gemini-1 · gemini-3.1-pro-preview · Input 2 / Output 12 USD credits / 1M
Related variants · 149 rows · not ranked
These are special editions of the model (thinking, max, search, batch, long context, free, etc.). They are priced differently from the base model, so they are listed separately and not ranked. Names that only add an effort level such as low, high or nothinking are compared with the base model.
- gemini-3.1-pro-preview-thinking-high (-thinking-high · thinking edition): 45 rows
- gemini-3.1-pro-preview-thinking (-thinking · thinking edition): 36 rows
- gemini-3.1-pro-preview-thinking-low (-thinking-low · thinking edition): 24 rows
- gemini-3.1-pro-preview-thinking-medium (-thinking-medium · thinking edition): 22 rows
- gemini-3.1-pro-preview-thinking-128 (-thinking-128 · thinking edition): 14 rows
- gemini-3.1-pro-preview-search (-search · search or tool): 4 rows
- [夜雨]gemini-3.1-pro-preview-thinking (-thinking · thinking edition): 2 rows
- [OO]gemini-3.1-pro-preview-thinking (-thinking · thinking edition): 1 rows
- [OO]gemini-3.1-pro-preview-thinking-low (-thinking-low · thinking edition): 1 rows
- torchai.ai · Gemini-anti · gemini-3.1-pro-preview-thinking-128 · Input 1 / Output 6 USD credits / 1M
- api.aabao.top · Gemini direct connection-2 [machine translation]Group on site: Gemini直连-2 · gemini-3.1-pro-preview-thinking-128 · Input 1.2 / Output 7.2 USD credits / 1M
- api.aabao.top · Gemini direct connection-2 [machine translation]Group on site: Gemini直连-2 · gemini-3.1-pro-preview-thinking · Input 1.2 / Output 7.2 USD credits / 1M
- api.aabao.vip · Gemini direct connection-2 [machine translation]Group on site: Gemini直连-2 · gemini-3.1-pro-preview-thinking-128 · Input 1.2 / Output 7.2 USD credits / 1M
- api.aabao.vip · Gemini direct connection-2 [machine translation]Group on site: Gemini直连-2 · gemini-3.1-pro-preview-thinking · Input 1.2 / Output 7.2 USD credits / 1M
- api.aabao.top · Gemini direct connection-3 [machine translation]Group on site: Gemini直连-3 · gemini-3.1-pro-preview-thinking · Input 1.6 / Output 9.6 USD credits / 1M
- api.aabao.top · Gemini direct connection-3 [machine translation]Group on site: Gemini直连-3 · gemini-3.1-pro-preview-thinking-128 · Input 1.6 / Output 9.6 USD credits / 1M
- api.aabao.vip · Gemini direct connection-3 [machine translation]Group on site: Gemini直连-3 · gemini-3.1-pro-preview-thinking · Input 1.6 / Output 9.6 USD credits / 1M
- api.aabao.vip · Gemini direct connection-3 [machine translation]Group on site: Gemini直连-3 · gemini-3.1-pro-preview-thinking-128 · Input 1.6 / Output 9.6 USD credits / 1M
- poloai.top · Low-price perk | fluctuating temporary resources [machine translation]Group on site: 低价福利 | 波动临时资源 · gemini-3.1-pro-preview-thinking-high · Input 1.6 / Output 9.6 USD credits / 1M
How this ranking works
All per-token prices: 97,455 prices from 871 sites (about 765 companies). 89,631 are ranked, from 861 sites (about 755 companies); 7,824 more are listed separately and not ranked. Prices collected up to 2026-10-17.
This model has 2360 recorded prices; 636 can be compared directly (460 ranked, 176 listed separately). Not comparable yet: price not parsed yet 807, tiered by rules (see Tiered prices) 377, billed per request or another unit 376, ratio looks unset 79, scope of the official doc price not confirmed 48, display unit not confirmed 29
310 recent · 14 stale (older than 10 days, or not updated by this refresh) · 0 unverified timestamps. Minimum and median only count recent paid prices; older prices stay in the table. 0 zero-valued pairs are separately unverified, without proof of free eligibility. Timing does not verify payment, upstream identity or quality.
Prices are converted to site credits using each site’s published ratio. What you actually pay depends on its top-up rate. Input, output and cache prices in each row come from the same plan. Several sites run by the same company take one place in the ranking: its cheapest plan, with the other sites listed under it. We judge “same company” by identical prices, status pages or homepage code; this is not a legal finding. To see every site’s prices, choose “All plans” or filter by provider.
“Self-declared unofficial channel” means the plan name itself says “reverse-engineered” or similar. We have not verified their source or quality. Minimum and median only count regular plans.
Switch model
Sources not accepted this cycle and reasons
FAQ
Which API is cheapest for Google · gemini-3.1-pro-preview?
realmrouter.cn, group "Gemini", 0.36 USD credit per million total tokens, observed 2026-10-16. 205 sites have comparable prices.
What is the official price for Google · gemini-3.1-pro-preview?
Input 2, output 12 USD per million tokens, checked 2026-10-17. Lowest inference provider: OpenRouter, input 2, output 12 USD per million tokens.
How do I use Google · gemini-3.1-pro-preview in Claude Code or Codex?
Install Grandet Skill, then say "Connect the cheapest Google · gemini-3.1-pro-preview API to Claude Code for me". Install Skill →