Latency—
Throughput—
Upload rate—
Context length—
Max output—
Input price$0.25per request
Output price—per request
Cache read—per request
Cache write—per request
/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.
Replace <YOUR_API_KEY> with the API key generated on your token management page.
All requests must include the Authorization: Bearer <TOKEN> header.
RPM = requests per minute, TPM = tokens per minute, RPD = requests per day. Limits apply by token group.