---
title: "Gemini-3.1-pro API pricing and price per token | BroadRouter"
description: "Gemini-3.1-pro API price per token from DeepInfra's own pricing page: USD 2 input and USD 12 output per 1M tokens, with cached input, context and workload costs."
url: https://broadrouter.com/llm-api-pricing/gemini-3.1-pro/
lang: en
updated: 2026-11-14
publisher: BroadRouter (a BroadNet site); API by BroadNet Inference, https://inference.broadnet.ai
---

# Gemini-3.1-pro API pricing

Updated 2026-11-14

DeepInfra is the only provider we checked (prices read 2026-11-14) that lists a standard price for Gemini-3.1-pro: USD 2 per 1M input tokens and USD 12 per 1M output tokens. Each price is read from the provider's own pricing page.

Google · slug `gemini-3.1-pro` · up to 1,000,000 tokens of context · 1 provider with a standard price. **Every price is read from the provider's own pricing page** and linked in its row, checked 2026-11-14. No aggregator feed. [Download all prices](https://broadrouter.com/data/llm-api-provider-prices/) (every provider and model, with sources, CSV or JSON). How it compares with the market: the [LLM API price index](https://broadrouter.com/data/llm-api-price-index/). Archived list prices since 2026-06-01 (6 archived price points, 0 list-price changes): [LLM API price history](https://broadrouter.com/data/llm-api-price-history/#p-deepinfra).

## Does Google sell Gemini-3.1-pro directly?

Google publishes no price for Gemini-3.1-pro on its own API that we could find, so this page compares hosts only.

## Gemini-3.1-pro price per provider

USD per 1M tokens. Standard prices are ranked on a blend of 3 input tokens to 1 output token, cheapest first.

Gemini-3.1-pro API prices by provider
| # | Provider | Input | Cached input | Output | Blended 3:1 | Context | Precision | Source |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | **[DeepInfra](https://broadrouter.com/llm-api-pricing/providers/deepinfra/)** cheapest · `google/gemini-3.1-pro` · Quote: “$2.00 in $12.00 out / 1M tokens” | USD 2 | not published | USD 12 | USD 4.50 | 1,000,000 | not stated | [DeepInfra page](https://deepinfra.com/google/gemini-3.1-pro) · checked 2026-11-14 · re-checked 2026-11-16 |

-   **Ranked:** standard-tier prices only, on (3 × input + output) ÷ 4. "Cached input: not published" means the provider's page shows no cache price; budget cached tokens at the input price.
-   **Automated re-check 2026-11-16:** a weekly job re-fetches each source page and looks for the recorded quote or prices. It is not a human review. "Re-checked" means it still found them. Rows with no re-check note show only the date the price was read.
-   **Precision** is shown only where the provider states it; "not stated" is unknown, not full precision.

[Report a wrong price or number](mailto:info@broadnet.ai?subject=Wrong%20price%20or%20number%20on%20Gemini-3.1-pro%20API%20pricing&body=Page%3A%20https%3A%2F%2Fbroadrouter.com%2Fllm-api-pricing%2Fgemini-3.1-pro%2F%0A%0AWhat%20looks%20wrong%20(model%2C%20figure%20shown%2C%20correct%20figure%20and%20a%20source%20link%20if%20you%20have%20one)%3A%0A) (email to info@broadnet.ai, with this page's link filled in).

## What does Gemini-3.1-pro cost for a real workload?

Monthly cost over 30 days at each standard price, using the presets of the [LLM API cost calculator](https://broadrouter.com/tools/llm-api-cost-calculator/?model=gemini-3.1-pro). Providers without a cached price bill cached input at the input price.

-   **Support chatbot:** 2,000 requests a day, 1,500 input tokens (60% cached), 300 output.
-   **RAG over documents:** 1,000 requests a day, 8,000 input tokens (30% cached), 500 output.
-   **Coding agent (one developer):** 1,500 requests a day, 40,000 input tokens (85% cached), 2,000 output incl. reasoning.

Monthly cost of three workloads on Gemini-3.1-pro, by provider
| Provider | Support chatbot | RAG over documents | Coding agent (one developer) |
| --- | --- | --- | --- |
| **DeepInfra** | USD 396.00 | USD 660.00 | USD 4,680 |

## Estimate your own bill

-   [LLM API cost calculator with Gemini-3.1-pro preloaded](https://broadrouter.com/tools/llm-api-cost-calculator/?model=gemini-3.1-pro): your traffic and cache rate, against any of 429 models.
-   [Token counter](https://broadrouter.com/tools/token-counter/): count the tokens in your real prompts. Tokenizers differ, so the same text costs a different number of tokens on different models.
-   [Prompt caching calculator](https://broadrouter.com/tools/prompt-caching-calculator/): what a higher cache-hit rate saves.

## How does Gemini-3.1-pro compare with other Google models?

The Google models whose cheapest standard price is closest to Gemini-3.1-pro's (USD 4.50 blended):

Google models priced closest to Gemini-3.1-pro
| Model | Cheapest input | Cheapest output | Max context | Providers |
| --- | --- | --- | --- | --- |
| [Gemini 3.1 Pro Preview](https://broadrouter.com/llm-api-pricing/gemini-3.1-pro-preview/) | USD 2 | USD 12 | 1,048,576 | 3 |
| [Gemini 4 Argon](https://broadrouter.com/llm-api-pricing/gemini-4-argon/) | USD 2 | USD 10 | 1,048,576 | 4 |
| [Gemini 4 Carbon](https://broadrouter.com/llm-api-pricing/gemini-4-carbon/) | USD 2 | USD 10 | 1,048,576 | 4 |
| [Gemini 2.5 Pro](https://broadrouter.com/llm-api-pricing/gemini-2.5-pro/) | USD 1.25 | USD 10 | 1,000,000 | 3 |
| [Gemini 3.5 Flash](https://broadrouter.com/llm-api-pricing/gemini-3.5-flash/) | USD 1.50 | USD 9 | 1,048,576 | 3 |
| [Gemini 4 Hydrogen](https://broadrouter.com/llm-api-pricing/gemini-4-hydrogen/) | USD 1.50 | USD 7.50 | — | 3 |

Priced closest from other makers: [GPT-5.6 Terra](https://broadrouter.com/llm-api-pricing/gpt-5.6-terra/) (OpenAI, USD 4.50) · [GPT-4o](https://broadrouter.com/llm-api-pricing/gpt-4o/) (OpenAI, USD 4.375) · [GPT-5.2](https://broadrouter.com/llm-api-pricing/gpt-5.2/) (OpenAI, USD 4.813).

[All 429 models: API prices compared](https://broadrouter.com/llm-api-pricing/) · [Cheapest LLM APIs right now](https://broadrouter.com/llm-api-pricing/cheapest/) · [LLM API price index (open data)](https://broadrouter.com/data/llm-api-price-index/) · [Download all prices (CSV, JSON)](https://broadrouter.com/data/llm-api-provider-prices/) · [Price change log](https://broadrouter.com/llm-api-pricing/changes/)

## Questions

### How much does the Gemini-3.1-pro API cost per token?

From USD 2 per 1M input tokens (USD 0.000002 per token) and USD 12 per 1M output tokens (USD 0.000012 per token) at the lowest standard prices we found. Each price was read from the provider's own pricing page; the source is linked in its row.

### Which provider is cheapest for Gemini-3.1-pro?

DeepInfra is the only provider we checked (prices read 2026-11-14) with a paid standard price, USD 2 input and USD 12 output per 1M tokens, so there is nothing to rank yet.

### Does Google sell Gemini-3.1-pro on its own API?

Google publishes no price for Gemini-3.1-pro on its own API that we could find, so there is no maker price to compare. The lowest-priced host we checked is DeepInfra at USD 2 / USD 12 per 1M tokens.

### Does Gemini-3.1-pro have cached input pricing?

The only standard price has no cached-input price, so budget repeated prompts at the full input price.

### What is the Gemini-3.1-pro context window?

1,000,000 tokens on every provider that states it.

### How much does a coding agent cost per month on Gemini-3.1-pro?

For 1,500 requests a day, 40,000 input tokens (85% cached), 2,000 output incl. reasoning, over 30 days: USD 4,680 a month at DeepInfra. Most of the input is cached, so the cache price matters as much as the input price. [Try your own numbers](https://broadrouter.com/tools/llm-api-cost-calculator/?model=gemini-3.1-pro).

### Is Gemini-3.1-pro free to use through an API?

No provider in our data lists a free price for Gemini-3.1-pro as of 2026-11-14. [Free tiers and credits by provider](https://broadrouter.com/data/llm-api-free-tiers-and-rate-limits/) (checked 2026-11-14) lists general offers that do not name a model; [all free LLM API models](https://broadrouter.com/llm-api-pricing/free/) are on one page.

Try it on your real workload. New accounts start with $5 of credit for Gemma and transcription. DeepSeek, GLM and Qwen3.8 need a top-up.

[Get started](https://inference.broadnet.ai/account/?utm_source=broadrouter&utm_medium=referral&utm_campaign=llm-api-pricing-gemini-3.1-pro&utm_content=page-cta) ·

**Sources**

-   [DeepInfra: pricing (checked 2026-11-14)](https://deepinfra.com/google/gemini-3.1-pro)
