ModelInfo
English
All models

Nano Banana 2

Speed-optimized image generation and conversational editing model for high-volume use.

Googlegemini-3.1-flash-image2026-05-28Report incorrect data

Specs

Context
—
Max output
32.8K
Input price
$0.5/ 1M tokens
Output price
$60/ 1M tokens
Released
2026-05-28

Context

Context window
—
Max input
131.1K
Max output
32.8K

Pricing · USD / 1M tokens

Input
$0.5
Output
$60
Cache read
—
Cache write
—

Modalities

Input
TextImageVideoDocument
Output
ImageText

API

API types
imagesbatch

Reasoning

Reasoning
Yes
Levels
—

Info

Status
Deprecated
Released
2026-05-28
Knowledge cutoff
2025-01

Features

Confirmed
batch
Source · official docsVerified 2026-10-11

How to call

1 provider

googlemodel = gemini-3.1-flash-image

images
POSThttps://generativelanguage.googleapis.com/v1beta/models/{model}:generateContent
batch
POSThttps://generativelanguage.googleapis.com/v1beta/models/{model}:batchGenerateContent

JSON

Standard format
gemini-3.1-flash-image.json
{
  "id": "gemini-3.1-flash-image",
  "object": "model",
  "created": 1779926400,
  "owned_by": "google",
  "name": "Nano Banana 2",
  "api": {
    "types": [
      "images",
      "batch"
    ]
  },
  "limits": {
    "context": null,
    "input": 131072,
    "output": 32768
  },
  "modalities": {
    "input": [
      "text",
      "image",
      "video",
      "document"
    ],
    "output": [
      "image",
      "text"
    ]
  },
  "reasoning": {
    "supported": true,
    "efforts": []
  },
  "pricing": {
    "currency": "USD",
    "unit": "1M_tokens",
    "input": 0.5,
    "output": 60,
    "cache_read": null,
    "cache_write": null
  },
  "features": [
    "batch"
  ],
  "info": {
    "status": "deprecated",
    "release_date": "2026-05-28",
    "knowledge_cutoff": "2025-01",
    "description": "Speed-optimized image generation and conversational editing model for high-volume use.",
    "docs": "https://ai.google.dev/gemini-api/docs/models/gemini-3.1-flash-image",
    "verified_at": "2026-10-11"
  }
}

Official sources

7