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
Vercel AI Gateway

Gemini 3.1 Flash Image Preview (Nano Banana 2) API

Vercel AI Gateway
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 Vercel AI Gateway API with up to 33K output tokens.

Capabilities

Input Modalities

textimage

Output Modalities

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

Tokens

Input Limit
131K

Tokens

Max Output
33K

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 Vercel AI Gateway 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
Vercel AI Gateway
Family
gemini
Release Date
Feb 26, 2026
Knowledge Cutoff
N/A
API Integration
NPM Package
@ai-sdk/gateway
Environment Variables
AI_GATEWAY_API_KEY
Documentation