---
title: "Gemini 3.5 Flash"
description: "Gemini 3.5 Flash by Google: 1.05M context. Compare provider prices and applicable pricing conditions on the model page. Pay as you go."
canonical: https://pirouter.ai/models/google/gemini-3.5-flash
last-updated: 2026-10-15
---

# Gemini 3.5 Flash

> Gemini 3.5 Flash by Google: 1.05M context. Compare provider prices and applicable pricing conditions on the model page. Pay as you go.

Gemini 3.5 Flash is an earlier Flash model in Google's Gemini 3 series, now listed as legacy, aimed at sub-agents, multi-step workflows and fast agentic coding loops. It accepts text, image, audio, video and PDF input with a 1M-token context and up to 65K output tokens.

## At a glance

- Model ID: `google/gemini-3.5-flash`
- Also accepted as: `gemini-3.5-flash`
- Vendor: Google
- Category: text
- Openness: Proprietary
- Model page: https://ai.google.dev/gemini-api/docs/models/gemini-3.5-flash
- Context: 1,048,576 tokens
- Max output: 65,536 tokens
- Added to pirouter: 2026-05-19
- Status: Available

## Pricing (USD per 1M tokens)

|  | Input | Output | Cache read | Cache write | Reasoning | Audio input |
|---|---|---|---|---|---|---|
| Standard | $1.5 | $9 | $0.15 | $0.0833 | $9 | $1.5 |

## Capabilities

- Function calling
- Tool choice
- Structured outputs
- Response schema
- Reasoning
- Prompt caching
- System messages
- Streaming
- Vision
- Audio input
- Video input
- PDF input

## Reasoning effort

- high, medium, low, minimal (default: medium)

## How to call it

One pirouter API key works with every API format below; create it in the console. Use one of these formats; formats not listed are not available for this model.

- API key: https://app.pirouter.ai/sign-in

### OpenAI Responses

- Endpoint: `POST /v1/responses` on https://api.pirouter.ai
- Auth: `Authorization: Bearer <key>`
- SDK base URL: https://api.pirouter.ai/v1
- Reference: https://pirouter.ai/docs/api/responses

```bash
curl https://api.pirouter.ai/v1/responses \
  -H "Authorization: Bearer $PIROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/gemini-3.5-flash",
    "input": "Hello!"
  }'
```

### OpenAI Chat

- Endpoint: `POST /v1/chat/completions` on https://api.pirouter.ai
- Auth: `Authorization: Bearer <key>`
- SDK base URL: https://api.pirouter.ai/v1
- Reference: https://pirouter.ai/docs/api/chat-completions

```bash
curl https://api.pirouter.ai/v1/chat/completions \
  -H "Authorization: Bearer $PIROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/gemini-3.5-flash",
    "messages": [{ "role": "user", "content": "Hello!" }]
  }'
```

### Gemini

- Endpoint: `POST /v1beta/models/google/gemini-3.5-flash:generateContent` on https://api.pirouter.ai
- Auth: `Authorization: Bearer <key>`
- SDK base URL: https://api.pirouter.ai
- Reference: https://pirouter.ai/docs/api/generate-content

```bash
curl "https://api.pirouter.ai/v1beta/models/google/gemini-3.5-flash:generateContent" \
  -H "Authorization: Bearer $PIROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "contents": [{ "parts": [{ "text": "Hello!" }] }]
  }'
```

## Providers

One row per provider; pirouter sends each request to a healthy one.

| Provider | API format | Context | Max output | Input /M | Output /M | Trains on your data | Data retention |
|---|---|---|---|---|---|---|---|
| gcp | openai, gemini | 1,048,576 | 65,536 | $1.5 | $9 | No | Limited |

## Rankings

Where this model ranks on each blind-vote leaderboard, listing the boards where it makes the top 100. Open a board for the full ranking.

| Board | Rank | Score |
|---|---|---|
| [Overall](https://pirouter.ai/rankings/overall) | #24 / 385 | 1477 |
| [Coding](https://pirouter.ai/rankings/coding) | #54 / 380 | 1507 |
| [Math](https://pirouter.ai/rankings/math) | #17 / 371 | 1496 |
| [Creative writing](https://pirouter.ai/rankings/creative) | #14 / 383 | 1469 |
| [Instruction following](https://pirouter.ai/rankings/instruct) | #34 / 385 | 1466 |
| [Multi-turn](https://pirouter.ai/rankings/multiturn) | #32 / 383 | 1481 |
| [Long prompts](https://pirouter.ai/rankings/longctx) | #34 / 363 | 1482 |
| [Chinese](https://pirouter.ai/rankings/chinese) | #27 / 362 | 1517 |
| [Web dev](https://pirouter.ai/rankings/webdev) | #48 / 121 | 1499 |
| [Vision](https://pirouter.ai/rankings/vision) | #17 / 144 | 1285 |
| [Documents](https://pirouter.ai/rankings/document) | #21 / 38 | 1461 |

Data: [LMArena leaderboard dataset](https://huggingface.co/datasets/lmarena-ai/leaderboard-dataset), used under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Updated 2026-10-01

## Supported parameters

`tools`, `tool_choice`, `response_format`, `structured_outputs`, `max_tokens`, `temperature`, `top_p`, `seed`, `stop`, `reasoning`, `include_reasoning`, `stream`

## Links

- HTML: https://pirouter.ai/models/google/gemini-3.5-flash
- JSON: https://pirouter.ai/api/models/google/gemini-3.5-flash
- Providers JSON: https://api.pirouter.ai/v1/models/google/gemini-3.5-flash/endpoints
- Leaderboard ranks (JSON): https://pirouter.ai/api/models/google/gemini-3.5-flash/rankings
- Catalog: https://pirouter.ai/models
- Quickstart: https://pirouter.ai/docs/quickstart
- How routing works: https://pirouter.ai/docs/routing
- llms.txt: https://pirouter.ai/llms.txt

---

HTML version: https://pirouter.ai/models/google/gemini-3.5-flash · Machine-readable index: https://pirouter.ai/llms.txt
