> ## 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**

  {% 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="not-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 %}
  **Search grounding**

  {% badge type="supported" /%}

  {% /section %}

  {% section %}
  **Structured outputs**

  {% badge type="supported" /%}

  {% /section %}

  {% section %}
  **Thinking** Experimental

  {% /section %}

  {% section %}
  **URL context**

  {% 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 %}

