Gemini 1.5 Flash

Gemini 1.5 Flash is a multimodal model that supports adding image, audio, video, and PDF files in text or chat prompts for a text or code response. This model supports long-context understanding up to the maximum input token limit.

Model ID gemini-1.5-flash
Supported inputs & outputs
  • Inputs:
    Text, Code, Images, Audio, Video
  • Outputs:
    Text
Token limits
  • Maximum input tokens: 1,048,576
  • Maximum output tokens: 8,192 (default)
Capabilities
Usage types
Input size limit 500 MB
Technical specifications
Images
  • Maximum images per prompt: 3,000
  • Maximum image size: 7 MB
  • Supported MIME types:
    image/png, image/jpeg, image/webp
Documents
  • Maximum number of files per prompt: 3,000
  • Maximum number of pages per file: 1,000
  • Maximum file size per file: 50 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: Appropximately 8.4 hours, or up to 1 million tokens
  • Maximum number of audio files per prompt: 1
  • 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/opus, audio/pcm, audio/wav, audio/webm
Parameter defaults
  • Temperature: 0–2
  • topP: 0.0-1.0 (default 0.95)
  • topK: 64 (fixed)
  • candidateCount: 1–8
Supported regions

Model availability

(Includes dynamic shared quota & Provisioned Throughput)

  • 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-west6
    • europe-west8
    • europe-west9
  • Asia Pacific
    • asia-east1
    • asia-east2
    • asia-northeast1
    • asia-northeast3
    • asia-south1
    • asia-southeast1
  • Middle East
    • me-central1
    • me-central2
    • me-west1

ML processing

  • United States
    • Multi-region
  • Canada
    • northamerica-northeast1
  • Europe
    • Multi-region
    • europe-west2
    • europe-west3
  • Asia Pacific
    • asia-northeast1
    • asia-south1
    • australia-southeast1
See Data residency for more information.
Knowledge cutoff date May 2024
Versions
  • gemini-1.5-flash-002
    • Launch stage: Deprecated
    • Release date: September 24, 2024
    • Discontinuation date: September 24, 2025
  • gemini-1.5-flash-001
    • Launch stage: Deprecated
    • Release date: May 24, 2024
    • Discontinuation date: May 24, 2025
Security controls
Online prediction
  • Data residency (at rest) Supported
  • Customer-managed encryption keys (CMEK) Supported
  • VPC Service Controls Supported
  • Access Transparency (AXT) Supported
Batch prediction
  • Data residency (at rest) Supported
  • Customer-managed encryption keys (CMEK) Not supported
  • VPC Service Controls Supported
  • Access Transparency (AXT) Not supported
Tuning
  • Data residency (at rest) Supported
  • Customer-managed encryption keys (CMEK) Supported
  • VPC Service Controls Supported
  • Access Transparency (AXT) Not supported
Context caching
  • Data residency (at rest) Supported
  • Customer-managed encryption keys (CMEK) Not supported
  • VPC Service Controls Supported
  • Access Transparency (AXT) Supported
See Security controls for more information.
Pricing See Pricing.