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
Google

Gemini 3.1 Flash Image (Preview) API

Google
About

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

Capabilities

Input Modalities

textimagepdf

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.25
Output
$60.00
Frequently Asked Questions

Gemini 3.1 Flash Image (Preview) by Google costs $0.25 per 1M input tokens and $60.00 per 1M output tokens.

Model Details
ID
gemini-3.1-flash-image-preview
Provider
Google
Family
gemini-flash
Release Date
Feb 26, 2026
Knowledge Cutoff
Jan 1, 2025
API Integration
NPM Package
@ai-sdk/google
Environment Variables
GOOGLE_GENERATIVE_AI_API_KEY
GEMINI_API_KEY
Documentation