What's free
Gemini 2.5 Flash, 2.5 Flash-Lite, 2.5 Pro (limited), embeddings, TTS models
Rate limits
Varies by model: 5-30 RPM and 15-1,000 RPD (e.g. 2.5 Pro: 5 RPM/100 RPD; 2.5 Flash: 10/250; 2.5 Flash-Lite: 15/1,000; embeddings: 100 RPD; TTS: 15 RPD)
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
Free models · sample
gemini-2.5-flashgemini-2.5-flash-litegemini-2.5-proA 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
Change history
How this free tier has changed since we started tracking it (2026-07-30) — generated from the git history of providers.json.
- 2026-08-02 Updated rate limits, the catch
- 2026-07-30 Added to the hub