Skip to main content

Moderate
google/gemini-3.8-flash/chat

Google's Gemini 3.8 Flash chat API combines a 1,048,576-token window, four reasoning levels, and multimodal text, image, video, and audio inputs.

Input $0.4875Output $2.4375per 1 million tokens35% below the publisher's list priceCached input $0.0488Google official priceInput $0.75Output $3.75

Workbench

Gemini 3.8 Flash

What can Gemini 3.8 Flash help with?

Missing the model you need?

MULTIMODAL FLASH CHAT API

Gemini 3.8 Flash API at a glance

Fast multimodal chat across text, image, video, and audio with minimal-to-high reasoning.

Input window
1M
1,048,576 tokens shared across turns and media
Reasoning effort
4 tiers
minimal, low, medium, and high per request
Native inputs
4 media
Text, image, video, and audio in one endpoint

Results

What Gemini 3.8 Flash is good at

  • Multimodal

    Inspect video and audio in the same thread

    Send video_url, audio_url, input_audio, and image_url parts directly to Gemini 3.8 Flash alongside conversation history so visual and spoken cues stay aligned.

  • Control

    Scale reasoning from minimal to high

    Dial down to minimal for sub-second routing and short replies, then step up to medium or high when a turn requires multi-file debugging or cross-checking.

  • Capacity

    One-million-token working memory

    Hold full module trees, transcripts, and tool traces inside a single 1,048,576-token window instead of trimming context every few turns.

Before you run it

What to know before you run Gemini 3.8 Flash

Chat
Gemini 3.8 Flash returns text only; use dedicated image or audio endpoints when you need generated media files.
Chat
Very tight max_tokens values under medium or high reasoning can exhaust the budget before visible text appears.

Use cases

What to build with the Gemini 3.8 Flash API

  • Triage video and audio clips at scale

    Feed short screen recordings, ad cuts, or voice notes into Gemini 3.8 Flash to extract timestamps, spoken summaries, and structured review tags.

  • Run responsive coding and tool agents

    Pair minimal or low effort with up to 128 tool definitions for quick edits, then switch to high effort only on tricky architectural checks.

Prompts

Gemini 3.8 Flash prompt examples you can copy

  • Chat

    Summarize clip timing and action items

    Review this short product walkthrough clip and return JSON listing each visible screen change with a one-sentence action item.

    Why it works. Combines Gemini 3.8 Flash's direct video understanding with structured JSON extraction.

    Try this prompt

Pricing

Gemini 3.8 Flash API pricing

From $0.487 per million input tokens and $2.44 per million output tokens.

Get started

How to use the Gemini 3.8 Flash API in three steps

  1. Step 1

    Pick effort per step

    Use minimal when you want immediate plain replies and reserve medium or high for multi-step verification that merits extra reasoning tokens.

  2. Step 2

    Keep the output limit above reasoning spend

    Because Gemini 3.8 Flash counts reasoning inside max_tokens, raise the ceiling above 4,096 whenever medium or high effort is active.

Parameter reference and code samples are in the API and Readme tabs at the top of this page.

FAQ

Gemini 3.8 Flash API FAQ

About Gemini 3.8 Flash

Use Gemini 3.8 Flash when your workflow mixes fast chat turns, tool execution, and direct inspection of images, video, or audio within one 1M-token thread.

All Gemini models16

Text models11

Related models and next tasks