Gemini 3.1 Flash Image (Nano Banana 2) API price
by Google
Short answer: Gemini 3.1 Flash Image (Nano Banana 2) images start at $0.02 each on 5abeer, against $0.067 on Google's official pricing page (checked October 13, 2026). Call it at https://api.5abeer.ai/v1beta with the model id gemini-3.1-flash-image.
Price checked on October 13, 2026 · Source: Google
Pricing
One amount for each image generated, by its size, in US dollars.
- The amount comes off your balance for each image generated.
- In the plans, each image counts against your plan limits (the 5-hour and the weekly limit) at this value.
- Quality does not change our amount: a low- and a high-quality image cost the same; the official price changes with it.
- A request that names no size, or names it in a form we do not recognise, is billed as a Large image.
- The size is the one the request asks for.
- The × 0.3 rule and the saving do not apply to images: compare an image's price with the official price beside it.
- Official price checked on October 13, 2026.
How the size you ask for is billed
Capabilities
What this model actually does, as its maker publishes it.
- Reads images
- Reads files
- Structured JSON output
- Searches the web
- Prompt caching
- Generates images
Works overGemini GenerateContent
Code
The code you already use: change the base URL and add your key.
curl --request POST "https://api.5abeer.ai/v1beta/models/gemini-3.1-flash-image:generateContent" \
--header "x-goog-api-key: $KHABEER_API_KEY" \
--header "Content-Type: application/json" \
--data '{"contents":[{"role":"user","parts":[{"text":"Write a product idea in one sentence."}]}],"generationConfig":{"responseModalities":["TEXT","IMAGE"]}}'Your key is read from the KHABEER_API_KEY variable, so it never appears in the code. You create the key in the dashboard.
Works in
This model works through the API only: from your code or any app that accepts an API key.
In plans
This model is included in the Bundle subscriptions; its use counts against your plan limits.
See the plansFAQ
How much is Gemini 3.1 Flash Image (Nano Banana 2) on 5abeer?
$ 0.02 per standard image and $ 0.03 per large image, off your balance; quality does not change it. Google's official price per standard image is $ 0.067.
How large is Gemini 3.1 Flash Image (Nano Banana 2)'s context window?
Up to 64K tokens per request.
How do I call Gemini 3.1 Flash Image (Nano Banana 2) from my code?
Compatible with the Gemini generateContent API for the models that support it. The base URL is https://api.5abeer.ai/v1beta and the model id is gemini-3.1-flash-image.
Is 5abeer part of Google?
5abeer is an independent service, not affiliated with OpenAI, Anthropic or Google.
Related models
Ready to start?
Create a key and send your first request to Gemini 3.1 Flash Image (Nano Banana 2).