> ## 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.0 Flash {% callout type="warning" %} Gemini 2.0 Flash is [deprecated](/docs/deprecations) and has been shut down June 1, 2026. Migrate to [Gemini 3.8 Flash](/docs/models/gemini-3.8-flash) to avoid service disruption. {% /callout %} ## gemini-2.0-flash {% id="gemini-20-flash" %} {% table variant="model" %} * Property * Description --- * {% section class="model-property" %} {% icon name="id_card" /%}Model code {% /section %} * `gemini-2.0-flash` --- * {% section class="model-property" %} {% icon name="save" /%}Supported data types {% /section %} * **Inputs** Audio, images, video, and text **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** 8,192 --- * {% section class="model-property" %} {% icon name="handyman" /%}Capabilities {% /section %} * {% section class="three-column-grid" %} {% section %} [**Audio generation**](/docs/speech-generation) {% badge type="not-supported" /%} {% /section %} {% section %} [**Code execution**](/docs/code-execution) {% badge type="supported" /%} {% /section %} {% section %} [**Context caching**](/docs/caching) {% badge type="supported" /%} {% /section %} {% section %} [**File search**](/docs/file-search) {% badge type="not-supported" /%} {% /section %} {% section %} [**Function calling**](/docs/function-calling) {% badge type="supported" /%} {% /section %} {% section %} [**Grounding with Google Maps**](/docs/maps-grounding) {% badge type="supported" /%} {% /section %} {% section %} [**Grounding with Google Search**](/docs/google-search) {% badge type="supported" /%} {% /section %} {% section %} [**Image generation**](/docs/image-generation) {% badge type="not-supported" /%} {% /section %} {% section %} [**Live API**](/docs/live-api) {% badge type="not-supported" /%} {% /section %} {% section %} [**Structured outputs**](/docs/structured-output) {% badge type="supported" /%} {% /section %} {% section %} [**Thinking**](/docs/thinking) Experimental {% /section %} {% section %} [**URL context**](/docs/url-context) {% badge type="not-supported" /%} {% /section %} {% /section %} --- * {% section class="model-property" %} {% icon name="speed" /%}Consumption options {% /section %} * {% section class="three-column-grid" %} {% section %} [**Batch API**](/docs/batch-api) {% badge type="supported" /%} {% /section %} {% section %} [**Flex inference**](/docs/flex-inference) {% badge type="not-supported" /%} {% /section %} {% section %} [**Priority inference**](/docs/priority-inference) {% badge type="not-supported" /%} {% /section %} {% /section %} --- * {% section class="model-property" %} {% icon name="123" /%}Versions {% /section %} * Read the [model version patterns](/docs/models#model-versions) for more details. * *Shut down*: `gemini-2.0-flash` * *Shut down*: `gemini-2.0-flash-001` * *Shut down*: `gemini-2.0-flash-exp` --- * {% section class="model-property" %} {% icon name="calendar_month" /%}Latest update {% /section %} * February 2025 --- * {% section class="model-property" %} {% icon name="cognition_2" /%}Knowledge cutoff {% /section %} * August 2024 {% /table %}