No description available
Nano Banana APIActive
AI Code With channel availability
The same model is billed by channel discount. Copy a channel code to set your preference.
Related Models
More models from 图片生成
Compare models from other providers
Nano Banana API: price, model ID, and how to call it
Call Nano Banana through AI Code With. Use model ID nano-banana with 200K context. list price about $0.0200 / $0.0200 per 1M tokens before channel discounts.
Next: Get API key · Image model setup · All model prices · All model prices
cURL example
Set model to nano-banana. The page slug is only the URL, not the API parameter.
curl https://api.aicodewith.ai/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $AICODEWITH_API_KEY" \
-d '{
"model": "nano-banana",
"messages": [
{ "role": "user", "content": "What is the meaning of life?" }
]
}'FAQ
What is the Nano Banana model ID?
Send model "nano-banana" in the API request. The page path /nano-banana is only the URL, not the model parameter.
How do I call the Nano Banana API?
Use one AI Code With API key against https://api.aicodewith.ai/v1/chat/completions, and set model to nano-banana. Supported protocols: OpenAI Chat Completions. See Image model setup.
How is Nano Banana priced?
Nano Banana is list price about $0.0200 / $0.0200 per 1M tokens before channel discounts. The public page shows available channel discounts; billed usage follows your prepaid balance and the live channel.
How long is the Nano Banana context window?
Nano Banana has about 200K input context and up to 65.54K output tokens. Treat that as capacity, not a reason to fill every request.
GPT-5.6 Sol