API PRICES
Google · gemini-3.1-pro-preview
Provider prices, cheapest first
Price comparison
- Official (cash)
- Input 2 / output 12 USD/million tokensGoogle ·
- Lowest inference provider (cash)
- Input 2 / output 12 USD/million tokensOpenRouter · Aggregator ·
- Lowest relay (credit)
- Not listed
Official and inference-provider prices are cash; relay prices are site credit (USD credit or CNY credit), a different unit, compared separately. Relay prices are per million total tokens at 75% input and 25% output.
Google · gemini-3.1-pro-preview official price: input 2, output 12 USD per million tokens (Google, observed 2026-10-17). Cheapest inference provider: OpenRouter, input 2, output 12 USD per million tokens. 205 sites have comparable prices; 495 sites list this model.
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
Official price
| Provider | Input | Output | Cache read | Cache write | Unit | Observed | Conditions and source |
|---|---|---|---|---|---|---|---|
| 2 | 12 | 0.2 | — | USD / 1M tokens | Official source | ||
| 4 | 18 | 0.4 | — | 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.
Showing: Related variants。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. Back to the default ranking
Price range: lowest — · median — · highest — (0 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 |
|---|---|---|---|---|---|---|---|
| Related variants · not ranked · Recent price | |||||||
| — | hohoapi.comAsk or discussCollected: Collected this cycle View 4 plans | default Name on site: gemini-3.1-pro-preview-search General channel (most models on the site available) [machine translation]Original: 通用渠道(全站大部分模型可用) Related variant: gemini-3.1-pro-preview-search (-search · search or tool) Operator pending verification | 2.6 | 15.6 | — | 5.85 | Full prices and sources |
| — | hohoapi.comAsk or discussCollected: Collected this cycle View 4 plans | gemini Name on site: gemini-3.1-pro-preview-search gemini enterprise channel (official enterprise account) [machine translation]Original: gemini企业渠道(官方企业号) Related variant: gemini-3.1-pro-preview-search (-search · search or tool) Operator pending verification | 3.9 | 23.4 | — | 8.775 | Full prices and sources |
| — | hohoapi.comAsk or discussCollected: Collected this cycle View 4 plans | default Name on site: gemini-3.1-pro-preview-thinking General channel (most models on the site available) [machine translation]Original: 通用渠道(全站大部分模型可用) Related variant: gemini-3.1-pro-preview-thinking (-thinking · thinking edition) Operator pending verification | 6 | 36 | — | 13.5 | Full prices and sources |
| — | hohoapi.comAsk or discussCollected: Collected this cycle View 4 plans | gemini Name on site: gemini-3.1-pro-preview-thinking gemini enterprise channel (official enterprise account) [machine translation]Original: gemini企业渠道(官方企业号) Related variant: gemini-3.1-pro-preview-thinking (-thinking · thinking edition) Operator pending verification | 9 | 54 | — | 20.25 | Full prices and sources |
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
4 recent · 0 stale (older than 10 days, or not updated by this refresh) · 0 unverified timestamps. No recent prices to summarize in this group. 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.
Sources not accepted this cycle and reasons
FAQ
Which API is cheapest for Google · gemini-3.1-pro-preview?
No valid quotes within 10 days. Older quotes are listed as reference 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 →