ModelInfo
English
All models

Gemini 2.5 Flash Preview 05-20

Googlegemini-2.5-flash-preview-05-202025-05-20Report incorrect data

Specs

Context
1.05M
Max output
65.5K
Input price
—
Output price
—
Released
2025-05-20

Context

Context window
1.05M
Max input
1.05M
Max output
65.5K

Pricing

Not published

Modalities

Input
TextImageVideoAudio
Output
Text

API

API types
generate

Reasoning

Reasoning
Yes
Levels
—

Info

Status
Retired
Released
2025-05-20
Knowledge cutoff
2025-01

Features

Confirmed
toolsstructured_outputcaching
Source · official docsVerified 2026-10-11

How to call

1 provider

googlemodel = gemini-2.5-flash-preview-05-20

generate
POSThttps://generativelanguage.googleapis.com/v1beta/models/{model}:generateContent

JSON

Standard format
gemini-2.5-flash-preview-05-20.json
{
  "id": "gemini-2.5-flash-preview-05-20",
  "object": "model",
  "created": 1747699200,
  "owned_by": "google",
  "name": "Gemini 2.5 Flash Preview 05-20",
  "api": {
    "types": [
      "generate"
    ]
  },
  "limits": {
    "context": 1048576,
    "input": 1048576,
    "output": 65536
  },
  "modalities": {
    "input": [
      "text",
      "image",
      "video",
      "audio"
    ],
    "output": [
      "text"
    ]
  },
  "reasoning": {
    "supported": true,
    "efforts": []
  },
  "pricing": null,
  "features": [
    "tools",
    "structured_output",
    "caching"
  ],
  "info": {
    "status": "retired",
    "release_date": "2025-05-20",
    "knowledge_cutoff": "2025-01",
    "description": null,
    "docs": "https://ai.google.dev/gemini-api/docs/deprecations",
    "verified_at": "2026-10-11"
  }
}

Official sources

2