MODELS / GOOGLE

Gemini 3.1 Flash Image (Nano Banana 2)

Gemini 3.1 Flash Image is optimized for image understanding and generation and offers a balance of price and performance.

TEXTREASONINGIMAGE-GENERATIONIMPLICIT-CACHINGREASONINGVISIONWEB-SEARCH
131.1K
CONTEXT WINDOW
32.8K
MAX OUTPUT TOKENS
$0.5
INPUT PRICE / 1M TOKENS
$3
OUTPUT PRICE / 1M TOKENS
QUICKSTART

Call it in one request.

OpenAI-compatible: change the base URL, and the setup is complete.

curl https://enterprise.blackbox.ai/v1/chat/completions \
  -H "Authorization: Bearer $BLACKBOX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "blackboxai/google/gemini-3.1-flash-image",
    "messages": [{ "role": "user", "content": "Hello!" }],
    "stream": true
  }'
SPECIFICATIONS

The full spec sheet.

Context, pricing, modalities, routing, and deployment: everything Gemini 3.1 Flash Image (Nano Banana 2) supports, in one table.

MODEL ID
blackboxai/google/gemini-3.1-flash-image
DEVELOPED BY
Google
MODEL TYPE
Text
RELEASED
May 28, 2026
CONTEXT WINDOW
131.1K
MAX OUTPUT TOKENS
32.8K
INPUT MODALITIES
text, image
OUTPUT MODALITIES
text, image
INPUT PRICE
$0.5 / 1M tokens
OUTPUT PRICE
$3 / 1M tokens
CACHE READ
$0.05 / 1M tokens
REASONING
Supported
DATA RETENTION
Standard retention
DEDICATED DEPLOYMENT
Not available (closed-weight model)
SUPPORTED PARAMETERS
max_tokenstemperaturestopreasoninginclude_reasoning