Gemini 3.1 Flash-Lite

Gemini 3.1 Flash-Lite is our most cost-efficient Gemini model, optimized for low latency use cases for high-volume, cost-sensitive LLM traffic. It provides a significant quality increase over Gemini 2.5 Flash-Lite, matching Gemini 2.5 Flash performance across key capability areas:

  • Improved response quality: Aims to match Gemini 2.5 Flash performance.
  • Improved instruction following: Targeted improvements to serve as a reliable migration path for complex chatbot and instruction-heavy workflows.
  • Improved audio input: Improved audio-input quality for tasks like Automated Speech Recognition (ASR).
  • Expanded thinking support: You can control how much reasoning the model performs by choosing from minimal, low, medium, or high thinking levels. This feature lets you balance response quality and speed for your specific use case.

Try in Agent Studio Deploy example app Pricing

Note: "Deploy example app" requires a Google Cloud project with billing and Agent Platform API enabled.
Model ID gemini-3.1-flash-lite
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
APIs
Consumption options
Input size limit
  • GenerateContent API: 500 MiB compressed
  • Interactions API: 256 MiB compressed (synchronous or streaming); 9.75 MiB uncompressed (deferred, when background and store are true)
Interactions API URI limit Up to 100 distinct Cloud Storage (gs://) URIs per request across all modalities on the Interactions API, including URIs carried forward from earlier turns using previous_interaction_id. generateContent supports gs:// URIs up to the per-modality model item limits (up to 6,500 combined multimodal files when including plain-text files).
Technical specifications Image
  • Maximum images per prompt: 3,000 (images and PDFs combined)
  • Maximum inline part size (GenerateContent API): 256 MB
  • Maximum file size per file from Cloud Storage: 2 GiB minus 500 KiB
  • Maximum file size per file from public HTTP or HTTPS URLs: 15 MiB
  • Maximum file size per file for direct local uploads in the console: 7 MiB inline (up to 50 MiB staged to Cloud Storage)
  • Maximum file size per file for Google Drive imports in the console: 7 MB (10 MB total)
  • Default resolution tokens: 1,120
  • Supported MIME types:
    image/png, image/jpeg, image/webp, image/heic, image/heif
Text
  • Maximum number of files per prompt: 3,000 PDFs (shared with images; up to 6,500 total files when including plain text)
  • Maximum number of pages per file: 3,000
  • Maximum inline part size (GenerateContent API): 256 MB
  • Maximum file size per file from Cloud Storage: 2 GiB minus 500 KiB
  • Maximum file size per file from public HTTP or HTTPS URLs: 15 MiB
  • Maximum file size per file for direct local uploads in the console: 7 MiB inline (up to 50 MiB staged to Cloud Storage)
  • Maximum file size per file for Google Drive imports in the console: 7 MB (10 MB total)
  • Default resolution tokens: 560
  • OCR for scanned PDFs: Not used by default
  • 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
  • Maximum inline part size (GenerateContent API): 256 MB
  • Maximum file size per file from Cloud Storage: 2 GiB minus 500 KiB
  • Maximum file size per file from public HTTP or HTTPS URLs: 15 MiB
  • Default resolution tokens per frame: 70
  • 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,000
  • Maximum inline part size (GenerateContent API): 256 MB
  • Maximum file size per file from Cloud Storage: 2 GiB minus 500 KiB
  • Maximum file size per file from public HTTP or HTTPS URLs: 15 MiB
  • Speech understanding for: Audio summarization, transcription, and translation
  • 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: 0.0-2.0 (default 1.0)
  • topP: 0.0-1.0 (default 0.95)
  • topK: 64 (fixed)
  • candidateCount: 1–8 (default 1)
Supported regions

Model availability

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

ML processing

  • United States: Multi-region
  • Europe: Multi-region
Versions
  • gemini-3.1-flash-lite
    • Launch stage: GA
    • Release date: May 7, 2026
    • Retirement date†: May 7, 2027 or later
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.

† Listed retirement dates refer to retirement of support in Gemini Enterprise Agent Platform. Models may remain accessible through the Gemini API after these dates have passed. The Gemini API is not a Google Cloud offering and is subject to its own terms of service. For details, see the Gemini API documentation.