API pricing

# Google API pricing

> Google API prices run from $0.04 per million input tokens (Gemma 3 4B) to $2 (Gemini 3.1 Pro Preview). Its highest-ranked model, Gemini 3.8 Flash, costs $0.75 input and $3.75 output per million tokens.
- Canonical page: https://noometry.com/llm-pricing/google
- Last updated: 2026-10-10
- Title: Google API Pricing (October 2026): Every Model per 1M Tokens

Google API prices run from $0.04 per million input tokens (Gemma 3 4B) to $2 (Gemini 3.1 Pro Preview). Its highest-ranked model, Gemini 3.8 Flash, costs $0.75 input and $3.75 output per million tokens.

Last verified October 10, 2026

Official price list: [ai.google.dev](https://ai.google.dev/gemini-api/docs/pricing)

API prices per million tokens
|  |  |  | Cached input |  |  |  |
| --- | --- | --- | --- | --- | --- | --- |
| [Gemma 3 4B](https://noometry.com/models/gemma-3-4b) (open weights) | $0.04 | $0.08 | — | **$0.05** | 131K | 28.1 |
| [Gemma 3 12B](https://noometry.com/models/gemma-3-12b) (open weights) | $0.05 | $0.15 | — | **$0.075** | 131K | 32.1 |
| [Gemma 3 27B](https://noometry.com/models/gemma-3-27b) (open weights) | $0.08 | $0.16 | — | **$0.10** | 131K | 30.8 |
| [Gemma 4 26B A4B IT](https://noometry.com/models/gemma-4-26b-a4b-it) (open weights) | $0.0675 | $0.23 | $0.0375 | **$0.11** | 262K | 43.5 |
| [Gemma 4 31B IT](https://noometry.com/models/gemma-4-31b-it) (open weights) | $0.09 | $0.34 | $0.05 | **$0.15** | 262K | 43.5 |
| [Gemini 2.5 Flash-Lite](https://noometry.com/models/gemini-2-5-flash-lite) | $0.10 | $0.40 | $0.01 | **$0.18** | 1.05M | 37.0 |
| [Gemini 3.1 Flash Lite](https://noometry.com/models/gemini-3-1-flash-lite) | $0.25 | $1.50 | $0.025 | **$0.56** | 1.05M | 40.8 |
| [Gemma 2 27B](https://noometry.com/models/gemma-2-27b) (open weights) | $0.65 | $0.65 | — | **$0.65** | 8K | 29.4 |
| [Gemini 2.5 Flash](https://noometry.com/models/gemini-2-5-flash) | $0.30 | $2.50 | $0.03 | **$0.85** | 1.05M | 39.3 |
| [Gemini 3.5 Flash Lite](https://noometry.com/models/gemini-3-5-flash-lite) | $0.30 | $2.50 | $0.03 | **$0.85** | 1.05M | 41.5 |
| [Gemini 3 Flash Preview](https://noometry.com/models/gemini-3-flash-preview) | $0.50 | $3 | $0.05 | **$1.13** | 1.05M | 52.3 |
| [Gemini 3.6 Flash](https://noometry.com/models/gemini-3-6-flash) | $0.75 | $3.75 | $0.075 | **$1.50** | 1.05M | 54.1 |
| [Gemini 3.7 Flash](https://noometry.com/models/gemini-3-7-flash) | $0.75 | $3.75 | $0.075 | **$1.50** | 1.05M | 59.8 |
| [Gemini 3.8 Flash](https://noometry.com/models/gemini-3-8-flash) | $0.75 | $3.75 | $0.075 | **$1.50** | 1.05M | 61.8 |
| [Nano Banana 2.1](https://noometry.com/models/nano-banana-2-1) | $1.50 | $7.50 | — | **$3** | 131K | — |
| [Gemini 3.5 Flash](https://noometry.com/models/gemini-3-5-flash) | $1.50 | $9 | $0.15 | **$3.38** | 1.05M | 54.2 |
| [Gemini 2.5 Pro](https://noometry.com/models/gemini-2-5-pro) | $1.25 | $10 | $0.13 | **$3.44** | 1.05M | 45.0 |
| [Gemini 3.1 Pro Preview](https://noometry.com/models/gemini-3-1-pro-preview) | $2 | $12 | $0.20 | **$4.50** | 1.05M | 56.7 |
| [Gemini 3.1 Pro Preview Custom Tools](https://noometry.com/models/gemini-3-1-pro-preview-custom-tools) | $2 | $12 | $0.20 | **$4.50** | 1.05M | — |

## Prices on other platforms

The same models are often sold through clouds and resellers at different rates.

| Model | Route | Input | Output | Checked |
| --- | --- | --- | --- | --- |
| [Gemini 3.8 Flash](https://noometry.com/models/gemini-3-8-flash) | google | $0.75 | $3.75 | 2026-10-10 |
|  | openrouter | $0.75 | $3.75 | 2026-10-10 |
|  | vertex | $0.75 | $3.75 | 2026-10-10 |
| [Gemini 3.7 Flash](https://noometry.com/models/gemini-3-7-flash) | google | $0.75 | $3.75 | 2026-10-10 |
|  | openrouter | $0.75 | $3.75 | 2026-10-10 |
|  | vertex | $0.75 | $3.75 | 2026-10-10 |
| [Gemini 3.1 Pro Preview](https://noometry.com/models/gemini-3-1-pro-preview) | google | $2 | $12 | 2026-10-10 |
|  | openrouter | $2 | $12 | 2026-10-10 |
|  | vertex | $2 | $12 | 2026-10-10 |
| [Gemini 3.5 Flash](https://noometry.com/models/gemini-3-5-flash) | google | $1.50 | $9 | 2026-10-10 |
|  | openrouter | $1.50 | $9 | 2026-10-10 |
|  | vertex | $1.50 | $9 | 2026-10-10 |
| [Gemini 3.6 Flash](https://noometry.com/models/gemini-3-6-flash) | google | $0.75 | $3.75 | 2026-10-10 |
|  | openrouter | $0.75 | $3.75 | 2026-10-10 |
|  | vertex | $0.75 | $3.75 | 2026-10-10 |
| [Gemini 3 Flash Preview](https://noometry.com/models/gemini-3-flash-preview) | google | $0.50 | $3 | 2026-10-10 |
|  | openrouter | $0.50 | $3 | 2026-10-10 |
|  | vertex | $0.50 | $3 | 2026-10-10 |
| [Gemini 2.5 Pro](https://noometry.com/models/gemini-2-5-pro) | google | $1.25 | $10 | 2026-10-10 |
|  | openrouter | $1.25 | $10 | 2026-10-10 |
|  | vertex | $1.25 | $10 | 2026-10-10 |
| [Gemma 4 31B IT](https://noometry.com/models/gemma-4-31b-it) | bedrock | $0.14 | $0.40 | 2026-10-10 |
|  | deepinfra | $0.20 | $0.40 | 2026-10-10 |
|  | openrouter | $0.09 | $0.34 | 2026-10-10 |
| [Gemma 4 26B A4B IT](https://noometry.com/models/gemma-4-26b-a4b-it) | bedrock | $0.13 | $0.40 | 2026-10-10 |
|  | deepinfra | $0.07 | $0.34 | 2026-10-10 |
|  | openrouter | $0.0675 | $0.23 | 2026-10-10 |
|  | vertex | $0.15 | $0.60 | 2026-10-10 |
| [Gemini 3.5 Flash Lite](https://noometry.com/models/gemini-3-5-flash-lite) | google | $0.30 | $2.50 | 2026-10-10 |
|  | openrouter | $0.30 | $2.50 | 2026-10-10 |
|  | vertex | $0.30 | $2.50 | 2026-10-10 |
| [Gemini 3.1 Flash Lite](https://noometry.com/models/gemini-3-1-flash-lite) | google | $0.25 | $1.50 | 2026-10-10 |
|  | openrouter | $0.25 | $1.50 | 2026-10-10 |
|  | vertex | $0.25 | $1.50 | 2026-10-10 |
| [Gemini 2.5 Flash](https://noometry.com/models/gemini-2-5-flash) | google | $0.30 | $2.50 | 2026-10-10 |
|  | openrouter | $0.30 | $2.50 | 2026-10-10 |
|  | vertex | $0.30 | $2.50 | 2026-10-10 |
| [Gemini 2.5 Flash-Lite](https://noometry.com/models/gemini-2-5-flash-lite) | google | $0.10 | $0.40 | 2026-10-10 |
|  | openrouter | $0.10 | $0.40 | 2026-10-10 |
|  | vertex | $0.10 | $0.40 | 2026-10-10 |
| [Gemma 3 12B](https://noometry.com/models/gemma-3-12b) | bedrock | $0.09 | $0.29 | 2026-10-10 |
|  | deepinfra | $0.05 | $0.15 | 2026-10-10 |
|  | openrouter | $0.05 | $0.15 | 2026-10-10 |
| [Gemma 3 27B](https://noometry.com/models/gemma-3-27b) | bedrock | $0.23 | $0.38 | 2026-10-10 |
|  | deepinfra | $0.08 | $0.16 | 2026-10-10 |
|  | openrouter | $0.08 | $0.45 | 2026-10-10 |
| [Gemma 2 27B](https://noometry.com/models/gemma-2-27b) | openrouter | $0.65 | $0.65 | 2026-10-10 |
| [Gemma 3 4B](https://noometry.com/models/gemma-3-4b) | bedrock | $0.04 | $0.08 | 2026-10-10 |
|  | deepinfra | $0.05 | $0.10 | 2026-10-10 |
|  | openrouter | $0.05 | $0.10 | 2026-10-10 |
| [Gemini 3.1 Pro Preview Custom Tools](https://noometry.com/models/gemini-3-1-pro-preview-custom-tools) | google | $2 | $12 | 2026-10-10 |
|  | openrouter | $2 | $12 | 2026-10-10 |
|  | vertex | $2 | $12 | 2026-10-10 |
| [Nano Banana 2.1](https://noometry.com/models/nano-banana-2-1) | openrouter | $1.50 | $7.50 | 2026-10-10 |
|  | vertex | $1.50 | $30 | 2026-10-10 |

## Frequently asked questions

### How much does the Google API cost?

Google API prices run from $0.04 per million input tokens (Gemma 3 4B) to $2 (Gemini 3.1 Pro Preview). Its highest-ranked model, Gemini 3.8 Flash, costs $0.75 input and $3.75 output per million tokens.

### Does Google discount cached input?

Yes. Cached input is billed at a lower rate on 14 of the 19 priced models; the cached rate is listed next to each model.
