Google Gemini API (AI Studio)

Ongoing verified 2026-10-08 · 2d ago no cardno phonecommercial OKOpenAI-compatible

The only frontier-class model with a genuine free tier

What's free

Gemini 2.5 Flash, 2.5 Flash-Lite, 2.5 Pro (limited), embeddings, TTS models

Credit card
not required
Phone verification
not required
Commercial use
allowed

Free limits

Numeric limits are not recorded in structured form for this provider.

In the provider's words

Per-model; Google no longer publishes the free-tier numbers in its public docs — they are shown only on the AI Studio rate-limit page after sign-in

The catch

Free-tier prompts/outputs may be used by Google to improve its products outside the UK/CH/EEA/EU. Since the 2026-03-23 terms, only Paid Services may serve API clients to end users in the EEA/CH/UK

PlanOngoing free tier
How it renewsFree quota that renews
Expiresno expiry
Modalitiestext, vision, embeddings, audio
OpenAI base URLhttps://generativelanguage.googleapis.com/v1beta/openai/

Free models · sample

gemini-2.5-flashgemini-2.5-flash-litegemini-2.5-pro

A sample of models reachable on the free tier — the live catalog changes. Pull the current set with GET https://generativelanguage.googleapis.com/v1beta/openai//models.

Quickstart — chat completions

from openai import OpenAI

client = OpenAI(base_url="https://generativelanguage.googleapis.com/v1beta/openai/", api_key="<YOUR_FREE_API_KEY>")
resp = client.chat.completions.create(
    model="gemini-2.5-flash",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)

…or with curl:

curl https://generativelanguage.googleapis.com/v1beta/openai//chat/completions \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"gemini-2.5-flash","messages":[{"role":"user","content":"Hello!"}]}'

Appears in

Compare

Change history

How this free tier has changed since we started tracking it (2026-07-30) — generated from the git history of providers.json.

← All providers