All models

Gemini 3.1 Flash Image runs at 43% off on TeamoRouter.

Google: Gemini 3.1 Flash Image

No training

Gemini 3.1 Flash Image, a.k.a. "Nano Banana 2," is Google’s latest state of the art image generation and editing model, delivering Pro-level visual quality at Flash speed.

Modalities

Price (in / out)

43% off

$0.2835 / $34.02$0.5 / $60per 1M

Context

-

Released

Feb 26, 2026

Call the Gemini 3.1 Flash Image API

Model ID gemini-3.1-flash-image · replace <TEAMOROUTER_API_KEY> with your API key

Get an API key

Gemini native

curl "https://api.teamorouter.com/v1beta/models/gemini-3.1-flash-image:generateContent" \
  -H "Authorization: Bearer <TEAMOROUTER_API_KEY>" \
  -H "Content-Type: application/json" \
  -d '{"contents":[{"parts":[{"text":"Hello"}]}]}'

Providers

TeamoRouter routes by health and cost within the discount range and provider list you configured. When one returns an error we fall through to the next best — you don't pick a provider in the request. Configure discount range

Need a specific set of providers?

ProviderContextInputOutputCacheLatencyThroughputNo training
—

Uptime

TeamoRouter continuously probes every provider and falls through to the next best one on error.

Uptime (24h)

—

Uptime (3d)

—

Uptime, last 3 days

—

-72h-48h-24hNow

Uptime, last 24 hours

One line per upstream provider, taking the best success rate among that provider's channels. The TeamoRouter line counts only the final attempt of each request — the end-to-end result after all fallbacks.

    AVAILABILITY · LAST 24H · TEAMOROUTER GATEWAY

    Data security

    TeamoRouter does not use your data to train models.

    For the full data-security policy, learn more.

    Need to pick your own providers? .

    Quickstart

    from google import genai
    from google.genai import types
    
    client = genai.Client(
        api_key="<TEAMOROUTER_API_KEY>",
        http_options=types.HttpOptions(base_url="https://api.teamorouter.com"),
    )
    response = client.models.generate_content(
        model="gemini-3.1-flash-image",
        contents="Hello",
    )
    print(response.text)

    Endpoint: https://api.teamorouter.com

    About Gemini 3.1 Flash Image

    Gemini 3.1 Flash Image is a Google model. On TeamoRouter its model ID is gemini-3.1-flash-image, and the same TeamoRouter API key works for it and every other model. Setup steps are in the API docs.

    Model ID
    gemini-3.1-flash-image
    Provider
    Google
    Official list price
    $0.50 input / $60 output per 1M tokens
    Released
    Feb 26, 2026

    Use the Gemini 3.1 Flash Image API

    Point the base URL at TeamoRouter and use gemini-3.1-flash-image as the model name; nothing else changes. Python example:

    from google import genai
    from google.genai import types
    
    client = genai.Client(
        api_key="<TEAMOROUTER_API_KEY>",
        http_options=types.HttpOptions(base_url="https://api.teamorouter.com"),
    )
    response = client.models.generate_content(
        model="gemini-3.1-flash-image",
        contents="Hello",
    )
    print(response.text)

    All parameters: Gemini 3.1 Flash Image API docs.

    Gemini 3.1 Flash Image FAQ

    What is the Gemini 3.1 Flash Image API model ID?
    The model ID is gemini-3.1-flash-image. The OpenAI-compatible base URL is https://api.teamorouter.com/v1.
    How much does the Gemini 3.1 Flash Image API cost?
    The official list price of Gemini 3.1 Flash Image is $0.50 input / $60 output per 1M tokens. TeamoRouter bills per use with no monthly fee; see the price table on this page for the current discounted price.
    How do I pay for the Gemini 3.1 Flash Image API?
    New accounts start with a $0 balance. Top up from $5 by card in the TeamoRouter dashboard, then usage is deducted per request, with no subscription. Top up.
    Can I pay for the Gemini 3.1 Flash Image API with USDT?
    Yes. In the top-up dialog, click "Pay with crypto" and send USDT, USDC or ETH from Binance, OKX or any wallet. The minimum is $5 and no browser extension is needed. Step by step: how to pay for the API with USDT.
    Gemini 3.1 Flash Image API: Model ID, Pricing & Setup