Nano Banana 2 Lite from Google is now available on AI Gateway. This Flash-Lite-tier image model is built for fast, low-cost generation. It generates images alongside text in <4s and can edit existing images across multiple turns.
The cost is also lower than previous Nano Banana models. Nano Banana 2 Lite generates 1K images at $0.034 each, about half the cost of Nano Banana 2 and roughly a quarter of the cost of Nano Banana Pro at the same resolution.
This model is multimodal. Use streamText
or generateText
to generate images alongside text responses.
To use Nano Banana 2 Lite, set model
to `google/gemini-3.1-flash-lite-image`
in the [AI SDK](https://ai-sdk.dev/):
Here is the example output from the above prompt:
You can also try Nano Banana 2 Lite in the model playground. AI Gateway provides a unified API for calling models, tracking usage and cost, and configuring retries, failover, and performance optimizations for higher-than-provider uptime. It includes built-in custom reporting, Zero Data Retention support, budgets for API keys, and more.
AI Gateway reflects provider pricing with no markup and does not charge a platform fee on inference, including on Bring Your Own Key (BYOK) requests.