Gemini 3.8 Flash

Gemini 3.8 Flash is our most intelligent workhorse model yet, delivering significant improvements from 3.7 Flash across software engineering, agentic tasks, and critical, multi-step reasoning in specialized domains. 3.8 Flash delivers substantial gains from 3.7 Flash, often approaching the performance of higher-cost frontier models.

At times, 3.8 Flash might use more tokens to maximize performance, especially at higher effort levels. For applications where compute efficiency is the primary constraint, you can use lower effort levels to minimize token overhead or use 3.7 Flash instead.

Try in Agent Studio Deploy example app Developer guide Pricing

Note: "Deploy example app" requires a Google Cloud project with billing and Agent Platform API enabled.
Model ID gemini-3.8-flash
Modalities
Text Input and output
Image Input only
Audio Input only
Video Input only
Token limits Context window 1,048,576
Maximum output tokens 65,536
Capabilities
Tools
Consumption options
Technical specifications Image
  • Maximum images per prompt: 3,000
  • Maximum file size per file for inline data or direct uploads through the console: 7 MB
  • Maximum file size per file from Google Cloud Storage: 30 MB
  • Supported MIME types:
    image/png, image/jpeg, image/webp, image/heic, image/heif
Text
  • Maximum number of files per prompt: 3,000
  • Maximum number of pages per file: 3,000
  • Maximum file size per file for the API or Cloud Storage imports: 50 MB(application/pdf) or 7 MB(text/plain)
  • Maximum file size per file for direct uploads through the console: 7 MB
  • Supported MIME types:
    application/pdf, text/plain
Video
  • Maximum video length (with audio): Approximately 45 minutes
  • Maximum video length (without audio): Approximately 1 hour
  • Maximum number of videos per prompt: 10
  • Supported MIME types:
    video/x-flv, video/quicktime, video/mpeg, video/mpegs, video/mpg, video/mp4, video/webm, video/wmv, video/3gpp
Audio
  • Maximum audio length per prompt: Approximately 8.4 hours, or up to 1 million tokens
  • Maximum number of audio files per prompt: 1
  • Supported MIME types:
    audio/x-aac, audio/flac, audio/mp3, audio/m4a, audio/mpeg, audio/mpga, audio/mp4, audio/ogg, audio/pcm, audio/wav, audio/webm
Parameter defaults
  • Temperature: 1.0
  • topP: 0.95
  • topK: 64
  • Frequency penalty: 0
  • Presence penalty: 0
Supported regions

Model availability

  • Global: global
  • Multi-region: us, eu

ML processing

  • Multi-region: us, eu

Provisioned Throughput

  • Global: global
  • Multi-region: us, eu

Standard PayGo

  • Global: global
  • Multi-region: us, eu
Versions
  • gemini-3.8-flash
    • Launch stage: GA
    • Release date: September 2, 2026
Security controls Online prediction
  • Data residency
  • CMEK
  • VPC-SC
  • AXT
Batch inference
  • Data residency
  • CMEK
  • VPC-SC
  • AXT
Context caching
  • Data residency
  • CMEK
  • VPC-SC
  • AXT
See Security controls for more information.