Google/ MODEL SERIES

Nano Banana 2

google/nano-banana-2Original model

Google’s Gemini 3.1 Flash Image 0.5K–4K generation and editing release across Google AI Studio and fal.

1exact variant
2serving providers
2regional routes
PRICING AT A GLANCE

Nano Banana 2 API pricing summary

Checked 2026-11-14

As of 2026-11-14, Nano Banana 2 API pricing starts at ≈$0.0448 / image (≈$44.80 per 1,000 images, 0.5K) via Google, across 2 serving providers and 2 regional routes. Comparing matching configurations on the same variant, documented rates vary by up to 25% (0.5K ranges from ≈$0.0448 / image to $0.06 / image). All listed routes currently have undisclosed endpoint regions; rates are primary-sourced directly from each provider, and unknown tariffs remain omitted rather than zero. Figures marked ≈ are provider-documented estimates rather than guaranteed final charges.

ProviderUnit PriceCost per 1,000 imagesRegion
GoogleOfficialLowest0.5K
≈$0.0448 / image≈$44.80Undisclosed
fal0.5K
$0.06 / image$60.00Undisclosed
COMPARE SERVING ROUTES

Providers & variants

Every variant, regional deployment and feature-specific route is listed separately. Choose an exact variant when generating; provider routing never substitutes another variant.

VARIANT BY GoogleOfficial

Nano Banana 2

google/nano-banana-2
Try this variant

Gemini 3.1 Flash Image generation and editing across 0.5K–4K.

Hosted model2 provider routesOriginal variant ↗
API inputs & limitstext-to-image, image-edit · 0.5K / 1K / 2K / 4K · up to 4 outputs
Operations
text-to-image, image-edit
Resolutions
0.5K, 1K, 2K, 4K
Aspect ratios (23)
auto, source, 21:9, 16:9, 4:3, 1:1, 3:4, 9:16, 3:2, 2:3, 4:5, 5:4, 2:1, 1:2, 5:2, 19.5:9, 9:19.5, 20:9, 9:20, 4:1, 1:4, 8:1, 1:8
Max outputs
Up to 4 per request
Prompt limit
Up to 50,000 characters
Arguments
prompt, resolution, size, aspectRatio, count, outputFormat, seed, thinkingLevel, systemPrompt, grounding, references

Every regional deployment is its own route.

ProviderPublished priceTry route
GoogleOfficial
Documented by the provider. API endpoint region and inference scope are not disclosed.
google-undisclosed/google-nano-banana-2
0.5K≈$0.0448/ image

Per 1M tokens: $0.50 input; $3.00 text/thinking output; $60.00 image output.

Published tariff · exact request cost unqualified

  • Resolution: 0.5K
  • Published image-output token equivalent (747 / 1,120 / 1,680 / 2,520 tokens at $60 / 1M); input ($0.50/1M) and thinking ($3/1M) tokens add cost.
  • Standard image-output components: 747 tokens ($0.0448) at 0.5K, 1,120 ($0.0672) at 1K, 1,680 ($0.1008) at 2K and 2,520 ($0.1512) at 4K. Single-output text-to-image managed quotes reserve a conservative max-token bound.
  • Search grounding and reference/edit operations carry separate charges and remain unpriced.
  • No region-specific tariff or inference/storage residency was verified.

Checked 2026-11-14

Price source ↗
1K≈$0.0672/ image

Per 1M tokens: $0.50 input; $3.00 text/thinking output; $60.00 image output.

Published tariff · exact request cost unqualified

  • Resolution: 1K
  • Published image-output token equivalent (747 / 1,120 / 1,680 / 2,520 tokens at $60 / 1M); input ($0.50/1M) and thinking ($3/1M) tokens add cost.
  • Standard image-output components: 747 tokens ($0.0448) at 0.5K, 1,120 ($0.0672) at 1K, 1,680 ($0.1008) at 2K and 2,520 ($0.1512) at 4K. Single-output text-to-image managed quotes reserve a conservative max-token bound.
  • Search grounding and reference/edit operations carry separate charges and remain unpriced.
  • No region-specific tariff or inference/storage residency was verified.

Checked 2026-11-14

Price source ↗
2K≈$0.1008/ image

Per 1M tokens: $0.50 input; $3.00 text/thinking output; $60.00 image output.

Published tariff · exact request cost unqualified

  • Resolution: 2K
  • Published image-output token equivalent (747 / 1,120 / 1,680 / 2,520 tokens at $60 / 1M); input ($0.50/1M) and thinking ($3/1M) tokens add cost.
  • Standard image-output components: 747 tokens ($0.0448) at 0.5K, 1,120 ($0.0672) at 1K, 1,680 ($0.1008) at 2K and 2,520 ($0.1512) at 4K. Single-output text-to-image managed quotes reserve a conservative max-token bound.
  • Search grounding and reference/edit operations carry separate charges and remain unpriced.
  • No region-specific tariff or inference/storage residency was verified.

Checked 2026-11-14

Price source ↗
4K≈$0.1512/ image

Per 1M tokens: $0.50 input; $3.00 text/thinking output; $60.00 image output.

Published tariff · exact request cost unqualified

  • Resolution: 4K
  • Published image-output token equivalent (747 / 1,120 / 1,680 / 2,520 tokens at $60 / 1M); input ($0.50/1M) and thinking ($3/1M) tokens add cost.
  • Standard image-output components: 747 tokens ($0.0448) at 0.5K, 1,120 ($0.0672) at 1K, 1,680 ($0.1008) at 2K and 2,520 ($0.1512) at 4K. Single-output text-to-image managed quotes reserve a conservative max-token bound.
  • Search grounding and reference/edit operations carry separate charges and remain unpriced.
  • No region-specific tariff or inference/storage residency was verified.

Checked 2026-11-14

Price source ↗
Playground
Documented by the provider. API endpoint region and inference scope are not disclosed.
fal-undisclosed/google-nano-banana-2
0.5K$0.06/ image

Output image: $0.06 at 0.5K; $0.08 at 1K; $0.12 at 2K; $0.16 at 4K (+$0.015 web search; +$0.002 high thinking).

Published tariff · exact request cost unqualified

  • Resolution: 0.5K
  • Base output-image rate without web search (+$0.015) or high thinking (+$0.002).
  • 0.5K, 2K and 4K bill at 0.75×, 1.5× and 2× the $0.08 1K base rate; single-output 1K text-to-image without grounding uses the $0.08 list estimate while other tiers, grounding, high thinking and edits remain unpriced for managed quotes.
  • No region-specific tariff or inference/storage residency was verified.

Checked 2026-11-14

Price source ↗
1K$0.08/ image

Output image: $0.06 at 0.5K; $0.08 at 1K; $0.12 at 2K; $0.16 at 4K (+$0.015 web search; +$0.002 high thinking).

  • Resolution: 1K
  • Applies to: Text to image. Other operations may have different or unqualified pricing.
  • Published fal 1K base output-image list estimate without search grounding.
  • 0.5K, 2K and 4K bill at 0.75×, 1.5× and 2× the $0.08 1K base rate; single-output 1K text-to-image without grounding uses the $0.08 list estimate while other tiers, grounding, high thinking and edits remain unpriced for managed quotes.
  • No region-specific tariff or inference/storage residency was verified.

Checked 2026-11-14

Price source ↗
2K$0.12/ image

Output image: $0.06 at 0.5K; $0.08 at 1K; $0.12 at 2K; $0.16 at 4K (+$0.015 web search; +$0.002 high thinking).

Published tariff · exact request cost unqualified

  • Resolution: 2K
  • Base output-image rate without web search (+$0.015) or high thinking (+$0.002).
  • 0.5K, 2K and 4K bill at 0.75×, 1.5× and 2× the $0.08 1K base rate; single-output 1K text-to-image without grounding uses the $0.08 list estimate while other tiers, grounding, high thinking and edits remain unpriced for managed quotes.
  • No region-specific tariff or inference/storage residency was verified.

Checked 2026-11-14

Price source ↗
4K$0.16/ image

Output image: $0.06 at 0.5K; $0.08 at 1K; $0.12 at 2K; $0.16 at 4K (+$0.015 web search; +$0.002 high thinking).

Published tariff · exact request cost unqualified

  • Resolution: 4K
  • Base output-image rate without web search (+$0.015) or high thinking (+$0.002).
  • 0.5K, 2K and 4K bill at 0.75×, 1.5× and 2× the $0.08 1K base rate; single-output 1K text-to-image without grounding uses the $0.08 list estimate while other tiers, grounding, high thinking and edits remain unpriced for managed quotes.
  • No region-specific tariff or inference/storage residency was verified.

Checked 2026-11-14

Price source ↗
Playground
Published estimates exclude additional input charges and promotions.Creator documentation ↗

An endpoint region is not a residency guarantee. Global inference may process requests elsewhere. Success rate measures generation outcomes, not provider uptime.

Endpoint region does not establish inference residency. Success rate describes generation outcomes, not uptime. Measurements reflect this installation’s observed jobs across settings. A dash beside a supported resolution indicates unavailable unit pricing.

CONNECT & AGENT INSTRUCTIONS

Connect to Nano Banana 2

google/nano-banana-2

Paste the agent prompt below into your coding agent or follow the canonical OpenGen HTTP, MCP, and CLI workflow for google/nano-banana-2. Every endpoint, tool call, and safety rule matches the Text to image guide, Quickstart, and MCP & CLI reference.

Operation
AGENT PROMPT · PASTE INTO YOUR AGENT OR AUTO-READ
Connect to OpenGen (https://opengen.dev/llms.txt) to inspect exact variant "google/nano-banana-2" (text-to-image) (series google/nano-banana-2; model docs: https://opengen.dev/google/nano-banana-2.md, guide: https://opengen.dev/docs/guides/text-to-image.md):
1. Inspect schema, regional routes, privacy disclosures, and single-source published pricing with zero auth via GET https://opengen.dev/v1/models/google/nano-banana-2?operation=text-to-image or MCP get_model({ id: "google/nano-banana-2", operation: "text-to-image" }) on https://opengen.dev/mcp/readonly.
2. Treat series-page Pricing at a Glance starting rates as catalog list rates (not an executable quote for specific resolutions, durations, audio tiers, or regions); run a stateless dry-run estimate via POST https://opengen.dev/v1/pricing/estimate or MCP estimate_cost using the exact canonical payload, and never assume unknown prices are $0.
3. Present the exact modelId ("google/nano-banana-2"), selected regional routeId, published unit pricing, and maxCostMicros budget ceiling and wait for explicit user approval before spending.
4. Persist a unique Idempotency-Key before submitting POST https://opengen.dev/v1/generations (or MCP generate on https://opengen.dev/mcp). Never blind-retry on timeout—recover via GET https://opengen.dev/v1/generations/lookup?idempotencyKey=... or MCP job_get({ idempotencyKey }), poll until terminal, and return the job ID, private output links, and expiresAt. Client setup: https://opengen.dev/docs/mcp.md and https://opengen.dev/docs/clients.md.
View raw .md ↗
  1. 01

    Inspect exact model schema, routes & pricing

    Fetch effective text-to-image arguments, 2 regional routes, supplier privacy disclosures, and single-source pricing in one unauthenticated call.

    GET /v1/models/google/nano-banana-2?operation=text-to-imageMCP: get_model
    Models & Catalog →
  2. 02

    Estimate cost without spending

    Series-page Pricing at a Glance starting rates are catalog list rates only; validate your exact canonical payload and review selectedRouteId, published unit pricing, and recommendedMaxCostMicros before asking for approval.

    POST /v1/pricing/estimateMCP: estimate_cost
    Pricing & Analytics →
  3. 03

    Submit once with a persisted Idempotency-Key

    Authenticate with an OpenGen workspace key (read + generate scopes) or OAuth MCP token and persist your Idempotency-Key before calling /v1/generations.

    POST /v1/generationsMCP: generate
    Text to image guide →
  4. 04

    Poll, stream, or receive webhook & download privately

    Long-poll /status until terminal and private deliveryStatus is no longer pending, recover read-only via /v1/generations/lookup on timeout, and download outputs via short-lived first-party signed URLs.

    GET /v1/generations/{id}/statusMCP: job_get
    Generations Lifecycle →

Copy-paste examples (google/nano-banana-2 · text-to-image)

Inspect live JSON Schema ↗

Template only: check POST /v1/pricing/estimate to set an explicit maxCostMicros cap, and persist a unique Idempotency-Key before submitting.

export OPENGEN_API_URL="${OPENGEN_API_URL:-https://opengen.dev}"

# 1. Inspect exact schema, regional routes, privacy disclosures, and published pricing (zero auth)
curl --fail-with-body "${OPENGEN_API_URL}/v1/models/google/nano-banana-2?operation=text-to-image"

# 2. Save the canonical text-to-image payload and run a dry-run cost estimate
cat <<'JSON' > request.json
{
  "modelId": "google/nano-banana-2",
  "operation": "text-to-image",
  "input": {
    "resolution": "1K",
    "aspectRatio": "1:1",
    "prompt": "Describe the desired result."
  },
  "billing": "managed"
}
JSON

curl --fail-with-body -X POST "${OPENGEN_API_URL}/v1/pricing/estimate" \
  -H "Content-Type: application/json" \
  --data-binary @request.json

# 3. After reviewing route & budget, generate and persist a fresh unique Idempotency-Key for this request and submit once
export OPENGEN_IDEMPOTENCY_KEY="req-$(uuidgen | tr '[:upper:]' '[:lower:]')"
curl --fail-with-body -X POST "${OPENGEN_API_URL}/v1/generations" \
  -H "Authorization: Bearer ${OPENGEN_API_KEY:?Set OPENGEN_API_KEY}" \
  -H "Idempotency-Key: ${OPENGEN_IDEMPOTENCY_KEY}" \
  -H "Prefer: wait=20" \
  -H "Content-Type: application/json" \
  --data-binary @request.json > submission.json

# 4. Long-poll /status with afterRevision until terminal and private delivery is ready, then fetch signed outputs
OPENGEN_JOB_ID="$(jq -r '.id' submission.json)"
STATUS="$(jq -r '.status' submission.json)"
DELIVERY="$(jq -r '.deliveryStatus // ""' submission.json)"
REVISION="$(jq -r '.revision // ""' submission.json)"
while [ "$STATUS" = "queued" ] || [ "$STATUS" = "submitting" ] || [ "$STATUS" = "running" ] || { [ "$STATUS" = "succeeded" ] && [ "$DELIVERY" = "pending" ]; }; do
  QS="waitMs=25000"
  [ -n "$REVISION" ] && QS="${QS}&afterRevision=${REVISION}"
  curl --fail-with-body "${OPENGEN_API_URL}/v1/generations/${OPENGEN_JOB_ID}/status?${QS}" \
    -H "Authorization: Bearer ${OPENGEN_API_KEY:?Set OPENGEN_API_KEY}" > status.json
  STATUS="$(jq -r '.job.status' status.json)"
  DELIVERY="$(jq -r '.job.deliveryStatus // ""' status.json)"
  REVISION="$(jq -r '.job.revision // ""' status.json)"
done
curl --fail-with-body "${OPENGEN_API_URL}/v1/generations/${OPENGEN_JOB_ID}" \
  -H "Authorization: Bearer ${OPENGEN_API_KEY:?Set OPENGEN_API_KEY}"

# On network timeout, recover read-only instead of generating a second Idempotency-Key:
# curl --fail-with-body "${OPENGEN_API_URL}/v1/generations/lookup?idempotencyKey=${OPENGEN_IDEMPOTENCY_KEY}" \
#   -H "Authorization: Bearer ${OPENGEN_API_KEY}"
DOCUMENTATION & WORKFLOW GUIDES

Read the full OpenGen docs for this model

View as Markdown (.md) ↗
MODEL IDENTITY & EVIDENCE

About Nano Banana 2 API access

This series belongs to Google. Each variant keeps its own API model ID, author, license and provider routes. A provider switch preserves the selected variant.

Which variants are included?

Nano Banana 2. Their exact model IDs, authors and licenses are listed separately above.

Which providers are listed?

Google, fal. Every documented regional deployment has its own provider row; a listed offering is not a claim that credentials are configured or that a live generation was tested.

How are prices and performance compared?

The table lists supported resolutions and shows available prices per video second or image. The price details include the provider's billing terms and source. Latency percentiles and technical success rates use this installation's observations. Missing measurements remain unknown, and generation success is not provider uptime.

Nano Banana 2Provider service terms; no open-weight grant establishedSource ↗

Latest catalog source check: 2026-11-14. Documented offerings are not live-verification claims. Published prices retain their own units; missing prices and measurements remain unknown.