gemini-3.1-flash-image-preview

Google · Image

Painting

NixAPI price, from

USD per call$0.0206

USD per call · via group Discounted-Banana-1

Get your API key →

About gemini-3.1-flash-image-preview

Nano Banana 2 delivers high-quality image generation and conversational editing at mainstream prices with low latency.

Price by routing group

Pick a group in the console when you create a key. Status is live from the router. Live status by group →

GroupGroup statusModel statusMultiplierPrice
Discounted-Banana-1…×0.1243$0.0206
Discounted-Banana-2…×0.174$0.0288
Aistudio-Gemini-1…×0.2982$0.0494
Vertex-Gemini-1…×0.338$0.0559
Aistudio-Gemini-2…×0.4474$0.074
Aistudio-Gemini-3…×0.7456$0.1234
Vertex-Gemini-2…×0.7605$0.1259
Vertex-Gemini-3…×1.521$0.2517
Aistudio-Gemini-4…×1.6155$0.2674

USD per call

Supported endpoints

geminiopenaianthropic

Call gemini-3.1-flash-image-preview in one request

Works with the OpenAI SDK and any OpenAI-compatible client. Replace the key with your own.

curl https://api.nixapi.com/v1/chat/completions \
  -H "Authorization: Bearer $NIXAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini-3.1-flash-image-preview",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Full API reference →

Questions about gemini-3.1-flash-image-preview

How much does gemini-3.1-flash-image-preview cost on NixAPI?

From $0.0206 per call in the Discounted-Banana-1 group. Billing is pay-as-you-go in USD with no monthly minimum.

How do I call gemini-3.1-flash-image-preview?

Point any OpenAI-compatible client at https://api.nixapi.com/v1, use your NixAPI key and set the model to "gemini-3.1-flash-image-preview".

Which routing groups serve gemini-3.1-flash-image-preview?

gemini-3.1-flash-image-preview is available in 9 routing groups: Discounted-Banana-1, Discounted-Banana-2, Aistudio-Gemini-1, Vertex-Gemini-1, Aistudio-Gemini-2, Aistudio-Gemini-3, Vertex-Gemini-2, Vertex-Gemini-3, Aistudio-Gemini-4. The lowest price is in Discounted-Banana-1.

More from Google

Compare all Google models →