Day-0-Support für Nano Banana 2.1 in LiteLLM
LiteLLM unterstützt gemini-nano-banana-2.1 ab Tag 0 über Google AI Studio und die Gemini Enterprise Agent Platform für Bildgenerierung, Bildbearbeitung und Chat Completions und ersetzt damit Nano Banana 2, das am 29. Oktober 2026 abgeschaltet wird.
LiteLLM x Nano Banana 2.1
LiteLLM supports gemini-nano-banana-2.1 on day 0 on Google AI Studio (gemini/) and Gemini Enterprise Agent Platform, formerly Vertex AI (vertex_ai/), through /v1/images/generations, /v1/images/edits and /chat/completions. It replaces Nano Banana 2 (gemini-3.1-flash-image), which the Gemini API shuts down on October 29, 2026.
Per Google, Nano Banana 2.1 improves visual quality and text rendering at 1K, 2K and 4K, fixes tiling on wide aspect ratios, takes up to 14 reference images, and supports Search grounding and configurable thinking levels.
note
No Docker image upgrade needed. Hit Reload Model Cost Map in the Admin UI (or POST /reload/model_cost_map) to pull pricing, on v1.76.0 and above.
Pricing
- Image output: $30 / MTok ($0.0336 per 1K image)
- Text input: $1.50 / MTok
- Text output: $7.50 / MTok
Quick Start
- PROXY
- SDK
1. Setup config.yaml