Gemini logoGemini

    gemini-3.8-flash

    Auto-router

    gemini/gemini-3.8-flash

    ChatVisionFilesToolsSystem promptReasoning
    Use this model

    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

    Web search

    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 Limit

    Specifies the maximum number of text units (tokens) allowed in a response, limiting its length.

    tools

    Lists tool definitions or capabilities available to the model.

    tool_choice

    Decides whether to use tools or just the model for generating responses.

    response_type

    Defines the format or type of the generated response.

    parallel_tool_calls

    Enables parallel execution of tools, allowing multiple tools to run simultaneously.

    reasoning

    Controls the level of reasoning (thinking) used by the model. Minimal is not supported and returns an error for this model.

    stream

    Sends the response in real-time as it's being generated.

    service_tier

    Selects Standard, Priority, or Flex inference consumption option.

    Use this model

    OpenAI-SDK compatible, with gateway fallback and routing across providers.

    Other Gemini models

    ModelContextMax outputInputOutputCapabilities
    gemini-4-argon

    Chat

    1.0M66K$2.00$10.00Files, Tools, System prompt
    gemini-3.1-flash-lite

    Chat

    1.0M66K$0.25$1.50Vision, Files, Tools, System prompt, Reasoning
    gemini-omni-1.1-flash

    Chat

    1.0M66K$1.50$9.00Vision, Files, System prompt
    gemini-3.7-flash

    Chat

    1.0M66K$0.75$3.75Vision, Files, Tools, System prompt, Reasoning
    gemini-3.5-flash-lite

    Chat

    1.0M66K$0.30$2.50Vision, Files, Tools, System prompt, Reasoning
    gemini-3.6-flash

    Chat

    1.0M66K$0.75$3.75Vision, Files, Tools, System prompt, Reasoning
    gemini-3.5-flash

    Chat

    1.0M66K$1.50$9.00Vision, Tools, System prompt
    gemini-3-flash-preview

    Chat

    1.0M66K$0.50$3.00Vision, Tools, System prompt
    gemini-3.1-pro-preview

    Chat

    1.0M66K$2.00$12.00Vision, Tools, System prompt, Reasoning
    gemini-2.5-flash-lite

    Chat

    1.0M66K$0.10$0.40Vision, Tools, System prompt
    gemini-2.5-pro

    Chat

    1.0M66K$1.25$10.00Vision, Tools, System prompt
    gemini-2.5-flash

    Chat

    1.0M66K$0.30$2.50Files, 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 logo

    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.