gemini-3.1-pro-preview API pricing
Google Gemini charges $2 per million input tokens and $12 per million output tokens for gemini-3.1-pro-preview, and $0.2 per million cached input tokens. A typical request of 1,000 input and 500 output tokens costs $0.008, or $0.004 through the batch API.
Prices updated October 28, 2026
Input / 1M tokens
$2
Output / 1M tokens
$12
Cached input / 1M tokens
$0.2
Typical request
$0.008
gemini-3.1-pro-preview price per million tokens
| Token type | Standard | Batch API |
|---|---|---|
| Input | $2 | $1 |
| Cached input | $0.2 | $0.2 |
| Output | $12 | $6 |
gemini-3.1-pro-preview supports a 1.05M-token context window, up to 65.5K output tokens, image input, tool calling and reasoning.
What gemini-3.1-pro-preview costs per request
| Request | 1 request | 1,000 requests | 1M requests |
|---|---|---|---|
| Short chat message (300 in, 200 out) | $0.003 | $3.00 | $3,000.00 |
| Typical request (1K in, 500 out) | $0.008 | $8.00 | $8,000.00 |
| Long document summary (20K in, 1K out) | $0.052 | $52.00 | $52,000.00 |
| Coding agent step (50K in, 2K out) | $0.12 | $124.00 | $124,000.00 |
At standard rates. A token is about 4 characters of English text, so 1,000 tokens is roughly 750 words. Google Gemini counts tokens with its own tokenizer, so the same text can be a different number of tokens.
Models with a similar price
| Model | Provider | Input / 1M | Cached input / 1M | Output / 1M | Typical request |
|---|---|---|---|---|---|
| gpt-6-sol | OpenAI | $2 | $0.2 | $10 | $0.007 |
| gpt-6.1-sol | OpenAI | $2 | $0.1 | $10 | $0.007 |
| claude-sonnet-5 | Anthropic | $2 | $0.2 | $10 | $0.007 |
| claude-sonnet-5-5 | Anthropic | $2 | $0.1 | $10 | $0.007 |
| gemini-4-argon | Google Gemini | $2 | $0.1 | $10 | $0.007 |
| gpt-4o | OpenAI | $2.5 | $1.25 | $10 | $0.0075 |
| gpt-5.6-terra | OpenAI | $2 | $0.2 | $12 | $0.008 |
| gpt-5.2 | OpenAI | $1.75 | $0.175 | $14 | $0.00875 |
Other Google Gemini models
- gemini-2.5-flash $0.3 / $2.5
- gemini-2.5-flash-lite $0.1 / $0.4
- gemini-2.5-pro $1.25 / $10
- gemini-3-flash-preview $0.5 / $3
- gemini-3.1-flash-lite $0.25 / $1.5
- gemini-3.5-flash $1.5 / $9
- gemini-3.5-flash-lite $0.3 / $2.5
- gemini-3.6-flash $0.75 / $3.75
- gemini-3.7-flash $0.75 / $3.75
- gemini-3.8-flash $0.75 / $3.75
- gemini-4-argon $2 / $10
- gemini-omni-1.1-flash $1.5 / $9
Source: Google Gemini pricing.