google/gemini-2.5-flash/chatGemini 2.5 Flash pairs a long document read with a concise answer, using hybrid reasoning for summaries and extraction.
Workbench
These examples were written for this endpoint. Replace the prompt and sample media URLs with your own accessible inputs, then check the current quote and model availability before submitting.
- Input types
- Text
- Output types
- Text
- Input
- $0.285 / 1 million tokens
- Cached input
- $0.0285 / 1 million tokens
- Output
- $2.375 / 1 million tokens
- Context
- 1,048,576
- Max output
- 65,535
$0.285/2.38per 1 million tokens · input / output
long-read-short-answer Use this exampleA long read with a short answer, the whole document handed over in one message. This is what the million-token window is for.
- 800
- medium
- Input types
- Text
- Output types
- Text
- Input
- $0.285 / 1 million tokens
- Cached input
- $0.0285 / 1 million tokens
- Output
- $2.375 / 1 million tokens
- Context
- 1,048,576
- Max output
- 65,535
$0.285/2.38per 1 million tokens · input / output
bulk-classify Use this exampleThe cheap sweep: a fixed system message, only the material changes, effort on low. Most of the volume on this endpoint looks like this.
- 1000
- low
- Input types
- Text
- Output types
- Text
- Input
- $0.285 / 1 million tokens
- Cached input
- $0.0285 / 1 million tokens
- Output
- $2.375 / 1 million tokens
- Context
- 1,048,576
- Max output
- 65,535
$0.285/2.38per 1 million tokens · input / output
structured-output Use this exampleFor Gemini 2.5 Flash extraction, specify the expected keys alongside response_format and validate the returned JSON before storing the extracted record.
- 3000
This example starts at Input $0.285 / Output $2.375 per 1 million tokens. The Playground updates the estimate when you change the settings.
