gemini-3.1-flash-lite

Served by Google AI Studio (Gemini) through this free, OpenAI-compatible gateway. Pin it by name, or let the router pick it.

live right now free tier vision tool calling

Model id to send

google/gemini-3.1-flash-lite

Sending the bare name gemini-3.1-flash-lite works too, and lets the router use any provider that serves it. The google/ prefix pins this one.

What we have measured

Not the advertised numbers. These are from this gateway's own request log over the last 30 days, recomputed on every page load.

10,328
requests served
100%
answered successfully
3.5s
median response
15.1s
slowest 10% start here

Measured end to end from our server, including any failed attempts on other providers before this one answered, so it is what a caller experienced rather than what the upstream clocked.

Call it

curl https://dreamprompting.com/api/v1/chat/completions \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "google/gemini-3.1-flash-lite",
    "messages": [{"role":"user","content":"Hello!"}]
  }'
from openai import OpenAI

client = OpenAI(base_url="https://dreamprompting.com/api/v1",
                api_key="YOUR_API_KEY")

r = client.chat.completions.create(
    model="google/gemini-3.1-flash-lite",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(r.choices[0].message.content)

Get a free key, or try it with no account in the playground. Full parameters are in the API docs.

What happens when it is busy

Free tiers run out. When Google AI Studio (Gemini) rate limits this model, the router moves to the next provider in the chain and the request still answers, from a different model. Send "allow_fallback": false to refuse the substitution and get an error instead, which is what you want if your application announces which model it is using.

If you would rather not share the allowance at all, add your own Google AI Studio (Gemini) key: requests then run on your account, with no daily quota. See pricing.

Also on Google AI Studio (Gemini)