API PRICES

Google · gemini-3.1-pro-preview

Provider prices, cheapest first

Browse all models

Google · gemini-3.1-pro-preview official price: input 2.00, output 12.00 USD per million tokens (Google, observed 2026-10-16). Cheapest inference provider: OpenRouter, input 2.000000, output 12.000000 USD per million tokens. 222 sites have comparable prices; 526 sites list this model. Conditions: Paid tier · Standard processing · Input modality: text · Output includes thinking tokens · Cache storage charged separately · Prompt-token tier: <=200000 · Output modality: text · Default tier when no override applies · Next prompt-tier threshold: 200000 (boundary inclusivity unspecified)

Official price

ProviderInputOutputCache readCache writeUnitObservedConditions and source
Google2.0012.000.20—USD / 1M tokensPaid tier · Standard processing · Input modality: text · Output includes thinking tokens · Cache storage charged separately · Prompt-token tier: <=200000
Official source
Google4.0018.000.40—USD / 1M tokensPaid tier · Standard processing · Input modality: text · Output includes thinking tokens · Cache storage charged separately · Prompt-token tier: >200000
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

ProviderInputOutputCache readCache writeUnitObservedConditions and sourcevs official
OpenRouter · Aggregator2.00000012.0000000.20000000.375000000USD / 1M tokensInput modality: text · Output modality: text · Default tier when no override applies · Next prompt-tier threshold: 200000 (boundary inclusivity unspecified) · Standard processing
Official source
OpenRouter · Aggregator4.00000018.0000000.40000000.375000000USD / 1M tokensInput modality: text · Output modality: text · API prompt-tier threshold: 200000 (boundary inclusivity unspecified) · Standard processing
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

Filtering by provider: dawcode.com

Searching…

Browse all providers
Clear filters

Blended price = input × 75% + output × 25%, without cache.

sites have comparable prices222526 sites list this model; approximately 0 operators
Lowest input price—USD credits / 1M
Median of each provider’s lowest price—USD credits / 1M

No comparable prices

No prices match the filters. Clear them to see more.

View other prices and terms for this model
How this ranking works

All per-token prices: 96,427 prices from 839 sites (about 733 companies). 88,950 are ranked, from 826 sites (about 720 companies); 7,477 more are listed separately and not ranked. Prices collected up to 2026-10-10.

This model has 2466 recorded prices; 705 can be compared directly (509 ranked, 196 listed separately). Not comparable yet: price not parsed yet 475, billed per request or another unit 434, tiered by rules (see Tiered prices) 355, new price under review; showing the previous one 312, ratio looks unset 71, display unit not confirmed 66, scope of the official doc price not confirmed 48

0 recent · 0 stale (older than 7 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.

Full methodology →

Switch model