Google / google/gemini-nano-banana-2.1
Gemini Nano Banana 2.1 - access through LLMTR
An update to Nano Banana 2 (Gemini 3.1 Flash Image). It generates images from text and edits the reference images you send, with output at 1K, 2K, and 4K.
Technical specifications
| Canonical ID | google/gemini-nano-banana-2.1 |
|---|---|
| Provider | |
| Context window | 131,072 tokens |
| Operations | IMAGES_GENERATIONS |
| Modalities | text, image, video |
Pricing
An 8% platform margin applies to credit top-ups; model usage prices are not separately marked up.
| Operation | Metric | Unit | Price |
|---|---|---|---|
| IMAGES_GENERATIONS | INPUT_TEXT | PER_1M_TOKENS | $1.50 |
| IMAGES_GENERATIONS | CACHE_READ | PER_1M_TOKENS | $0.150000 |
| IMAGES_GENERATIONS | OUTPUT_TEXT | PER_1M_TOKENS | $7.50 |
| IMAGES_GENERATIONS | INPUT_IMAGE | PER_1M_TOKENS | $1.50 |
| IMAGES_GENERATIONS | INPUT_VIDEO | PER_1M_TOKENS | $1.50 |
| IMAGES_GENERATIONS | OUTPUT_IMAGE | PER_IMAGE | $0.033600 |
| IMAGES_GENERATIONS | OUTPUT_IMAGE | PER_IMAGE | $0.050400 |
| IMAGES_GENERATIONS | OUTPUT_IMAGE | PER_IMAGE | $0.113000 |
Example usage
With existing OpenAI SDK flows, change only the base URL and model identifier.
curl https://llmtr.com/v1/chat/completions -H "Authorization: Bearer llmtr-your_key" -H "Content-Type: application/json" -d '{"model":"google/gemini-nano-banana-2.1","messages":[{"role":"user","content":"Hello"}]}'
Guides about this model
- Gemini Nano Banana 2.1 API: 1K, 2K and 4K image pricing and how to call it - On LLMTR, google/gemini-nano-banana-2.1 is called through https://llmtr.com/v1/images/generations. Image output costs $30 per 1M tokens; Google's per-image equivalents are $0.0336 for 1K, $0.0504 for 2K and $0.113 for 4K. Input is billed at $1.50 and thinking at $7.50; n is not applied.
- Editing with reference images, multi-reference and try-on in Nano Banana 2.1 - To edit with Nano Banana 2.1, upload the reference image to https://llmtr.com/v1/files and add the returned id to a /v1/images/generations request through file_ids. One request takes up to 8 references; multi-reference and try-on use the same flow. /v1/images/edits is not open for Google models.
- Nano Banana 2.1 or Nano Banana 2? Per-image pricing and differences - Both models are called on LLMTR through https://llmtr.com/v1/images/generations with the same key. Nano Banana 2.1 has lower per-image equivalents (1K $0.0336, 2K $0.0504, 4K $0.113; Nano Banana 2: $0.067, $0.101, $0.151), while its input and thinking tokens cost more. The 512 size is published only for Nano Banana 2.
Related models
- Gemini 3.8 Flash google/gemini-3.8-flash
- Gemini 3.7 Flash google/gemini-3.7-flash
- Gemini 2.5 Flash google/gemini-2.5-flash
- Gemini 2.5 Flash Image google/gemini-2.5-flash-image
- Gemini 2.5 Flash-Lite google/gemini-2.5-flash-lite
- Gemini 2.5 Flash Native Audio (Live API) google/gemini-2.5-flash-native-audio-preview-12-2025
- Gemini 2.5 Flash Preview TTS google/gemini-2.5-flash-preview-tts
- Gemini 2.5 Pro google/gemini-2.5-pro