# Nano Banana 2.1 now available on AI Gateway

DevFeed: [Nano Banana 2.1 now available on AI Gateway](<https://devfeed.tech/articles/nano-banana-2-1-now-available-on-ai-gateway-65890.md>)

Original publisher: [Read original article](<https://vercel.com/changelog/nano-banana-2-1-now-available-on-ai-gateway>)

Author: Jerilyn Zheng

Published: 2026-10-06T00:00:00Z

Content type: release

Language: en

Sources: [Vercel News](<https://devfeed.tech/sources/vercel-news.md>)

Topics: [ai-image-generator](<https://devfeed.tech/topics/ai-image-generator.md>), [vercel ai sdk](<https://devfeed.tech/topics/vercel-ai-sdk.md>), [Chat completions endpoints](<https://devfeed.tech/topics/chat-completions-endpoints.md>), [gateway](<https://devfeed.tech/topics/gateway.md>)

Tags: [ai-gateway](<https://devfeed.tech/tags/ai-gateway.md>), [ai-sdk](<https://devfeed.tech/tags/ai-sdk.md>), [api](<https://devfeed.tech/tags/api.md>), [image](<https://devfeed.tech/tags/image.md>), [sdk](<https://devfeed.tech/tags/sdk.md>)

## AI overview

Google's Nano Banana 2.1 image generation and editing model is now available through Vercel AI Gateway. The release highlights product recontextualization, localized mask- and ink-based edits, and improved factuality, and provides access through the AI SDK, an OpenAI-compatible Chat Completions API, or AI CLI. AI Gateway also offers usage and cost tracking, retries, failover, routing, and performance settings.

## Source excerpt

Nano Banana 2.1 from Google is now available on AI Gateway. It improves image generation and editing over earlier Nano Banana models. This release targets product recontextualization, mask- and ink-based editing, and factuality. Product recontextualization places an existing product in a new scene. Mask- and ink-based edits change only the region marked by a mask or by strokes drawn on the image. Factuality is how accurately images depict real-world subjects. The model renders photorealistic skin tones, intricate materials, sharp lighting, and coherent backgrounds at the latency and cost of a Flash-tier model. Call it through the AI SDK or the OpenAI-compatible Chat Completions API, or the AI CLI. AI CLI is an open-source command-line tool from Vercel Labs for generating text, images, video, and audio from your terminal. It runs on AI Gateway, so any Gateway model ID works with -m. Use google/gemini-nano-banana-2.1 as the model name. Generated images are returned in result.files: Try Nano Banana 2.1 in imagen.sh, or 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, routing rules, 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. You can view all image models available on AI Gateway. Read more