Pay as you go
From $20
Best for
- Production projects
- Fast iteration & scaling
- Startups & indie devs
What's included
- Access to all models
- No usage limits
- Access to Playground
- Pay with crypto
- Pay only for what you use
- Priority human support
Get an AI/ML API key and call Nano Banana 2.1, Nano Banana 2 and Nano Banana 2 Lite for 30% less.
Write a Python function that removes duplicates from a list and keeps the order.
Nano Banana 2.1Nano Banana 2Nano Banana 2 Lite
Here is a short version. It keeps the first copy of each item:
def dedupe(items: list) -> list:
return list(dict.fromkeys(items))A dict keeps insertion order, so the items stay where they were
Nano Banana is typing
Trusted by top teams
0% markup on AI models and tools
Nano Banana models on AI/ML API, priced per 1M tokens.
Sign up with Google, GitHub or email. If you already have an account, log in.

Open Billing and add funds. You pay as you go and each request draws on this balance.
Open API keys and choose Create API Key. Name it, set a spending limit and store it on your server.
Open the Playground, pick a Nano Banana model and type a prompt. To call it from code, use your key with a supported SDK.
- OPENAI_API_KEY- ANTHROPIC_API_KEY- GEMINI_API_KEY+ AIML_API_KEYUse GPT, Claude and other AI models with the SDK. Switch models without building a separate integration.
Start small and scale on the same API as your traffic grows
From $20
Custom
Create an AI/ML API account, add credit, then open API keys and choose Create API Key. The same key calls every Nano Banana model. Follow the setup guide.
No. You get an AI/ML API key and call Nano Banana through api.aimlapi.com. A key from Google AI Studio works only with Google's own API, and one can't replace the other.
You pay per token from your AI/ML API balance. Nano Banana 2.1 is 30% off: $1.05 for 1M input tokens instead of $1.50, and $21 for 1M image output tokens instead of $30. See all Nano Banana prices.
Yes. Set base_url to https://api.aimlapi.com/v1 and pass your AI/ML API key; Nano Banana model IDs start with google/. See supported SDKs.
Add https://mcp.aimlapi.com/mcp as a remote MCP server and sign in through the browser. Your agent can then run AI/ML API models and check your balance. Read the MCP guide.
Nano Banana 2.1 for the best quality and text inside images, Nano Banana 2 for fast generation and editing, Nano Banana 2 Lite for high-volume work at the lowest price.
Store the key in a server-side environment variable. Keep it out of browser code and public repositories, and set a spending limit in your account.