AI Model APIs
AI Model APIsProviders
AI Model APIs

The complete platform for comparing AI models. Find pricing, capabilities, and the perfect model for your use case.

contact@aimodelapis.com

Resources

  • AI Models APIs
  • Providers

About

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 AI Model APIs. All rights reserved.

Back to Models
OpenRouter

Gemini 3.1 Flash Image Preview (Nano Banana 2) API

OpenRouter
About

Build advanced reasoning agents with Gemini 3.1 Flash Image Preview (Nano Banana 2), a specialized AI model optimized for complex logic and chain-of-thought tasks. This model delivers cost-effective pricing at $0.50/1M input and $3.00/1M output tokens. Access Gemini 3.1 Flash Image Preview (Nano Banana 2) via the OpenRouter API with up to 66K output tokens.

Capabilities

Input Modalities

textimage

Output Modalities

textimage
Reasoning
Yes
Structured Output
Yes
Tool Use
No
WeightsClosed
Temperature
Adjustable
Attachment
Supported
Limits
Context Window
66K

Tokens

Input Limit
66K

Tokens

Max Output
66K

Tokens

Pricing

Standard (per 1M tokens)

Input
$0.50
Output
$3.00
Frequently Asked Questions

Gemini 3.1 Flash Image Preview (Nano Banana 2) by OpenRouter costs $0.50 per 1M input tokens and $3.00 per 1M output tokens.

Model Details
ID
google/gemini-3.1-flash-image-preview
Provider
OpenRouter
Family
gemini-flash
Release Date
Feb 26, 2026
Knowledge Cutoff
Jan 1, 2025
API Integration
NPM Package
@openrouter/ai-sdk-provider
Environment Variables
OPENROUTER_API_KEY
API Base URL
https://openrouter.ai/api/v1
Documentation