Free LLM API Tokens

Where can I use Gemini for free via API?

5 providers in our tracker name a Gemini model. A provider appears here only when that name is already in our data — we do not guess the rest of a catalogue. Figures change often; confirm on the official page before you rely on them.

Last updated 13 Nov 2026. Tracker snapshot: 13 Nov 2026, 13:36 UTC.

Providers that name Gemini

The table lists the published free limit and OpenAI compatibility from our data. The base URL, rate limits and the clause that names this family are under each provider.

Providers in our list that name Gemini. Figures are copied from each provider’s own pages. “Not published” means no official number was found.
ProviderFree limitOpenAI compatible
Gemini API (Google AI Studio) · Official page
Base URL and extra details
Base URL
https://generativelanguage.googleapis.com/v1beta/openai/
Named in our data as
Gemini API
Tokens/day
Not published
Limits
Per-model RPM/RPD on Google's rate-limit page
Card needed
No
Status
Active
Last verified
3 Oct 2026
Free tier on selected Gemini modelsYes
Google Cloud Vertex AI express mode · Official page
Base URL and extra details
Base URL
Not published
Named in our data as
90-day free use of Gemini models
Tokens/day
Not published
Limits
Not published
Card needed
No
Status
Active
Last verified
3 Oct 2026
90-day free use of Gemini modelsNo
APInex · Official page
Base URL and extra details
Base URL
https://api.apinex.bond/v1
Named in our data as
Free models: free/gpt-6-luna, free/deepseek-v4.1-flash, free/gemini-3.8-flash
Tokens/day
3,000,000
Limits
5 requests/min per IP (free)
Card needed
No
Status
Active
Last verified
23 Oct 2026
3M tokens/day on free-category modelsYes
Lightning AI Model APIs · Official page
Base URL and extra details
Base URL
https://lightning.ai/api/v1
Named in our data as
One key across GPT, Claude, Gemini, DeepSeek, GLM and more
Tokens/day
Not published
Limits
Free: 15 RPM, 120K tokens/min
Card needed
No
Status
Active
Last verified
5 Nov 2026
5 free credits on signup (25 more if you add a card); docs say up to 40M free tokens to start; credits expire after 12 monthsYes
Boundless API · Official page
Base URL and extra details
Base URL
https://api.boundlessapi.com/v1
Named in our data as
Unified router for Claude/GPT/Gemini and curated models
Tokens/day
Not published
Limits
Starter pool rate limits; tokens/day unspecified
Card needed
No
Status
Active
Last verified
6 Nov 2026
$5 signup bonus (Starter model pool); may expire after 30 days if unusedYes

Example request

This example uses the published base URL for Gemini API (Google AI Studio). Replace MODEL_ID with the model id from that provider’s official docs. We do not guess the id.

import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ["API_KEY"],
    base_url="https://generativelanguage.googleapis.com/v1beta/openai/",
)

resp = client.chat.completions.create(
    model="MODEL_ID",  # copy the model id from the provider's docs
    messages=[{"role": "user", "content": "Hello"}],
)
print(resp.choices[0].message.content)

Common questions

Where can I use Gemini for free via API?

5 providers in our 13 Nov 2026, 13:36 UTC snapshot name a Gemini model: Gemini API (Google AI Studio), Google Cloud Vertex AI express mode, APInex, Lightning AI Model APIs, Boundless API. We only list a provider here when that name already appears in our data. Catalogues change, so confirm on the official page before you rely on an entry.

Which of these Gemini providers are OpenAI compatible?

4 of the 5 active entries are marked OpenAI compatible in our data: Gemini API (Google AI Studio), APInex, Lightning AI Model APIs, Boundless API. The others are marked no, partial, or Not published — see the table on this page.

Do I need a credit card?

5 active entries in this list say no card is required: Gemini API (Google AI Studio), Google Cloud Vertex AI express mode, APInex, Lightning AI Model APIs, Boundless API. Others may ask for a card, a top-up, or do not publish this. Confirm on the sign-up page.

Why do some fields say Not published?

The provider has not published that figure on their public pages, or we could not find it. We never invent quotas, prices or endpoints.

Is this every site that hosts Gemini?

No. This page only includes providers that already name Gemini in our data file. A gateway may offer the model without that name appearing in our notes, allowance or limits, and we do not guess those catalogues.