Google

Nano Banana 2.1

gemini-nano-banana-2.1Available

Nano Banana 2.1. Google's image generation and editing model (an improved Nano Banana 2). Follows instructions more closely, renders text inside images better, and stays more consistent across successive edits. Creates images from 1K to 4K.

  • Image input
  • Video input
  • PDF input
Context
131.1K tokens
Max output
32.8K tokens
vs. official price
40% cheaper

Pricing (USD per 1M tokens)

How prices are calculated
Prices (USD per 1M tokens)
ItemOfficialBasicPremium
Input$1.50≈ ¥238$0.90≈ ¥144$0.75≈ ¥120
Output$30.00≈ ¥4,759$18.00≈ ¥2,880$15.00≈ ¥2,400
Cache read—$0.90≈ ¥144$0.75≈ ¥120
Notes

Output is charged at the official image output price ($30 per 1M tokens). Text output uses the same rate. One image is 1,120 tokens at 1K, 1,680 at 2K and 3,780 at 4K.

Cost per task vs. models at a similar price

Compare them

How to call

POST/v1/chat/completions

import os
from openai import OpenAI

client = OpenAI(
    base_url="https://token.echohub.io/v1",
    api_key=os.environ["ECHO_API_KEY"],
)

res = client.chat.completions.create(
    model="gemini-nano-banana-2.1",
    messages=[{"role": "user", "content": "Hello"}],
)
print(res.choices[0].message.content)
its developer docs