Generate imagesLarge Language ModelsVisual Effects
Nano Banana API Key Free: How to Get One and Free Tier Limits
Creating a Nano Banana API token costs nothing, yet Google lists no free tier for any of its image models. This article lays out the real price per image, what happens when billing is off, and the free ways to try Nano Banana without paying for API calls.
You can create a Nano Banana API token for free in about a minute. You cannot use it to generate images for free. As of October 2026, Google's pricing page lists no free tier for any Nano Banana model, so every image requested through the Gemini API is billed from the first call. That single fact explains why so many developers see a 429 error on a brand new token that looks perfectly valid.
This article separates what is free from what is not. You will find the exact steps to create the token, the model ID and price of every Nano Banana version, three budget examples, the quota rules behind the errors, and the legitimate ways to try the model without paying for API calls. Every figure was checked against Google's documentation in October 2026. Prices change, so confirm them on the official pricing page before you set a budget.
💡 Quick answer: Creating a token is free. Calling Nano Banana through the API needs a billing account. Trying Nano Banana without billing means using an app or a browser tool, not the API.
The Short Answer
What the Token Costs
Nothing. Google's documentation says new users receive a default Google Cloud project and a token automatically after they accept the Terms of Service in Google AI Studio. No payment method is needed to get the token itself. The token only identifies your project, and it carries no image quota of its own, which is the part most people miss.
Think of it as a library card that comes with no books. The card is free, and the shelf behind it, the image models, is paid.
What Image Calls Cost
Every Nano Banana model is paid. The price runs from $0.0336 for a 1K image on the lightest model up to $0.24 for a 4K image on the Pro model. Google's text models do come with free tier quotas and daily request caps, and that reputation is why so many tutorials promise a free image API. The promise does not hold for the image models.
The practical result is simple:
Free tokens exist.
Free image generation through the API does not.
Free generation through an app or a browser tool does.
The sections below show each path in order.
Google can change this at any time, and free tiers for other model families have moved before. Do not rely on the date of a tutorial. Open the pricing page, find the row for the model ID you plan to call, and read its free tier cell yourself. If that cell ever lists a quota instead of "Not available," the advice in this article changes with it.
What Nano Banana Means in the API
Nano Banana is the nickname for Google's Gemini image models. The nickname now spans several generations, and each one has its own model ID, resolution ceiling, and price. Calling the wrong ID is the fastest way to overspend, so the table lists them side by side.
Resolution limits differ by model. Nano Banana 2 Lite renders 1K only. Nano Banana 2 offers 512px (0.5K), 1K, 2K, and 4K. Nano Banana Pro offers 1K, 2K, and 4K. The three newer models accept up to 14 reference images, and every generated image carries a SynthID watermark.
Which One Fits Your Budget
Volume drafts: use Nano Banana 2 Lite, at about 3.4 cents per 1K image.
Everyday work: use Nano Banana 2, which reaches 4K and takes 14 reference images for 6.7 cents at 1K.
Final art: use Nano Banana Pro, which Google calls "the premium choice for the most complex visual tasks." It costs exactly twice as much as Nano Banana 2 at 1K ($0.134 against $0.067).
Older code: calls that target the original ID bill at $0.039 per image.
A workable pattern uses two stages. Draft the composition on Nano Banana 2 Lite or at 0.5K until the framing, the pose, and the lighting look right. Then send the one winning prompt, with its reference images, to Nano Banana Pro for the final render. You pay the premium price once per deliverable instead of once per experiment.
How to Get Your Token
Create It in AI Studio
Open Google AI Studio and sign in with a Google account.
Accept the Terms of Service. A default Google Cloud project and a token are created for you.
Open the list of tokens and copy the string that belongs to the default project.
Save it in an environment variable. The official SDKs read GEMINI_API_KEY or GOOGLE_API_KEY, and if both exist, GOOGLE_API_KEY wins.
Look at the plan shown for that project. A project without billing is the reason most image calls fail later.
export GEMINI_API_KEY="paste-your-token-here"
Most people can stay in the default project. A second project is only useful when you want separate billing and separate limits, for example one for a client site and one for personal experiments. Remember that quotas belong to the project, so splitting work across projects also splits the bill.
Run Your First Test
Google's documentation shows this minimal Python call. The client reads the environment variable on its own, so no string appears in the code.
from google import genai
import base64
client = genai.Client()
interaction = client.interactions.create(
model="gemini-3.1-flash-image",
input="A ripe banana on a wooden desk, morning window light",
)
with open("banana.png", "wb") as f:
f.write(base64.b64decode(interaction.output_image.data))
On a project without billing, this is the exact call that fails. On a billed project, it writes banana.png and charges roughly 6.7 cents.
Keep It Out of Git
Google tells developers to treat the token like a password. If it leaks, other people can burn your quota and run up charges on your project.
Never check it into source control.
Never hardcode it in a web or mobile app, because code shipped to a browser can be extracted by anyone.
Call the API from a server you control.
If it leaks, generate a replacement, update your app, disable the old one, then review usage logs for calls you did not make.
Why Free Calls Fail
The Billing Wall
A token without billing behind it can authenticate, but it cannot pay for an image. Developers on Google's own forums report 429 responses when they call a Nano Banana model from a free project, and the message reads like a rate problem even though the real cause is missing billing.
Check these in order:
Billing status: link a Cloud Billing account to the project that owns the token.
Model ID: use one of the four IDs in the table above.
Images per minute: image models are counted in their own unit, explained below.
Daily reset: counters restart at midnight Pacific time.
Three habits waste a day of debugging:
Creating extra tokens in the same project, hoping for a fresh quota.
Switching networks or VPN endpoints, which has no effect on a quota tied to a project.
Waiting for the midnight reset, when the actual blocker is the missing billing account.
Fix billing first. Then, if the 429 responses continue, treat them as a rate issue and slow the request loop.
Rate Limits Work Per Project
Google measures usage in requests per minute, tokens per minute, and requests per day. Models that generate pictures also count images per minute (IPM), a unit that works like tokens per minute. Limits apply to the project, not to the token, so a second token inside the same project adds no capacity.
Google's rate limit page does not print fixed numbers for image models. It points you to AI Studio, where your active limits are listed for each project. Read them there instead of trusting a blog table, including this one.
💡 Tip: Retries are billed like any other call. Add exponential backoff to your code so a burst of 429 responses does not turn into a burst of charges.
Prices come from Google's pricing page in October 2026.
Three Budget Examples
A blog with 30 featured images a month on Nano Banana 2 at 1K: 30 x $0.067 = $2.01.
A product catalog of 2,000 images on Nano Banana 2 Lite: 2,000 x $0.0336 = $67.20.
A designer who iterates 40 times a day for 22 working days on Nano Banana Pro at 2K: 880 x $0.134 = $117.92.
The third case is where bills surprise people. Every regeneration is a billed image, so a loose prompt costs more than a careful one. Draft at 0.5K or on the Lite model, then render the winner once on Pro.
💡 Tip: Create a budget alert in Google Cloud Billing before your first paid call. It takes two minutes and warns you before a runaway loop does damage.
Free Ways to Try Nano Banana
The Gemini App
Google's Gemini app lists Nano Banana image generation among its features across subscription plans. Google's support page does not publish a fixed daily number for free accounts, so the cap you see inside the app is the one that counts, and it can change without notice. The app is manual only. It has no API, so it cannot feed a script or a content pipeline.
If you want help writing prompts first, chat models such as Gemini 3.5 Flash draft and refine them in the same place.
A fair test of any route uses three prompts. First, ask for a scene with one short word of text, to see how the model handles lettering. Second, upload a single reference photo and ask for the same person in a new location, to check consistency. Third, edit your own result with a plain sentence such as "move the lamp to the left shelf." A model that passes all three is ready for real projects.
Route
Needs a token
Needs Google billing
Works in scripts
Gemini API
Yes
Yes
Yes
Gemini app
No
No
No
Picasso IA in the browser
No
No
No
How to Use Nano Banana 2 on Picasso IA
The browser route needs a few clicks and zero setup. These steps use the schema published on the model page.
Type a description in the Prompt field. Name the subject, the light, and the lens, for example "morning window light, 50mm, shallow depth of field."
Choose an aspect ratio. The default is match_input_image, and presets run from 1:1 and 16:9 to 21:9, 9:16, and tall formats such as 1:4.
Choose a resolution of 1K, 2K, or 4K. Higher resolutions take longer.
Pick jpg or png and run the generation.
Type a follow up instruction such as "make the background darker" to edit the result instead of rewriting the prompt.
Settings That Matter
Setting
Options
Tip
image_input
Up to 14 images
Reuse one reference to keep a character consistent across scenes
resolution
1K, 2K, 4K
Draft at 1K, finish at 4K
output_format
jpg, png
Choose png for graphics with hard edges
google_search
On or off
Turn it on when the image depends on current events
image_search
On or off
Adds web images as visual context
Nano Banana Pro uses a similar form, with a 2K default resolution and a safety filter setting that ranges from strict to permissive. Pick it when the job is a final deliverable.
💡 Tip: Generate three variations at 1K before spending time on a 4K render. Most bad prompts show up in the first thumbnail.
Make Your First Images Today
You now know the honest picture: the token is free, the API calls are not, and the browser route skips both problems. If your goal is to see what Nano Banana can do, you do not need a billing account to start. Open Picasso IA, pick Nano Banana 2 or Nano Banana Pro, and write the first prompt that comes to mind.
Try a product shot, a portrait with reference photos, or a scene grounded in today's news. Then compare the results across models on the full model list. Experiment with the settings in the table above, keep the prompts you like, and build a small library of what works. When you are ready to automate, you will already know which model and resolution deserve your API budget. Before you do, return to the price table in this article and run your own numbers with the volume you expect. A rough monthly estimate takes one minute and prevents an unpleasant surprise on the first invoice.