identity

proprietary
Google logo

gemini-3.1-flash-imageGoogle

from /1M in$0.25google llc (vertex ai)
context131K66K out
providers21 region
price spread2.0x3 endpoints
endpoints
3
regions
1
api
chat
released
June 2026

capabilities 7/8

visionreasoningtoolscachingweb searchjson schemacomputer useimage gen

The same weights cost 2.0x more on google llc (gemini api) than on google llc (vertex ai). That is what the endpoints table is for.

endpoints

3 / 1 region
Providers serving gemini-3.1-flash-image, with pricing and measured performance. Best value in each column is coloured.
#flags
1Google LLC (Vertex AI)Global131K$0.25$1.50freezdr
2Google LLC (Gemini API)Global131K$0.50$2.00freezdr
3Google LLC (Vertex AI)Global131K$0.50$2.00freezdr
provider price, no markupper 1M tokensblank where no qualifying sample

measured

through Sep 12

no measured traffic for this model yet. the endpoints table above carries provider pricing

benchmarks

artificial analysis

no published benchmark scores for this model

call it

model=
gemini-3.1-flash-image

requesty routes this id across every provider serving gemini-3.1-flash-image, picking on price and health and failing over automatically. the id stays valid when a provider changes underneath it

Base url is https://router.requesty.ai/v1 for every id here. One key reaches the whole catalog.

quickstart

openai compatible
main.py
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="gemini-3.1-flash-image",    messages=[        {"role": "user", "content": "Explain quantum computing in one paragraph."},    ],) print(response.choices[0].message.content)

Change the base url, use your Requesty key, set the model to any id in the call pane. Existing OpenAI SDK code needs no other edit, and the same key reaches every other model in the catalog, so switching later is a one-parameter change. Browse all models

notes

reference

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

questions 6

Which providers serve gemini-3.1-flash-image?
gemini-3.1-flash-image is available from 2 providers through Requesty: Google LLC (Vertex AI), Google LLC (Gemini API). All endpoints share one OpenAI-compatible API and one key, and Requesty fails over between them automatically.
How much does gemini-3.1-flash-image cost?
Pricing starts at $0.25 per million input tokens and $1.50 per million output tokens on the cheapest provider. Prices vary by provider and region; the table above shows every endpoint. Requesty charges exactly what the upstream provider charges, with no markup.
Is gemini-3.1-flash-image open weights?
No. gemini-3.1-flash-image is a proprietary model from Google, served through Google's own API and licensed cloud platforms.
What is the context window of gemini-3.1-flash-image?
gemini-3.1-flash-image supports up to 131K tokens of context, with up to 66K output tokens per response. Some providers expose a smaller window; check the per-endpoint context column above.
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 "gemini-3.1-flash-image" or any endpoint id from the table above. The quickstart section shows Python, JavaScript and cURL snippets.
Should I call gemini-3.1-flash-image by its managed id or a provider id?
Use the managed id, "gemini-3.1-flash-image". Requesty picks which of the 2 providers serves each request based on price and health, and fails over when one degrades, so the id keeps working while the routing changes underneath it. Send a provider id like "vertex/gemini-3.1-flash-image:flex" only when you need one specific deployment and want no failover.

more from google 6

Other Google models
modelcontextfrom /Mproviders
gemini-3.8-flash1.0M$0.751
gemini-3.7-flash1.0M$0.751
gemini-3.6-flash1.0M$0.382
gemini-3.5-flash-lite1.0M$0.152
gemini-3-pro-image1.0M$1.002
gemini-3.5-flash1.0M$0.752

route gemini-3.1-flash-image through one endpoint

One key for 2 providers on this model and 600+ others. No markup on provider prices, automatic failover, caching built in. Weekly aggregates in the measured pane come from production traffic routed through Requesty, one line per provider on a shared axis. Methodology

gemini-3.1-flash-image2 providers3 endpointsfrom $0.25 /1M inctx 131Kspread 2.0xupdated Sep 12