Nano Banana

GoogleReasoning
google/gemini-2.5-flash-imageClosed API

Nano Banana image model for fast generation, edits, and character-consistent assets

Benchmark Pricing$0.30 / 1M in$30.00 / 1M out$0.07 cache read
Context: 32,768 tokens•Max Output: 32,768 tokens•Knowledge: 2024-06•Released: 2025-08-26

TECHNICAL SPECIFICATIONS

Context Window32,76832.8K tokens
Max Output32,76832.8K tokens
LicenseProprietaryCloud API only
Input Modalities
TextVision
Function / Tool CallingNot Supported
Structured OutputsPrompt Based

MODEL CONTEXT PROTOCOL (MCP) READINESS

⚠ Nano Banana does not natively advertise tool-calling capabilities. When connecting to MCP servers, function calling must be handled via structured prompt injection.

MCP Context Window Recommendations

With a context capacity of 32,768 tokens, this model can handle compact tool sets. Consider keeping MCP server tool manifests minimal to preserve headroom.

API CALL INVOCATION EXAMPLE

// Example: Calling Nano Banana via OpenAI SDK
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.GOOGLE_API_KEY,
});

const response = await client.chat.completions.create({
  model: "google/gemini-2.5-flash-image",
  messages: [{ role: "user", content: "Hello! Can you inspect MCP tools?" }],
});

console.log(response.choices[0].message.content);

PRICING BY PROVIDER

10 providers
Googlegemini-2.5-flash-image
$0.30 / $30.00$0.07 cache
302.AIgemini-2.5-flash-image
$0.30 / $30.00
AIHubMixgemini-2.5-flash-image
$0.30 / $30.00$0.03 cache
Abacusgemini-2.5-flash-image
$0.30 / $30.00
Vercel AI Gatewaygoogle/gemini-2.5-flash-image
$0.30 / $2.50$0.03 cache
Eden AIgoogle/gemini-2.5-flash-image
$0.30 / $2.50$0.03 cache
Merge Gatewaygoogle/gemini-2.5-flash-image
$0.30 / $2.50
Kilo Gatewaygoogle/gemini-2.5-flash-image
$0.30 / $2.50$0.03 cache
Vertexgemini-2.5-flash-image
$0.30 / $30.00
OpenRoutergoogle/gemini-2.5-flash-image
$0.30 / $2.50$0.03 cache

Rates in USD per 1M tokens. Rates synchronized from models.dev public catalog.

Prompt Caching Active

This model supports prompt caching at $0.07 / 1M tokens, saving up to 75% on repetitive MCP tool definitions and system instructions.

MODEL RESOURCES