Skip to content

Nano Banana 2.1 API

Nano Banana 2.1 is Google’s update to Nano Banana 2, released in October 2026. Use the id nano-banana-2.1; each image is 12 credits, from $0.012, at 1K, 2K or 4K.

Every version

Each API id with its resolutions, quality levels, output formats and price, and whether a refused image is refunded.

nano-banana-2.1

Nano Banana 2.1, Google

Official model: Google gemini-nano-banana-2.1

  • Failures refunded
  • Refusals refunded
  • No free trial

$0.012/ image

12 credits per image

Resolution
1K / 2K / 4K
Quality
No setting
Output
PNG, JPEG, WebP
Official API
1K $0.034 2K $0.05 4K $0.113 Save 64–89%

Nano Banana 2.1 API price: $0.012 per image here vs $0.0336 on Google’s Gemini API at 1K: up to 64% cheaper. Google charges $0.0336 for a 1K Nano Banana 2.1 image ($0.0504 at 2K, $0.113 at 4K), plus input tokens. Here one image is 12 credits at every resolution: $0.012 in the $100 pack, about $0.021 in the $10 pack. A 4K image is up to 89% cheaper.

You call it with the same OpenAI-style request as the GPT models: send model "nano-banana-2.1" to /v1/images/generations, or add reference images and use /v1/images/edits. The free trial does not cover Nano Banana 2.1.

When to pick it: Nano Banana 2.1 takes the same 12 credits as Nano Banana 2 and makes the same resolutions and long formats, so try your prompt on both and keep the result you prefer. On Google’s own API 2.1 is the cheaper of the two ($0.0336 against $0.067 at 1K), which is why the saving here is smaller in percent although the price is the same. One timed run of ours on 2026-11-18 (a single 1K square image): nano-banana-2.1 took 37 seconds.

PricingSwitch from the OpenAI APIService status

At a glance

Made by
Google
API model id
nano-banana-2.1
Official model
Google gemini-nano-banana-2.1
Price
nano-banana-2.1: 12 credits, $0.012–$0.021
Official price
$0.0336 per 1K image, $0.0504 per 2K, $0.113 per 4K, plus input at $1.50 per 1M tokensSource
Images per request
1 to 10
Prompt length
Up to 32,000 characters
Response
Base64 image (default) or a link kept for 72 hours
Free trial
—
Image editing
Yes, with reference images (no masks)

Example request

Any OpenAI SDK works: set the base URL to our API and use a key from your account.

Python

from openai import OpenAI

client = OpenAI(base_url="https://api.cheapestimagen.com/v1", api_key="YOUR_KEY")
image = client.images.generate(
    model="nano-banana-2.1",
    prompt="a lighthouse on a cliff at dusk, oil painting",
    size="1024x1536",
)

Node.js

import OpenAI from "openai";

const client = new OpenAI({ baseURL: "https://api.cheapestimagen.com/v1", apiKey: "YOUR_KEY" });
const image = await client.images.generate({
  model: "nano-banana-2.1",
  prompt: "a lighthouse on a cliff at dusk, oil painting",
  size: "1024x1536",
});

curl

curl https://api.cheapestimagen.com/v1/images/generations \
  -H "Authorization: Bearer YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "nano-banana-2.1", "prompt": "a lighthouse on a cliff at dusk", "size": "1024x1536"}'

Questions

How much does the Nano Banana 2.1 API cost per image?

12 credits: $0.012 in the $100 pack, about $0.014 in the $50 pack and about $0.021 in the $10 pack. The price is the same at 1K, 2K and 4K. Google’s own price is $0.0336 at 1K, $0.0504 at 2K and $0.113 at 4K.

Nano Banana 2.1 vs Nano Banana 2: what changed?

Nano Banana 2.1 is Google’s update to Nano Banana 2 (Gemini 3.1 Flash Image). Reviews report that it follows prompts more closely, writes text more accurately and keeps subjects more consistent, at a similar speed. On Google’s API it also costs about half as much per image. Here both cost 12 credits and offer the same resolutions and ratios, so try your prompt on each.

Nano Banana 2.1 vs Nano Banana Pro: which should I use?

Nano Banana Pro (Gemini 3 Pro Image) is Google’s most capable image model, for complex layouts and fine typography, and costs 20 credits here. Nano Banana 2.1 costs 12 credits, is the faster kind of model, and adds the long formats 4:1, 1:4, 8:1 and 1:8 that Pro does not have. Start with 2.1 and move to Pro when a picture needs more detail or more accurate text.

Do I need a Google account or Gemini API key?

No. Your Cheapest Imagen key is all you need.

Which resolutions can I use?

1K, 2K or 4K, each in ten ratios from 1:1 to 21:9; Nano Banana 2 and 2.1 add the long formats 4:1, 1:4, 8:1 and 1:8. Every resolution costs the same here. Some -1k, -2k and -4k versions make only one or two of these; each version’s card lists its resolutions.

Can I edit an existing image?

Yes. Send one or more reference images to /v1/images/edits, or add them in the prompt box on the site, and describe the change. Masks are not supported yet.

How do I get a Nano Banana 2.1 API key?

Sign up, top up, and create a key under API keys in your account. One key works for every model. Set the base URL of your OpenAI SDK to https://api.cheapestimagen.com/v1.

Is the Nano Banana 2.1 API free?

No. Calls use paid credits, and the free trial for new accounts does not cover Nano Banana 2.1.

What are the rate limits?

300 requests a minute and 50 running at once per account. Beyond that the API answers 429; wait and retry.

Can I use the images commercially?

We claim no rights in your images and do not use them to train models. You keep whatever rights you have in them, as far as the law allows, and you are responsible for how you use them. The terms have the details.

Other models

Sign in

New accounts get 5 free images.