# Nano Banana API pricing for AI agents

Source: https://corespeed.io/models/nano-banana

Nano Banana is Google's Gemini 2.5 Flash Image, a model that makes and edits pictures from plain-language prompts, keeps a character the same across images and merges several photos into one. Through CoreSpeed, Claude Code, Codex, Cursor or any MCP agent runs it with no Google API key, from one credit balance.

## What it costs, per billed unit

Read from the CoreSpeed catalog for this answer. Rates are in credits, and 1,000 credits are $1.

| Variant | Name in the catalog | Rate | In dollars |
| --- | --- | --- | --- |
| Text to image | Nano Banana | 59 credits per billed image | $0.059 |
| Edit or combine images | Nano Banana | 59 credits per billed image | $0.059 |

A run is billed once, after it succeeds: the rate times the units the model reports for that run. Settings such as resolution, length, count or sound change how many units a run counts. A failed, cancelled or expired run costs nothing.

Every model in Image generation, with its rate: https://corespeed.io/catalog/image-generation

## What it does well

- A character or product that stays the same across prompts and edits.
- Several images merged into one: an object placed in a scene, a room restyled.
- Targeted edits in plain words: blur a background, remove a person.

## Facts

- Takes: A text prompt of up to 50,000 characters; to edit, one or more images.
- Makes: 1 to 4 images per run, as PNG, JPEG or WebP.
- Aspect ratio: Ten ratios from 21:9 to 9:16; to edit, also chosen by the model.
- Provenance: Every image carries Google's invisible SynthID watermark.

From Google's own page: [Introducing Gemini 2.5 Flash Image](https://developers.googleblog.com/en/introducing-gemini-2-5-flash-image/)

## How your agent runs it

Paste this line into Claude Code, Codex or Cursor:

```text
set up https://corespeed.io/SKILL.md (read it raw, e.g. with curl), then make a 4:5 photo of a barista pouring latte art at Harbor Coffee with Nano Banana, and tell me the rate before you run it
```

It starts with the setup line, so it works on a machine without CoreSpeed: the agent fetches https://corespeed.io/SKILL.md, adds the MCP server and signs you in. Then it runs Nano Banana through the media tools:

1. `media__list_models`: search the catalog for Nano Banana and pick the variant that fits.
2. `media__get_model`: read the rate and the inputs the model takes, before anything runs.
3. `media__generate`: run it. The file comes back as a link and lands in your Drive for 7 days.

## Questions

### Is Nano Banana the same model as Gemini 2.5 Flash Image?

Yes. Gemini 2.5 Flash Image is the model's name in Google's API, and Nano Banana is its nickname.

### What is the difference between Nano Banana and Nano Banana Pro?

Nano Banana is built on Gemini 2.5 Flash. Nano Banana Pro is built on Gemini 3 Pro, draws at up to 4K and takes up to 14 reference images.

### Do I need a Google account or API key to use Nano Banana?

No. CoreSpeed runs Nano Banana for your agent. You sign in to CoreSpeed once, and each run comes out of your one credit balance.

### Am I charged if a generation fails?

No. A generation is billed once, after it succeeds. Failed, cancelled and expired generations are never charged. How media billing works: https://corespeed.io/docs/media

### Do I have to switch agents?

No. CoreSpeed adds tools to the agent you already use: Claude Code, Codex, Cursor, or another MCP client. Each one signs in once.

All model prices: https://corespeed.io/models (Markdown: https://corespeed.io/models.md)

## Related pages

- [Image generation for AI agents](https://corespeed.io/integrations/image-generation): Give your agent hundreds of image models with no API keys. It reads each model's rate first, and only a finished image is charged.
- [FLUX.1 Kontext API pricing for AI agents](https://corespeed.io/models/flux-1-kontext): FLUX.1 Kontext API pricing on CoreSpeed: the live rate of each [pro], [max] and [dev] variant, and how your agent runs it with no Black Forest Labs account.
- [Nano Banana Pro API pricing for AI agents](https://corespeed.io/models/nano-banana-pro): Nano Banana Pro API pricing on CoreSpeed: the rate, read live from the catalog, and how Claude Code or Codex runs it with no Google API key.

## Sources

- Introducing Gemini 2.5 Flash Image: https://developers.googleblog.com/en/introducing-gemini-2-5-flash-image/
- Media docs: https://corespeed.io/docs/media

Reviewed 2026-11-24.

## Links

- Product overview: https://corespeed.io/ (Markdown: https://corespeed.io/index.md)
- Documentation: https://corespeed.io/docs
- Pricing: https://corespeed.io/pricing (Markdown: https://corespeed.io/pricing.md)
