Google · Image
Nano Banana 2 API pricing
google/nano-banana-2
Fast image generation. Nano Banana 2 by Google, routed through INFRO on a Google account you connect — alongside every other provider you run. Google bills you for it directly, on that account and at your own rate. INFRO adds routing, failover, request logs, cost attribution and policy around it, and takes no part of what you pay Google.
Pricing
Google rate
$0.067
per image, billed to you by Google
INFRO adds
$0
0% markup on model spend
Calling Nano Banana 2
POST /v1/images/generationsimport os
from infro import Infro
client = Infro(api_key=os.environ["INFRO_API_KEY"])
image = client.images.generate(
model="google/nano-banana-2",
prompt="studio product shot, soft rim light",
n=1,
)What this modality supports
- Text to image
- Editing & inpainting
- Upscale & restore
- Batch requests
Text-to-image, editing, upscaling, and background removal across the leading image models. One request shape, consistent sizes and seeds, billed per image with no minimums.
Providers that serve Nano Banana 2
You request "google/nano-banana-2" from INFRO; it sends each provider the id that provider expects. Connect your own account with any of them, and INFRO routes and fails over between the ones you connect.
| Provider | Model id sent |
|---|---|
| Google AI (Gemini) | gemini-3.1-flash-image |
| Google Vertex AI | gemini-3.1-flash-image |
| Together AI | google/flash-image-3.1 |
| OpenRouter | google/gemini-3.1-flash-image |
| KIE | nano-banana-2 |
| LaoZhang API | gemini-3.1-flash-image |
| fal.ai | nano-banana-2 |
| Replicate | google/nano-banana-2 |
Alternatives for fast image generation
Same modality, nearest in price. All of them share the request shape above, so comparing them is a one-word change.
More Google models
All Google models- Gemini 3.1 Progoogle/gemini-3.1-pro$2.00 / $12
- Gemini 3.8 Flashgoogle/gemini-3.8-flash$0.75 / $3.75
- Gemini 3.7 Flashgoogle/gemini-3.7-flash$0.75 / $3.75
- Gemini 3.6 Flashgoogle/gemini-3.6-flash$0.75 / $3.75
- Gemini 3.5 Flashgoogle/gemini-3.5-flash$1.50 / $9.00
- Gemini 3.5 Flash-Litegoogle/gemini-3.5-flash-lite$0.30 / $2.50
Nano Banana 2: questions
- How much does the Nano Banana 2 API cost?
- Google's published list rate for Nano Banana 2 is $0.067 per image (checked 2026-10-05). The provider account you connect bills you at the rate on that account, so a negotiated rate replaces the list rate. INFRO adds 0% to model spend.
- Which providers serve Nano Banana 2?
- In INFRO's provider registry, Nano Banana 2 can be served by Google AI (Gemini), Google Vertex AI, Together AI, OpenRouter, KIE, LaoZhang API and 2 more. You connect your own account with any of them, and INFRO routes and fails over between the ones you connect.
- What is the Nano Banana 2 model ID?
- Request it from INFRO as "google/nano-banana-2". INFRO sends each provider its own id: Google AI (Gemini) "gemini-3.1-flash-image", Google Vertex AI "gemini-3.1-flash-image", Together AI "google/flash-image-3.1", OpenRouter "google/gemini-3.1-flash-image", KIE "nano-banana-2", and so on.
- How do I call Nano Banana 2 through an OpenAI-compatible API?
- Point an OpenAI SDK, or any HTTP client, at https://api.infro.io/v1 with an INFRO gateway key and send model "google/nano-banana-2" to POST /v1/images/generations. INFRO runs the request on a provider account you connected and returns the provider's response with an estimated cost.
- Does INFRO mark up Nano Banana 2 usage?
- No. Google or the provider you connect bills model usage to your own account. INFRO charges a software subscription for routing, failover, observability, budgets and policy, and takes 0% of model spend.
Work out what Nano Banana 2 would cost you
Put your monthly usage of this model into the calculator to see the provider cost on your own account and the INFRO subscription side by side, never summed.