# Gemini 3.5 Flash

Gemini 3.5 Flash costs $1.5 per 1M input tokens and $9 per 1M output tokens on LLM API, with a 1.05M-token context window.

Model ID: `gemini-3.5-flash` · Google · Text generation · Released May 19, 2026
Updated: 2026-10-13
Canonical: https://llmapi.ai/models/google-gemini-3-5-flash/

- Input: $1.5 per 1M tokens
- Output: $9 per 1M tokens
- Cache read: $0.15 per 1M tokens
- Context: 1.05M tokens
- Max output: 4K tokens

## Pricing

Lowest price among 2 providers, after discounts.

| Price | Amount | Per |
| --- | --- | --- |
| Input | $1.5 | per 1M tokens |
| Output | $9 | per 1M tokens |
| Cache read | $0.15 | per 1M tokens |
| Web search | $0.014 | per search |

**Volume pricing.** At higher monthly volume, Gemini 3.5 Flash may cost less. Book a call and sales will quote a price for your usage. [Book a call with sales](https://meetings.hubspot.com/julia-andriienko/llmapi) or [Create an account first](https://app.llmapi.ai/signup).

## Providers

Prices after each provider’s discount; the lowest in bold.

| Provider | Input / 1M | Output / 1M | Cache read / 1M | Context | Max output |
| --- | --- | --- | --- | --- | --- |
| [Google AI Studio](https://llmapi.ai/providers/google-ai-studio/) | $1.5 | $9 | $0.15 | 1.05M | 4K |
| [Google Vertex AI](https://llmapi.ai/providers/google-vertex/) | $1.5 | $9 | $0.15 | 1.05M | 4K |

## Features

- Tools: Yes
- Parallel tool calls: No
- Image input: Yes
- Reasoning: Yes (Levels: minimal, low, medium, high)
- Prompt caching: Yes
- Structured outputs: No
- JSON mode: Yes
- Streaming: Yes
- Web search: Yes
- Batch: Yes

## Call Gemini 3.5 Flash

### Chat Completions (`POST /v1/chat/completions`)

Set LLMAPI_KEY to your LLM API key.

```python
import os

from openai import OpenAI

client = OpenAI(
    base_url="https://api.llmapi.ai/v1",
    api_key=os.environ["LLMAPI_KEY"],
)

response = client.chat.completions.create(
    model="gemini-3.5-flash",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)
```

Docs: [Chat Completions docs](https://docs.llmapi.ai/api/v1/chat/completions)

## More from Google

- [Gemini 4 Argon](https://llmapi.ai/models/gemini-4-argon/): $2 / $10 per 1M input / output
- [Gemini 3.8 Flash](https://llmapi.ai/models/google-gemini-3-8-flash/): $0.6375 / $3.1875 per 1M input / output
- [Gemini 3.5 Flash Lite](https://llmapi.ai/models/google-gemini-3-5-flash-lite/): $0.255 / $2.125 per 1M input / output

Prices synced 2026-11-03.

Next step: [Get API key](https://app.llmapi.ai/signup)
