GEMINI · IMAGE GENERATION

Nano Banana Pro API

Generate 1K–4K images from $0.05 each.

Billed per image — thinking tokens aren't charged separately. No Google Cloud setup.

First top-up $5, pay only $3
Pay with

Pricing

Nano Banana Pro API pricing: cost per image at 1K, 2K and 4K

Per-image prices for 1K, 2K and 4K, compared with Google’s real-time API.

per image1K2K4K
BetterToken$0.05−63%$0.07−48%$0.08−67%
Google real-time APIImage output only$0.13$0.13$0.24
The full cost of one 1K image at Google

1,120 tokens × $120 / 1M = ≈ $0.13

700–900 thinking tokens × $12 / 1M = ≈ $0.01–0.01

100–500 prompt tokens × $2 / 1M ≈ $0–0

≈ $0.14–0.15

Budget example, not a measured bill. One image, no reference image, no retries.

2026-11-03 · Google Gemini API pricing ↗ · Pricing

Estimate your monthly cost

Resolution

BetterToken$50per month
Google real-time API$134.40–146.20per month
You save≈ $84.40–96.20per month
Get your API key

Top-up tiers

Credit amountYou pay1K · images2K · images4K · imagesTop up
$5→ You pay $3First top-up$31K 1002K 714K 62Top up
$50→ You pay $48$481K 1,0002K 7144K 625Top up
$100→ You pay $95$951K 2,0002K 1,4284K 1,250Top up
$200→ You pay $185$1851K 4,0002K 2,8574K 2,500Top up
$500→ You pay $450$4501K 10,0002K 7,1424K 6,250Top up

Discounts apply per top-up; first top-up saves an extra $2.

Start here

Get a Nano Banana Pro API key and make your first image

Try one image

nano-banana-pro
Resolution
Aspect ratio

Sign in to test directly with your API key.

First top-up $5, pay only $3

One request, one image. The highest-tier amount is reserved; the actual output determines the charge.

Nano Banana Pro 1K sample: mechanical watch infographic

Example · nano-banana-pro · 1K · 1024 × 1024

Sign up → get your key → add balance. Sign in · Stripe · USDT (TRC-20)

Code examples

Use the Nano Banana Pro API with OpenAI or Gemini SDKs

Full API reference — parameters, errors, limits ↗

Use OpenAI-compatible or Gemini native SDKs. The image comes back in the response — no task polling.

image_size selects the billing tier; aspect_ratio selects the shape. size does not guarantee exact returned pixels.

Read API key from BETTERTOKEN_API_KEY. Keep it out of shared code.

curl --fail-with-body --max-time 600 \
  'https://bettertoken.ai/v1/images/generations' \
  -H "Authorization: Bearer $BETTERTOKEN_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "nano-banana-pro",
    "prompt": "A mechanical wristwatch e-commerce infographic with labeled callouts",
    "n": 1,
    "image_size": "1K",
    "aspect_ratio": "1:1",
    "response_format": "b64_json"
  }' -o response.json

Save the returned image

import json, base64
raw = base64.b64decode(json.load(open("response.json"))["data"][0]["b64_json"])
ext = "png" if raw[0] == 137 else "jpg" if raw[0] == 255 else "webp"
open("image." + ext, "wb").write(raw)

Two protocols. One direct response.

ProtocolText to imageReference image editingInpainting (mask)
OpenAI Images/v1/images/generations
/v1/images/edits
✓✓—
Gemini native/v1beta/models/nano-banana-pro:generateContent✓✓✓Handled by BetterToken gateway

API docs ↗

Resolution

Nano Banana Pro resolution: 1K, 2K and 4K, tested

Measured on 2026-11-04: all nine 1K/2K/4K and aspect-ratio combinations met their target dimensions. 4K returned 4096 × 4096 (1:1), 5504 × 3072 (16:9) and 3072 × 5504 (9:16).

Resolution · RatioExpected pixelsMeasuredMeets targetElapsed
1K
1K · 1:11,024 × 1,0241,024 × 1,024✓95 s✓ · 95 s
1K · 16:91,376 × 7681,376 × 768✓125 s✓ · 125 s
1K · 9:16768 × 1,376768 × 1,376✓146 s✓ · 146 s
2K
2K · 1:12,048 × 2,0482,048 × 2,048✓167 s✓ · 167 s
2K · 16:92,752 × 1,5362,752 × 1,536✓160 s✓ · 160 s
2K · 9:161,536 × 2,7521,536 × 2,752✓147 s✓ · 147 s
4K
4K · 1:14,096 × 4,0964,096 × 4,096✓123 s✓ · 123 s
4K · 16:95,504 × 3,0725,504 × 3,072✓154 s✓ · 154 s
4K · 9:163,072 × 5,5043,072 × 5,504✓141 s✓ · 141 s

Comparison

Nano Banana Pro vs Nano Banana 2: same prompt at 1K, 2K and 4K

Detail crops. The same region is displayed at the same size to compare clarity.

Model guide

Nano Banana 2 and 2.1 API pricing vs Nano Banana Pro

The same key calls all three models. Just change the model parameter.

Model guide1K2K4KBest for
Nano Banana Pro$0.05$0.07$0.08Highest quality, complex typography
Nano Banana 2$0.04$0.06$0.07Value and volume generation
Nano Banana 2.1$0.04$0.06$0.07Google's recommended new version

Gemini 3 Pro Image API (Nano Banana Pro)

Nano Banana Pro is Gemini 3 Pro Image. Nano Banana 2 and 2.1 are different models.

FAQ

Nano Banana Pro API FAQ

No. Registration is free; image generation is paid. Add balance before your first image.

Start here · API docs ↗

BETTERTOKEN · NANO BANANA PRO

Your next image starts with one key.

First top-up $5, pay only $3

Pay with