Gemini 2.5 Flash

Gemini 2.5 Flash is our best model in terms of price and performance, and offers well-rounded capabilities. Gemini 2.5 Flash is our first Gemini Flash model that features thinking capabilities, which lets you see the thinking process that the model goes through when generating its response.

For even more detailed technical information on Gemini 2.5 Flash (such as performance benchmarks, information on our training datasets, efforts on sustainability, intended usage and limitations, and our approach to ethics and safety), see our technical report on our Gemini 2.5 models.

Try in Agent Studio View in Model Garden Pricing

Model ID gemini-2.5-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
APIs
Consumption options
Input size limit 500 MiB compressed
Technical specifications Image
  • Maximum images per prompt: 3,000 (images and PDFs combined; up to 10 HTTP or HTTPS URLs on non-migrated regional, tuned, or Model Armor endpoints)
  • Maximum inline part size: 256 MB (30 MiB on non-migrated endpoints)
  • Maximum file size per file from Cloud Storage: 2 GiB minus 500 KiB (30 MiB on non-migrated endpoints)
  • 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)
  • 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 (1,000 on non-migrated endpoints)
  • Maximum inline part size: 256 MB (50 MiB for PDF or 7 MiB for plain text on non-migrated endpoints)
  • Maximum file size per file from Cloud Storage: 2 GiB minus 500 KiB (50 MiB for PDF or 7 MiB for plain text on non-migrated endpoints)
  • Maximum file size per file from public HTTP or HTTPS URLs: 15 MiB (7 MiB for plain text on non-migrated endpoints)
  • 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)
  • 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 (up to 1 HTTP or HTTPS URL on non-migrated endpoints)
  • Maximum inline part size: 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
  • 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 (up to 1 HTTP or HTTPS URL on non-migrated endpoints)
  • Maximum inline part size: 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
  • United States: us-central1, us-east1, us-east4, us-east5, us-south1, us-west1, us-west4
  • Canada: northamerica-northeast1
  • South America: southamerica-east1
  • Europe: europe-central2, europe-north1, europe-southwest1, europe-west1, europe-west2, europe-west3, europe-west4, europe-west8, europe-west9
  • Asia Pacific: asia-northeast1, asia-northeast3, asia-south1, asia-southeast1, australia-southeast1
  • Global: global

ML processing

  • United States: Multi-region
  • Canada: northamerica-northeast1
  • South America: southamerica-east1
  • Europe: Multi-region, europe-west2, europe-west3, europe-west9
  • Asia Pacific: asia-northeast1, asia-northeast3, asia-south1, asia-southeast1, australia-southeast1
Versions
  • gemini-2.5-flash
    • Launch stage: GA
    • Release date: June 17, 2025
    • Retirement date†: October 20, 2026
Security controls Online prediction
  • Data residency
  • CMEK
  • VPC-SC
  • AXT
Batch inference
  • Data residency
  • CMEK
  • VPC-SC
  • AXT
Tuning
  • Data residency
  • CMEK
  • VPC-SC
  • AXT
Context caching
  • Data residency
  • CMEK
  • VPC-SC
  • AXT
RAG Engine
  • Data residency
  • CMEK
  • VPC-SC
  • AXT
Grounding with Google Search and Grounding with Google Maps
  • 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.