gemini-3.8-flash
Auto-routergemini/gemini-3.8-flash
Context
1.0M
Max output
66K
Input / 1M
$0.75
Output / 1M
$3.75
Cached / 1M
$0.075
Cutoff
unknown
About this model
Gemini 3.8 Flash is Google's most intelligent Flash model, engineered for long-horizon software engineering, autonomous agents, and complex enterprise workflows, with the speed and cost efficiency of Flash. Supports text, image, video, audio, and PDF input with a 1,048,576-token input limit and 65,536-token output limit..
Best suited for
- Long-horizon software engineering
- Autonomous agents
- Complex enterprise workflows
- Multimodal (text/image/video/audio/PDF) understanding
Built-in tools
Hosted by the gateway — enable them per request without wiring your own endpoint.
Capabilities
Vision
Accepts images alongside text in the same message.
Files
Accepts file attachments — PDFs, transcripts, spreadsheets.
Tools
Native function calling, so agents can invoke your endpoints.
System prompt
Honours a dedicated system role, separate from the user turn.
Reasoning
Emits a separate thinking pass before the answer.
Supported parameters
max_tokensMax Tokens LimitSpecifies the maximum number of text units (tokens) allowed in a response, limiting its length.
toolsLists tool definitions or capabilities available to the model.
tool_choiceDecides whether to use tools or just the model for generating responses.
response_typeDefines the format or type of the generated response.
parallel_tool_callsEnables parallel execution of tools, allowing multiple tools to run simultaneously.
reasoningControls the level of reasoning (thinking) used by the model. Minimal is not supported and returns an error for this model.
streamSends the response in real-time as it's being generated.
service_tierSelects Standard, Priority, or Flex inference consumption option.
Use this model
OpenAI-SDK compatible, with gateway fallback and routing across providers.
Other Gemini models
| Model | Context | Max output | Input | Output | Capabilities |
|---|---|---|---|---|---|
| gemini-4-argon Chat | 1.0M | 66K | $2.00 | $10.00 | Files, Tools, System prompt |
| gemini-3.1-flash-lite Chat | 1.0M | 66K | $0.25 | $1.50 | Vision, Files, Tools, System prompt, Reasoning |
| gemini-omni-1.1-flash Chat | 1.0M | 66K | $1.50 | $9.00 | Vision, Files, System prompt |
| gemini-3.7-flash Chat | 1.0M | 66K | $0.75 | $3.75 | Vision, Files, Tools, System prompt, Reasoning |
| gemini-3.5-flash-lite Chat | 1.0M | 66K | $0.30 | $2.50 | Vision, Files, Tools, System prompt, Reasoning |
| gemini-3.6-flash Chat | 1.0M | 66K | $0.75 | $3.75 | Vision, Files, Tools, System prompt, Reasoning |
| gemini-3.5-flash Chat | 1.0M | 66K | $1.50 | $9.00 | Vision, Tools, System prompt |
| gemini-3-flash-preview Chat | 1.0M | 66K | $0.50 | $3.00 | Vision, Tools, System prompt |
| gemini-3.1-pro-preview Chat | 1.0M | 66K | $2.00 | $12.00 | Vision, Tools, System prompt, Reasoning |
| gemini-2.5-flash-lite Chat | 1.0M | 66K | $0.10 | $0.40 | Vision, Tools, System prompt |
| gemini-2.5-pro Chat | 1.0M | 66K | $1.25 | $10.00 | Vision, Tools, System prompt |
| gemini-2.5-flash Chat | 1.0M | 66K | $0.30 | $2.50 | Files, Tools, System prompt |
| gemini-3.1-flash-lite-image Image | — | — | — | — | Vision |
| gemini-3-pro-image Image | — | — | — | — | Vision |
| gemini-3.1-flash-image Image | — | — | — | — | Vision |
Pricing & provider details
Gemini
gemini/gemini-3.8-flash
- Input · per 1M
- $0.75
- Output · per 1M
- $3.75
- Cached input · per 1M
- $0.075
- Context window
- 1,048,576 tokens
- Max output
- 65,536 tokens
- Knowledge cutoff
- unknown
- Auto-router
- Supported
Start building today
Route gemini-3.8-flash — and every other model in the catalogue — through one endpoint, with failover built in.