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.30 / 1 million tokens
- Cached input
- $0.03 / 1 million tokens
- Output
- $2.50 / 1 million tokens
- Context
- 1,048,576
- Max output
- 65,536
$0.30/2.50per 1 million tokens · input / output
bulk-classification Use this exampleThe shape most requests on this endpoint take: a fixed system message, one row in the user message, effort left at the default and a tight cap on the reply.
- 16
- Input types
- Text
- Output types
- Text
- Input
- $0.30 / 1 million tokens
- Cached input
- $0.03 / 1 million tokens
- Output
- $2.50 / 1 million tokens
- Context
- 1,048,576
- Max output
- 65,536
$0.30/2.50per 1 million tokens · input / output
translation-batch Use this exampleA translation pass. The instruction and the glossary live in the system message so that only the source text changes from call to call.
- 2000
- 0.2
- Input types
- Text
- Output types
- Text
- Input
- $0.30 / 1 million tokens
- Cached input
- $0.03 / 1 million tokens
- Output
- $2.50 / 1 million tokens
- Context
- 1,048,576
- Max output
- 65,536
$0.30/2.50per 1 million tokens · input / output
structured-extraction Use this exampleFor Gemini 3.5 Flash-Lite extraction, specify the expected keys alongside response_format and validate the returned JSON before storing the extracted record.
- 3000
- low
This example starts at Input $0.30 / Output $2.50 per 1 million tokens. The Playground updates the estimate when you change the settings.
