> ## AI Agent Context > Get the complete documentation index at: https://aistudio.google.com/llms.txt > Use this file to discover all available pages. > For the full documentation in a single file, fetch: https://aistudio.google.com/llms-full.txt # Gemini 2.5 Flash {% callout type="caution" %} Gemini 2.5 Flash (`gemini-2.5-flash`) is [deprecated](/docs/deprecations#gemini-2.5-flash-models) and is no longer available to select in Google AI Studio (API access is limited to existing users until December 1, 2026). Effective December 1, 2026, all API requests to `gemini-2.5-flash` will automatically route to [Gemini 3.5 Flash-Lite (`gemini-3.5-flash-lite`)](/docs/models/gemini-3.5-flash-lite) and be billed at [Gemini 3.5 Flash-Lite rates](/docs/pricing#gemini-3.5-flash-lite). Before December 1, 2026, update your model string to `gemini-3.5-flash-lite` and review the [Gemini 3.5 Flash-Lite migration guide](/docs/whats-new-gemini-3.6#migrate-to-gemini-3-5-flash-lite). Breaking API changes include function calling and `thought_signature` validation, `thinking_level` replacing `thinking_budget`, and removed sampling parameters and prefilled model turns. {% /callout %} Our best model in terms of price-performance, offering well-rounded capabilities. 2.5 Flash is best for large scale processing, low-latency, high volume tasks that require thinking, and agentic use cases. ## gemini-2.5-flash {% id="gemini-25-flash" %} {% table variant="model" %} * Property * Description --- * {% section class="model-property" %} {% icon name="id_card" /%}Model code {% /section %} * `gemini-2.5-flash` --- * {% section class="model-property" %} {% icon name="save" /%}Supported data types {% /section %} * **Inputs** Text, images, video, audio **Output** Text --- * {% section class="model-property" %} {% icon name="token_auto" /%}Token limits{% sup %}[[*]](/docs/tokens){% /sup %} {% /section %} * **Input token limit** 1,048,576 **Output token limit** 65,536 --- * {% section class="model-property" %} {% icon name="handyman" /%}Capabilities {% /section %} * {% section class="three-column-grid" %} {% section %} **Audio generation** {% badge type="not-supported" /%} {% /section %} {% section %} **Batch API** {% badge type="supported" /%} {% /section %} {% section %} **Caching** {% badge type="supported" /%} {% /section %} {% section %} **Code execution** {% badge type="supported" /%} {% /section %} {% section %} **File search** {% badge type="supported" /%} {% /section %} {% section %} **Flex inference** {% badge type="supported" /%} {% /section %} {% section %} **Function calling** {% badge type="supported" /%} {% /section %} {% section %} **Grounding with Google Maps** {% badge type="supported" /%} {% /section %} {% section %} **Image generation** {% badge type="not-supported" /%} {% /section %} {% section %} **Live API** {% badge type="not-supported" /%} {% /section %} {% section %} **Priority inference** {% badge type="supported" /%} {% /section %} {% section %} **Search grounding** {% badge type="supported" /%} {% /section %} {% section %} **Structured outputs** {% badge type="supported" /%} {% /section %} {% section %} **Thinking** {% badge type="supported" /%} {% /section %} {% section %} **URL context** {% badge type="supported" /%} {% /section %} {% /section %} --- * {% section class="model-property" %} {% icon name="123" /%}Versions {% /section %} * Read the [model version patterns](/docs/models#model-versions) for more details. * Deprecated: `gemini-2.5-flash` (effective December 1, 2026, automatically routed to `gemini-3.5-flash-lite`) * Shut down: [gemini-2.5-flash-preview-09-2025](/docs/models/gemini-2.5-flash-preview-09-2025) --- * {% section class="model-property" %} {% icon name="calendar_month" /%}Latest update {% /section %} * June 2025 --- * {% section class="model-property" %} {% icon name="cognition_2" /%}Knowledge cutoff {% /section %} * January 2025 --- * {% section class="model-property" %} {% icon name="paid" /%}Pricing {% /section %} * [Pricing](/docs/pricing#gemini-2.5-flash) {% /table %}