Models
Enterprise
Subscribe
Resource
Documentation
Console

google/gemini-3.1-flash-image-preview-4k

Gemini.Color

Google: gemini-3.1-flash-image-preview-4k

Gemini 3.1 Flash Image entered preview on February 26, 2026. The 4K suffix denotes an output-resolution configuration. Google released the GA version of Gemini 3.1 Flash Image on May 28, 2026, with 4K output later available as a production capability.

Modetext → text
Input price$0.25 per M tokens
Output price
Context length
Weekly usage0 tokens
Listed at

Google

Latency
Throughput
Upload rate
Context length
Max output
Input price$0.25per request
Output priceper request
Cache readper request
Cache writeper request

Performance

Avg TPS
Avg latency
Avg success rate
TPS
TTFT
Latency
Success rate

Success rate

Speed

Code Example

Replace <YOUR_API_KEY> with the API key generated on your token management page.

Authentication

All requests must include the Authorization: Bearer <TOKEN> header.

Endpoint Path

POST

Supported Parameters

ParameterTypeDefaultDescription

Rate Limits

GroupRPMTPMRPD

RPM = requests per minute, TPM = tokens per minute, RPD = requests per day. Limits apply by token group.

Pricing

GroupBilling typePrice summary