Editorial cover reading NANO BANANA API KEY FREE with subtitle FREE KEY · PAID IMAGES, an amber API key with glow and glass architecture on a dark copper background, MODELLIX wordmark top left

Is there a free Nano Banana API key? Yes — the key itself costs nothing to create, on both Google’s side and on aggregators like Modellix. Is there free Nano Banana image generation? No — and that distinction is where most of the confusion comes from. Google’s own pricing page marks the free tier as “Not available” for every Nano Banana image model, so a free key alone cannot generate images through the Gemini API.

Everything below was verified against the providers’ own docs and pricing pages on August 23, 2026. Search results for “nano banana api key free” are full of “FREE”, “unlimited”, and “save 50%” claims from aggregator platforms; this guide separates the three things those pages are really describing — a free key, free trial credits, and a model where your users pay — so you can pick the path that matches your budget. One disclosure first: we run Modellix, an aggregator that offers Nano Banana models with pay-as-you-go pricing, so we have a commercial interest. Facts about Google come from Google’s docs; facts about Modellix come from its public docs; everything else is labeled as an unverified third-party claim.

Is there a free Nano Banana API key? What “free” actually means

“Free” on the Nano Banana SERP means three different things, and none of them is “unlimited free image generation through the official API”:

Channel What’s actually free Models The catch
Google Gemini API (official) Creating an API key in AI Studio, plus free playground access in the UI All Nano Banana models No free tier for image generation via the API — free tier listed as “Not available”
Aggregator platforms (PiAPI, Kie.ai, NanoBananaAPI.ai, Modellix) Key creation; some platforms advertise free trial credits Depends on the platform Credits are finite and mostly unverifiable third-party claims; after they run out it’s pay-as-you-go
Puter.js $0 for you as the developer Nano Banana, 2, Pro, 2 Lite Your end users sign in with their own Puter account and pay for their own generation
Three-column infographic of free Nano Banana access channels: official Gemini API, aggregator platforms with free trial credits, and Puter.js where users pay

Three channels advertise “free Nano Banana API” access. They share the word “free” but not the cost model: a free key, finite trial credits, or a user-pays model.

The rest of this guide walks through each channel with the facts you need to decide, plus the code to get started without spending anything. If you need the full key lifecycle — authentication headers, safe storage, error codes — our nano banana API key guide covers it; this page focuses on the “free” question.

Google’s free tier: the key is free, the images are not

Start with the source of truth. Google’s Gemini API pricing page describes a free tier that includes “Free input & output tokens” and “Google AI Studio access” — but each image generation model’s table lists the free tier as “Not available” for both input and output price, as of August 23, 2026:

Model (Nano Banana family) Free tier (input / output) Paid tier, per image
Gemini 3.1 Flash Image (Nano Banana 2) Not available / Not available $0.045 @0.5K · $0.067 @1K · $0.101 @2K · $0.151 @4K
Gemini 3.1 Flash Lite Image (Nano Banana 2 Lite) Not available / Not available $0.0336 @1K
Gemini 3 Pro Image (Nano Banana Pro) Not available / Not available $0.134 @1K/2K · $0.24 @4K
Gemini 2.5 Flash Image (Nano Banana) Not available / Not available $0.039 per image
Screenshot of the official Google Gemini pricing page showing the free tier column marked Not available for the Gemini 3.1 Flash Image (Nano Banana 2) section

Google’s official pricing page, captured August 23, 2026: the free tier column reads “Not available” for every Nano Banana image model — the key is free, the API calls are not.

What this means in practice:

  • Creating the key is free and needs no credit card. Go to Google AI Studio’s API Keys page, click Create API key, and Google generates one for you. New keys are automatically created as auth keys, and Google rejects unrestricted standard keys — so the key you get today is the stricter, safer kind. Google’s API key documentation spells out the handling rules: treat it like a password, never check it into Git, never hardcode it into web or mobile clients, and call the API from a backend proxy in production.
  • The free tier exists, just not for image models. Your free key still works for Gemini text and audio models within the free tier’s limits. The moment you send an image-generation request, you’re on the paid path — the free tier column for image models is “Not available”, not “limited”.
  • The genuinely free way to try Nano Banana is the AI Studio playground — the web UI, where you can prompt Nano Banana models without an API key at all. If you search for “free Nano Banana API” and end up with a 429 or a billing prompt on your first image request, this is why.

Free Nano Banana API keys from aggregators: what “free credits” actually buy you

Aggregator platforms advertise free keys and free trial credits for Nano Banana — PiAPI’s blog advertises free API key creation and monthly free credits on its Creator and Pro plans, and NanoBananaAPI.ai advertises free credits for new users. Those are legitimate products, but the numbers are third-party marketing claims that change often; check each platform’s signup page before relying on them. One pattern is worth knowing: a “free” credit balance that only covers a playground or a low-resolution tier, with real costs starting on your first production-sized request.

On Modellix, the honest version of this story: creating an API key in the Modellix console is free, and the public docs do not describe a free tier or free credits. What is documented is pay-as-you-go top-ups and a 10% discount on your first top-up in each tier — $10, $100, $200, $500, $1,000, or a custom amount — applied once per tier, up to six times total. The top-up page is the reference. Some of our own materials mention a small starter credit for new accounts without a card, but that is not stated in the public docs — treat it as unverified and confirm it in the console at signup. The key itself is shown only once after creation, so save it into an environment variable or secret manager the moment it appears.

Your limits scale with what you put in: per the entitlements table, a top-up below $10 allows 2 concurrent tasks at 100 requests per minute; $10 raises that to 10 concurrent and 100 RPM; $100 to 20 and 200; and it scales up from there. If your “free trial” keeps hitting 429 Too Many Requests, the limit is often the account tier, not your code.

The paths that are genuinely free: playground, Puter.js, and the hackathon kit

If your goal is “try Nano Banana without paying anything, today”, three paths actually deliver that — with different trade-offs:

  • Google AI Studio playground (UI). No key, no card. You get real Nano Banana generations in the browser, with usage limits. It’s not an API, so you can’t wire it into your product — but it settles the “is this model worth integrating?” question for $0.
  • Puter.js (developer pays $0, users pay). Puter’s free Nano Banana tutorial shows image generation with a few lines of JavaScript and no API key on your side. The catch is explicit in their docs: Puter uses a User-Pays model, where each user signs in with their own Puter account and covers their own AI costs. Your app is free to run; your users hit a payment gate. That’s the truth behind every “unlimited free Nano Banana API” claim built on Puter — great for demos and side projects, wrong for a product where you fund your own users’ usage.
  • Google’s official hackathon kit. The nano-banana-hackathon-kit repo is the first-party starting point: it links the API key guide for creating your (free) key and includes ready-made resources for building with Nano Banana.

A warning that belongs in any “free API” article: GitHub repos and Medium posts promising a “free Nano Banana Pro API” are frequently front-ends for Puter.js, trial-credit resellers, or plain link bait. If a page won’t say who operates the API or where the compute comes from, the “free” part is a lead magnet, not a pricing model.

Your first free-to-start API call

A free key is enough to start coding — you just won’t generate images until you fund the account. Here’s the minimal loop, with both authentication styles.

Google path — the key rides in the x-goog-api-key header:

1
2
3
4
5
curl --request POST \
--url "https://generativelanguage.googleapis.com/v1beta/models/gemini-3.1-flash-image:generateContent" \
--header "x-goog-api-key: <YOUR_API_KEY>" \
--header "Content-Type: application/json" \
--data '{ "contents": [{ "parts": [{ "text": "A blue fiber-optic spool on a clean white studio backdrop" }] }] }'

Swap <YOUR_API_KEY> for the key from your environment (GEMINI_API_KEY) — never paste the literal into source code.

Modellix path — every request carries the key as a bearer token, and generation is asynchronous (submit, then poll):

1
2
3
4
5
curl --request POST \
--url https://api.modellix.ai/api/v1/google/nano-banana-2/async \
--header 'Authorization: Bearer <YOUR_API_KEY>' \
--header 'Content-Type: application/json' \
--data '{ "prompt": "A blue fiber-optic spool on a clean white studio backdrop" }'

This returns a task_id, not an image; you then poll GET /api/v1/tasks/{task_id} with the same header until it succeeds. The full submit–poll–save loop, including webhooks, is in our how to use Nano Banana guide.

Before you fund anything, you can verify your key and your balance with two free calls — this is the “check before you pay” step the aggregator pages never mention. To confirm the key is valid:

1
2
curl --url https://api.modellix.ai/api/v1/apikey/validate \
--header 'Authorization: Bearer <YOUR_API_KEY>'

Invalid, missing, or malformed credentials return a successful response with is_valid set to false — a clean boolean, not an exception. The validate and balance endpoint docs cover both. Checking GET /api/v1/team/balance (returned in USD to four decimal places) before a batch run is the cheapest insurance against a mid-job 402 Payment Required. For the REST contract in full — headers, error codes, webhooks — see the Modellix REST API documentation.

Nano Banana API Reference

See how to submit and poll Nano Banana tasks, validate your key, and read the error codes.

View Docs

What you pay when the free path runs out

Every legitimate path funnels to the same place: per-image pricing. Pulled from the live pages on August 23, 2026, here is Google’s official per-image equivalent versus Modellix’s listed per-image price on the same models:

Model Resolution Google official (per image) Modellix (per image)
Nano Banana 2 512 / 1K $0.045 / $0.067 $0.0403 / $0.0575
Nano Banana 2 2K / 4K $0.101 / $0.151 $0.0851 / $0.1248
Nano Banana Pro 1K / 2K $0.134 $0.1265
Nano Banana Pro 4K $0.24 $0.2093

Sources: the Google Gemini pricing page linked above and the Modellix Nano Banana 2 and Nano Banana Pro model pages, all accessed August 23, 2026.

Note: Google has scheduled the original Nano Banana (Gemini 2.5 Flash Image) for shutdown on October 2, 2026, per the Gemini API deprecations page — new integrations should standardize on Nano Banana 2 (Gemini 3.1 Flash Image).

Read that table carefully, because it’s easy to over-read. Google prices image output per token (the figures above are the per-image equivalents at those sizes); Modellix lists flat per-image prices. Same-day, same-model, listed-price comparison on these two routes happens to show Modellix slightly lower at every tier — but this is not a claim that an aggregator is always cheaper. The honest use of this table is a budget baseline: a single 1K Nano Banana 2 image costs roughly six cents either way, and your total bill is number of images × per-image price plus whatever you spend iterating. If your workload is thousands of images a month, the delta between routes matters; if it’s a prototype, it doesn’t.

That’s also where the first-top-up discount lands: $10 of Modellix credit with the 10% first-tier discount means roughly $11 of generating power for your first tests — enough for well over a hundred 1K Nano Banana 2 images at the listed price. The Nano Banana price guide breaks down the whole family across models and resolutions, and the Nano Banana Pro API guide covers the Pro tier’s parameters and limits if that’s the model you’re standardizing on.

Start Generating with Nano Banana

Log in to run Nano Banana 2 or Pro on one Modellix key, with transparent per-image billing.

Login

Frequently Asked Questions

Can I use the Nano Banana API for free? You can create a free API key, but you cannot generate images through the official API for free — Google’s pricing page marks the free tier as “Not available” for every Nano Banana image model as of August 2026. The genuinely free ways to try it are the AI Studio playground (UI, no key) and some aggregators’ trial credits (verify at signup).

Can I get a Nano Banana API key for free? Yes, on both official and aggregator paths. Google AI Studio creates Gemini API keys free of charge with no credit card, and Modellix console keys cost nothing either. Free key creation and free image generation are two different things — only the first is universally true.

Is there a free tier for Nano Banana? Google’s free tier exists for text and audio models, but the pricing page lists image generation as “Not available” in the free tier for Nano Banana, Nano Banana 2, Nano Banana 2 Lite, and Nano Banana Pro. Aggregators advertise trial credits rather than a free tier; those amounts are third-party claims to confirm at signup. One lifecycle note: Google has scheduled the original Nano Banana (Gemini 2.5 Flash Image) for shutdown on October 2, 2026 — new integrations should standardize on Nano Banana 2 (Gemini 3.1 Flash Image).

How do I access Nano Banana Pro for free? The same rule applies: the key is free, the API isn’t. You can test Nano Banana Pro in the Google AI Studio playground without a key, or start with a small top-up on a pay-as-you-go aggregator (first-top-up discount applies per tier). “Nano Banana Pro unlimited free” claims are either playground access or a Puter.js-style user-pays model.

Why do I get a 429 error on a “free” Nano Banana key? A 429 Too Many Requests means you hit a rate or concurrency limit — on aggregators those scale with your top-up tier (for example, 2 concurrent tasks below a $10 top-up, 10 at $10). On Google’s side, hitting 429 on an image request is what a paid-only model looks like from a free key. Slow down or raise the tier; retrying the same request won’t help.

Where can I find free Nano Banana API examples on GitHub? Start with Google’s official nano-banana-hackathon-kit repo (linked above). Unofficial “free API” repos are often Puter.js wrappers or reseller lead magnets — check who operates the API before wiring one into your product.

Do I need a credit card to get a Nano Banana API key? Not to create the key. Google AI Studio and Modellix both issue keys without a card. You’ll need funding before the first image request on paid paths; if you see a claim that an aggregator gives new accounts free credit without a card, verify it at signup — it is not stated in the public docs.


Provider details, endpoints, and pricing reflect public information as of August 2026 and change frequently. Validate against each provider’s live pricing before committing. Access image and video models, including the leading Chinese models, through a single API key at modellix.ai.