Gemini 3.1 Pro

Gemini 3.1 Pro is our most advanced reasoning Gemini model, capable of solving complex problems. Gemini 3.1 Pro can comprehend vast datasets and challenging problems from different information sources, including text, audio, images, video, PDFs, and even entire code repositories with its 1M token context window.

For more information on using the latest Gemini models, see Get started with Gemini 3.

Quality improvements

Gemini 3.1 Pro includes several quality improvements:

  • Improved SWE and agentic capabilities: Improved software engineering behavior and usability, with agentic improvements in domains like finance and spreadsheet applications.
  • Improved token efficiency and thinking: More efficient thinking across various use cases.
  • Expanded thinking levels: Introduces MEDIUM as a thinking_level parameter for more options to optimize trade-offs between cost, performance, and speed.

Try in Vertex AI View in Model Garden (Preview) Deploy example app

Note: To use the "Deploy example app" feature, you need a Google Cloud project with billing and Vertex AI API enabled.
Model ID gemini-3.1-pro-preview
Supported inputs & outputs
  • Inputs:
    Text, Code, Images, Audio, Video, PDF
  • Outputs:
    Text
Token limits
  • Maximum input tokens: 1,048,576
  • Maximum output tokens: 65,536
Capabilities
Consumption options
See Consumption options for more information.
Technical specifications
Images
  • Maximum images per prompt: 900
  • 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
  • Default resolution tokens: 1120
  • Supported MIME types:
    image/png, image/jpeg, image/webp, image/heic, image/heif
Documents
  • Maximum number of files per prompt: 900
  • Maximum number of pages per file: 900
  • Maximum file size per file for the API or Cloud Storage imports: 50 MB
  • Maximum file size per file for direct uploads through the console: 7 MB
  • 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
  • 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
  • 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
See Deployments and endpoints for more information.
Knowledge cutoff date January 2025
Versions
  • gemini-3.1-pro-preview
    • Launch stage: Public preview
    • Release date: February 19, 2026
Supported languages See Supported languages.
Pricing See Pricing.