# Gemini 3.5 Flash API Pricing

As of October 10, 2026, Gemini 3.5 Flash costs $1.50 per 1M input tokens and $9.00 per 1M output tokens on Google AI Studio, with cache reads at $0.15 per 1M tokens. Across 5 providers on LiteLLM, the input price ranges from $1.50 to $1.875. It has a 1,048,576-token context window and returns up to 65,536 tokens per response.

- Page: https://models.litellm.ai/models/gemini-3.5-flash
- Lab: Google
- LiteLLM model name: `gemini/gemini-3.5-flash`
- Context window: 1,048,576 tokens
- Max output: 65,536 tokens
- Added to LiteLLM: May 2026
- Prices updated: October 10, 2026

## Pricing by provider

Token prices in USD per 1M tokens.

| Provider | Model name | Input | Output | Cache read | Per image | Per second | Context |
|---|---|---|---|---|---|---|---|
| Google AI Studio | `gemini/gemini-3.5-flash` | $1.50 | $9.00 | $0.15 | – | – | 1M |
| Databricks | `databricks/databricks-gemini-3-5-flash` | $1.875 | $11.25 | $0.1875 | – | – | 1M |
| DeepInfra | `deepinfra/google/gemini-3.5-flash` | $1.50 | $9.00 | – | – | – | 1M |
| Google Vertex AI | `vertex_ai/gemini-3.5-flash` | $1.50 | $9.00 | $0.15 | – | – | 1M |
| Perplexity | `perplexity/google/gemini-3.5-flash` | $1.50 | $9.00 | $0.15 | – | – | – |

## Cost examples

1,000 requests with 2,000 input and 500 output tokens each:

- Google AI Studio: $7.50
- DeepInfra: $7.50
- Google Vertex AI: $7.50
- Perplexity: $7.50
- Google AI Studio batch: $3.75

100 long-document requests with 100,000 input and 2,000 output tokens each:

- Google AI Studio: $16.80
- DeepInfra: $16.80
- Google Vertex AI: $16.80
- Perplexity: $16.80

## Features

Supported: Function calling, Parallel tool calls, Structured output, Image input, PDF input, Audio input, Video input, Reasoning, Prompt caching, Web search.
Not supported: Audio output.

## Use it with LiteLLM

```python
from litellm import completion

response = completion(
    model="gemini/gemini-3.5-flash",
    messages=[{"role": "user", "content": "Hello!"}],
)
```

## FAQ

### How much does Gemini 3.5 Flash cost?

Gemini 3.5 Flash costs $1.50 per 1M input tokens and $9.00 per 1M output tokens on Google AI Studio, with cache reads at $0.15 per 1M tokens. Batch requests cost $0.75 per 1M input tokens and $4.50 per 1M output tokens. Across 5 providers on LiteLLM, the input price ranges from $1.50 to $1.875.

### What is the context window of Gemini 3.5 Flash?

Gemini 3.5 Flash has a 1,048,576-token context window and returns up to 65,536 tokens per response.

### Which providers offer Gemini 3.5 Flash?

Gemini 3.5 Flash is available from 5 providers through LiteLLM: Google AI Studio, Databricks, DeepInfra, Google Vertex AI and Perplexity. The lowest price is on Google AI Studio.

### How do I call Gemini 3.5 Flash with an OpenAI-compatible API?

Use the LiteLLM Python SDK with model="gemini/gemini-3.5-flash", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/chat/completions from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.

### What features does Gemini 3.5 Flash support?

Gemini 3.5 Flash supports function calling, parallel tool calls, structured output, image input, PDF input, audio input, video input, reasoning, prompt caching and web search. It does not support audio output.

### When did LiteLLM add Gemini 3.5 Flash?

Gemini 3.5 Flash was added to LiteLLM's model price file in May 2026.

Source: LiteLLM model price file, https://github.com/BerriAI/litellm/blob/main/model_prices_and_context_window.json
