Google model API pricing
Google Gemini 3.1 Pro Preview API pricing
Google Gemini 3.1 Pro Preview API pricing is $2.00 per 1M input tokens and $12.00 per 1M output tokens in the ByteCosts provider pricing index. For an equal 1M input plus 1M output token plan, the listed token cost is $14.00. Context window: -. Prompt cache prices: read $0.200, write -, 1h write $4.50 per 1M tokens. The confidence grade is A+: Read from the provider's official pricing page. The source was last checked 2026-07-19. At a reference workload of 1M input tokens and 250K output tokens per month, the listed token cost is $8.50 / month. This is a planning estimate; real invoices can differ because taxes, discounts, commitments, gateway fees, and non-token charges are excluded.
Open the pricing index - Google / Gemini 3.1 Pro Preview →
Pricing snapshot
| Field | Value |
|---|---|
| Provider | |
| Model | Gemini 3.1 Pro Preview |
| Input / 1M tokens | $2.00 |
| Output / 1M tokens | $12.00 |
| Cache read / 1M tokens | $0.200 |
| Cache write / 1M tokens | - |
| Cache write 1h / 1M tokens | $4.50 |
| Context window | - |
| Reference monthly workload | $8.50 / month |
The reference workload is 1M input tokens plus 250K output tokens per month. It excludes taxes, discounts, gateway fees, and non-token charges.
Reference workload examples
Each example is pure arithmetic from this committed record's input and output token prices. The assumptions are shown inline.
| Example | Assumed monthly tokens | Estimated token cost |
|---|---|---|
| Light reference | 1M input + 250K output tokens/month | $8.50 / month |
| Production reference | 10M input + 2.5M output tokens/month | $85.00 / month |
| Heavy reference | 100M input + 25M output tokens/month | $850 / month |
Examples exclude taxes, discounts, commitments, gateway fees, cache effects, and non-token charges unless those charges are part of the committed token price record.
Gemini 3.1 Pro Preview pricing across providers
Gemini 3.1 Pro Preview is listed by 2 providers in the ByteCosts index. Per-million-token list prices, lowest input first.
| Provider | Input / 1M | Output / 1M |
|---|---|---|
| Google (this page) | $2.00 | $12.00 |
| Vivgrid | $3.00 | $12.00 |
When this model is cost-effective
Gemini 3.1 Pro Preview ranks 3 of 3 Google records by combined list price ($14.00 for 1M input plus 1M output tokens). That puts it in the higher-priced third of this provider's committed records.
Cached input reads are listed at $0.200 per 1M tokens, 10% of the fresh input rate, so repeated cached prompts have a lower committed input-token cost than fresh prompts.
No context window is committed for this record, so there is no long-context cost signal to apply.
Cheaper alternatives
These records have a lower committed input+output list price than this page's record. Same-provider records and same-model cross-provider records are preferred when available.
| Record | Input / 1M | Output / 1M | Combined / 1M + 1M | Detail page |
|---|---|---|---|---|
| Google Gemini 3 Flash Preview | $0.500 | $3.00 | $3.50 | /tools/ai-provider-pricing/google--gemini-3-flash-preview |
| Google Gemini Robotics-ER 1.6 Preview | $1.00 | $5.00 | $6.00 | /tools/ai-provider-pricing/google--gemini-robotics-er-1.6-preview |
| Z.AI GLM-4.7-Flash | $0 | $0 | $0 | /tools/ai-provider-pricing/zai--glm-4.7-flash |
Evidence and freshness
ByteCosts grades this row A+. Read from the provider's official pricing page. The record was first tracked on 2026-06-01 and last checked on 2026-07-19.
The source URL is kept with the record so readers can verify the provider page before making a purchasing or architecture decision. Prices change often, so quote the last-checked date with any copied number.
Watch-outs
- cache write premium
- long context surcharge
- speed tier upcharge
- tiered pricing
Price history
| When | Field | Was | Now | Change |
|---|---|---|---|---|
| 2026-07-19 | batchInput | new | $1.00 | new |
| 2026-07-19 | batchOutput | new | $6.00 | new |
| 2026-07-19 | flexInput | new | $1.00 | new |
| 2026-07-19 | flexOutput | new | $6.00 | new |
| 2026-07-19 | priorityInput | new | $3.60 | new |
| 2026-07-19 | priorityOutput | new | $21.60 | new |
| 2026-06-01 | input | new | $2.00 | new |
Frequently asked questions
Is Gemini 3.1 Pro Preview free to use?
This ByteCosts row is not marked free. Use the listed token rates and verify the provider source for discounts, commitments, and account-specific terms.
Does this page include all possible charges?
No. The page focuses on source-backed token pricing and known cache/context fields. It does not include taxes, enterprise commitments, gateway markups, storage, retrieval, fine-tuning, or platform fees unless those charges are present in the source-backed row.
Google Gemini 3.1 Pro Preview API pricing. ByteCosts. Updated 2026-07-19. https://bytecosts.com/tools/ai-provider-pricing/google--gemini-3.1-pro-preview/