Requesty
Google LLC (Gemini API) logo

gemini-3.1-flash-image

Google LLC (Gemini API)/🌍 Global/chat

Gemini 3.1 Flash Image is optimized for image understanding and generation and offers a balance of price and performance.More

Which id to call

google/gemini-3.1-flash-image

This exact deployment on Google LLC (Gemini API), with no routing and no failover. Send it as the model field.

Input /1M

$0.50

free cached

Output /1M

$2.00

4.0x input

Context

131K

66K output

Added

Jun 2026

chat

Capabilities 7/8

VisionReasoningTool callingCachingWeb searchJSON schemaComputer useImage generation

Provider rates

What gemini-3.1-flash-image costs

Provider prices per 1M tokens, updated September 5, 2026.more

These are the upstream provider rates. Pay as you go adds 5%, or 0% if you bring your own keys, and there is no per-request fee. Prompt caching and routing change what you pay against these rates, not the rates themselves.

Input /1M

$0.50

Output /1M

$2.00

Cache write /1M

-

Cache read /1M

free

What a workload costs

100K input + 10K output
$0.0700
1M input + 100K output
$0.70
10M input + 1M output
$7.00

At the rates above, before caching. Cache reads on this endpoint are free, so repeated context lands under these figures.

model=

Which id to call

One base url, https://router.requesty.ai/v1, and one key for every id here.

google/gemini-3.1-flash-image

This exact deployment on Google LLC (Gemini API), with no routing and no failover. Send it as the model field.

OpenAI compatible

Call it in three lines

Change the base url, use your Requesty key, set the model to any id on the left. Existing OpenAI SDK code needs no other edit.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from openai import OpenAI client = OpenAI( api_key="YOUR_REQUESTY_API_KEY", base_url="https://router.requesty.ai/v1", ) response = client.chat.completions.create( model="google/gemini-3.1-flash-image", messages=[ {"role": "user", "content": "Explain quantum computing in one paragraph."}, ], ) print(response.choices[0].message.content)

Reference

Specs and data terms

What the catalog reports for this deployment, and what the provider does with the traffic.

Context window131K tokens
Max output66K tokens
API typechat
AddedJun 2026
Model id
Data retentionNone
Used for trainingNo
Served from🌍 Global
Privacy policyGemini API Terms

Public leaderboards

Benchmark scores

Benchmarks measure the model, not this endpoint, so they are the same wherever these weights are served.

No benchmarks are published for this exact variant yet.

Region-specific deployments and highspeed tiers usually share scores with their base model. Try the base model page or the Google LLC (Gemini API) models overview.

Same provider

More from Google LLC (Gemini API)

Newest first, on the same provider and the same key.

Reference

gemini-3.1-flash-image questions

How much does gemini-3.1-flash-image cost?

gemini-3.1-flash-image is priced at $0.50 per million input tokens and $2.00 per million output tokens when accessed via Requesty. Prompt caching is supported, which can cut effective input cost by up to 90% on repeated context. Those are the upstream provider rates: pay as you go adds 5% on top, or 0% if you bring your own provider keys.

What is the context window of gemini-3.1-flash-image?

gemini-3.1-flash-image has a context window of 131K tokens, with a maximum output of 66K tokens per response. That's roughly 175 words of input you can fit in a single prompt.

What can gemini-3.1-flash-image do?

gemini-3.1-flash-image supports vision input, tool calling, extended reasoning, prompt caching, web search, structured outputs (JSON schema), image generation. You can call it through any OpenAI-compatible client by pointing base_url to Requesty.

How do I use gemini-3.1-flash-image with the OpenAI SDK?

Install the OpenAI SDK, set base_url to "https://router.requesty.ai/v1", set your API key to your Requesty key, and set the model to "google/gemini-3.1-flash-image". The Quickstart above shows Python, JavaScript and cURL snippets.

Can I run gemini-3.1-flash-image through Requesty?

Yes. gemini-3.1-flash-image runs through Requesty's OpenAI-compatible API, served from Google LLC (Gemini API). You do not host the model yourself: point base_url at Requesty, set the model to "google/gemini-3.1-flash-image", and requests are routed to the upstream provider with automatic failover. The same key gives you 600+ other models too.

Call gemini-3.1-flash-image through one endpoint

One key for this endpoint and 600+ other models. No markup on provider prices, automatic failover, caching built in.