Google: Nano Banana 2.1
Overview
Image generation and conversational editing model, an update to Gemini 3.1 Flash Image, with 1K, 2K and 4K output.
- Provider
- Modality
- Image generation
- Input
- text, image, video, file
- Output
- image, text
- Max output
- 32,768 tokens
- Weights
- Closed
- Distillable
- NoLicence or terms, checked .
- Tags
- image-generation, image-editing
Data policy
- Prompts go to
- Google (Gemini Developer API)
- Retention
- Paid tier: prompts and responses not used to improve Google products, but logged for a limited period for abuse monitoring, free tier content may be used to improve products
- Zero data retention
- Not offered
- Region
- No region guarantee, data may be stored transiently or cached in any country where Google operates. Google points ZDR and enterprise processing needs to Vertex AI (Gemini Enterprise Agent Platform)
- Policy
- Google data policy
Summarised from the provider's published terms. The provider's own policy is what applies.
Where you can run it
How Nano Banana 2.1 can be deployed, bought and reached through Safeguard.
- Deployment
- Public cloudPrivate cloud
- Procurement
- Not published yet
- Inference regions
- Not published yet
Closed weights stay with the provider, so this model runs in the provider's cloud, never on-prem or air-gapped.
Pricing
| Provider | Input / 1M tokens | Output / 1M tokens | Context |
|---|---|---|---|
| $1.50 | $30 | 131K |
- Notes
- Output price is for image output tokens ($30/1M, about $0.0336 per 1K image, $0.0504 per 2K, $0.113 per 4K). Text and thinking output $7.50/1M.
- Source
- Google pricing , last verified October 8, 2026
No markup on model usage: you pay the provider's list price.
API
OpenAI-compatible. Your API key and access to this model are set up for your workspace when you choose Use with Safeguard.
from openai import OpenAI
client = OpenAI(
base_url="https://api.safeguard.sh/gpt/v1",
api_key="SAFEGUARD_API_KEY",
)
response = client.chat.completions.create(
model="google/gemini-nano-banana-2.1",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)Base URL https://api.safeguard.sh/gpt/v1, model google/gemini-nano-banana-2.1.
Product names and logos are trademarks of their respective owners and identify each model's publisher. Their use does not imply endorsement, sponsorship or affiliation.
Self-healing security runs on Safeguard.
Your first fix PR is minutes away.
No sales call required, even your agent can complete the purchase over MCP.