> ## AI Agent Context
> - Full documentation index: https://aistudio.google.com/llms.txt
> - Gemini Docs MCP server (consistent live info): https://gemini-api-docs-mcp.dev
> - Coding agent skills & setup guide: https://aistudio.google.com/docs/coding-agents.md

# Gemini Nano Banana 2.1

**Gemini Nano Banana 2.1** (`gemini-nano-banana-2.1`) is the latest
high-efficiency image generation and conversational editing model. An update
to Nano Banana 2
([Gemini 3.1 Flash Image](/docs/models/gemini-3.1-flash-image)), it maintains
Flash-level speed and cost efficiency while delivering significant
improvements in visual quality, prompt adherence, multi-turn character
consistency, and text rendering. It serves as the more efficient counterpart to
[Gemini 3 Pro Image](/docs/models/gemini-3-pro-image) (Nano Banana Pro).

**Key updates:**

* Improved visual quality and realism across `1K`, `2K`, and `4K` output
  resolutions (default `1K`)
* Fixed tiling artifacts on wide and panoramic aspect ratios (`1:4`, `4:1`,
  `1:8`, `8:1`) at `2K` and `4K` resolutions
* Enhanced text rendering and infographic layout accuracy
* Multi-image fusion supporting up to 14 reference images (character consistency
  for up to 4 characters and object fidelity for up to 10 objects)
* Grounding with Google Web and Image Search
* Configurable Thinking levels (`minimal`, `medium` default, and `high`)

{% button href="https://aistudio.google.com?model=gemini-nano-banana-2.1" variant="ais" %}Try in Google AI Studio{% /button %}

## Documentation  {% id="documentation" %}

Visit the [Image generation](/docs/image-generation) page for full
coverage of features and capabilities.

## gemini-nano-banana-2.1  {% id="gemini-nano-banana-2-1" %}

{% table variant="model" %}
  * Property
  * Description

  ---

  *     {% section class="model-property" %}
  {% icon name="id_card" /%}Model code

    {% /section %}

  * `gemini-nano-banana-2.1`

  ---

  *     {% section class="model-property" %}
  {% icon name="save" /%}Supported data types

    {% /section %}

  *     **Inputs** Text, Image, Video, and PDF

    **Output** Image and Text


  ---

  *     {% section class="model-property" %}
  {% icon name="token_auto" /%}Token limits{% sup %}[[*]](/docs/tokens){% /sup %}

    {% /section %}

  *     **Input token limit** 131,072

    **Output token limit** 32,768


  ---

  *     {% 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="not-supported" /%}

  {% /section %}

  {% section %}
  [**Context caching**](/docs/caching)

  {% badge type="not-supported" /%}

  {% /section %}

  {% section %}
  [**File search**](/docs/file-search)

  {% badge type="not-supported" /%}

  {% /section %}

  {% section %}
  [**Function calling**](/docs/function-calling)

  {% badge type="not-supported" /%}

  {% /section %}

  {% section %}
  [**Grounding with Google Maps**](/docs/maps-grounding)

  {% badge type="not-supported" /%}

  {% /section %}

  {% section %}
  [**Grounding with Google Search**](/docs/google-search)

  {% badge type="supported" /%}

  {% /section %}

  {% section %}
  [**Image generation**](/docs/image-generation)

  {% badge type="supported" /%}

  {% /section %}

  {% section %}
  [**Live API**](/docs/live-api)

  {% badge type="not-supported" /%}

  {% /section %}

  {% section %}
  [**Structured outputs**](/docs/structured-output)

  {% badge type="not-supported" /%}

  {% /section %}

  {% section %}
  [**Thinking**](/docs/thinking)

  {% badge type="supported" /%}

  {% /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.

    *   Stable: `gemini-nano-banana-2.1`


  ---

  *     {% section class="model-property" %}
  {% icon name="calendar_month" /%}Latest update

    {% /section %}

  * October 2026

  ---

  *     {% section class="model-property" %}
  {% icon name="paid" /%}Pricing

    {% /section %}

  * See [Pricing](/docs/models/gemini-nano-banana-2.1#pricing) below.
{% /table %}

## Pricing  {% id="pricing" %}

{% tabs %}
  {% tab title="Standard" %}
  {% table %}
  * Feature
  * Free Tier
  * Paid Tier, per 1M tokens in USD

  ---

  * Input price
  * Not available
  * $1.50 (text/image/video)

  ---

  * Output price
  * Not available
  * $7.50 (text and thinking)    
  $30.00 (images)    
  Equivalent to $0.0336 per 1K image{% sup /%},    
  $0.0504 per 2K image{% sup /%},    
  and $0.113 per 4K image{% sup %}*{% /sup %}.

  ---

  * Grounding with Google Web and Image Search{% sup %}**{% /sup %}
  * Not available
  * 5,000 free search requests per month (shared across all Gemini 3 and newer models),
  then $14 per 1,000 requests for text and image-based grounding (subject to a [daily cap](/docs/pricing#pricing-for-tools) of 1,500 requests per day).

  ---

  * Used to improve our products
  * [Yes](/docs/terms)
  * [No](/docs/terms)
  {% /table %}

  {% /tab %}

  {% tab title="Batch" %}
  {% table %}
  * Feature
  * Free Tier
  * Paid Tier, per 1M tokens in USD

  ---

  * Input price
  * Not available
  * $0.75 (text/image/video)

  ---

  * Output price
  * Not available
  * $3.75 (text and thinking)    
  $15.00 (images)    
  Equivalent to $0.0168 per 1K image{% sup /%},    
  $0.0252 per 2K image{% sup /%},    
  and $0.0567 per 4K image{% sup %}*{% /sup %}.

  ---

  * Used to improve our products
  * [Yes](/docs/terms)
  * [No](/docs/terms)
  {% /table %}

  {% /tab %}

{% /tabs %}

{% sup %}*{% /sup %} Image output is priced at $30 per 1,000,000 tokens
(Standard) and $15 per 1,000,000 tokens (Batch). Output images at 1K
(1024x1024px) consume 1120 tokens and are equivalent to $0.0336 per image.
Output images at 2K (2048x2048px) consume 1680 tokens and are equivalent to
$0.0504 per image. Output images at 4K (4096x4096px) consume 3780 tokens and are
equivalent to $0.113 per image.

{% sup %}**{% /sup %} A customer-submitted request to Gemini may result in one
or more queries to Google Search. You will be charged for each individual search
query performed. Retrieved context (text or images) provided by Grounding with
Google Search is not charged as input tokens.

