Skip to main content

Nano Banana 2 (Gemini 3.1 Flash Image)

Gemini 3.1 Flash Image is a Google image-understanding and image-generation model optimized for price-performance balance.

Input / output price
$0.50 / $3.00 per 1M
Context
131K tokens
Released
Feb 26, 2026
Agent setup

Paste into Claude Code, Cursor, or Codex

Help me set up the Respan gateway: fetch and follow https://www.respan.ai/docs/agent-setup.md. Use model "google_gemini_ai/gemini-3.1-flash-image".

Read docs

Providers

2 providers, cheapest first, OpenRouter last, priced per 1M tokens after gateway discounts.

ProviderInputOutput
Google Gemini AIgoogle_gemini_ai/gemini-3.1-flash-image
$0.50/M$3.00/M
OpenRouteropenrouter/gemini-3.1-flash-image
$0.50/M$3.00/M

Is a provider down? OpenRouter status

Pricing

Averaged across 2 providers, in USD per 1M tokens after gateway discounts.

Average input
$0.50 per 1M
Average output
$3.00 per 1M

Cost by volume

Total cost from 0 to 1T tokens.

$0.50/MGoogle Gemini AI and OpenRouter

Throughput and latency

30-day averages from requests through the Respan gateway. Under each figure, every model on the gateway by its average, this one in blue.

Output speed

Higher is better

64tokens/sacross providers

Faster than 69% of the other 599 models on the gateway

Response latency

Lower is better

3.4sacross providers

Faster than 40% of the other 780 models on the gateway

Apps

Use Nano Banana 2 (Gemini 3.1 Flash Image) in the tools you already run. Each guide points the app at the Respan gateway.

Setup guides for more apps are in the integration docs.

Nano Banana 2 (Gemini 3.1 Flash Image) FAQ

Short answers, built from the data on this page.

Nano Banana 2 (Gemini 3.1 Flash Image) is a model from Google Gemini AI, released on Feb 26, 2026. Gemini 3.1 Flash Image is a Google image-understanding and image-generation model optimized for price-performance balance.

On the Respan gateway, Nano Banana 2 (Gemini 3.1 Flash Image) costs $0.50 per 1M input tokens and $3.00 per 1M output tokens on every provider, after gateway discounts.

Nano Banana 2 (Gemini 3.1 Flash Image) is available through 2 providers: Google Gemini AI and OpenRouter.

Nano Banana 2 (Gemini 3.1 Flash Image) accepts up to 131K tokens of context on its largest provider route.

Point any OpenAI-compatible SDK at https://gateway.respan.ai/v1 with your Respan API key and set the model to "google_gemini_ai/gemini-3.1-flash-image". To set it up with a coding agent, copy the agent setup prompt at the top of this page.

Certified where it counts.

Built to meet the security and privacy standards that enterprise and healthcare teams require.

ISO 27001

The internationally recognized standard for information security management.

SOC 2

Secure, compliant management of your data across all of our systems.

GDPR

Operated under GDPR, the world's strictest standard for data privacy.

HIPAA

HIPAA compliant, with a BAA available for healthcare teams.

Works with your entire stack

Use Respan with your favorite frameworks and tools.

AnthropicAI21 LabsxAIVercel AI SDK
LangChainOpenRouterAssemblyAICursor
LiteLLMGroqBasetenMem0
CohereCogneeLlamaIndexFireworks
DeepSeekLinkupHaystackTogether AI
PerplexityInference.netPostHogRubyLLM
SlackMastraAzure OpenAIMistral
AWS BedrockMoonshotHyperspellBAML
ModaInstructorGoogle GeminiParasail
ReductoZapierAgnoNebius
OpenAINovita AIReplicateSuperagent

Built for AI agents.
Break less.
Ship more.