Free Gemini API Key — Use Gemini 2.5 Without a Credit Card

Call Gemini 2.5 Flash and Pro for free. The keys are OpenAI-compatible — copy one, set the base URL, and tap Gemini's huge context window and multimodal smarts. No Google account, no sign-up, no card.

20+ free keys in the shared pool, refreshed multiple times daily

What you get

A working API key that reaches Gemini 2.5 Flash (gemini-2.5-flash) — and Pro where available — through an OpenAI-compatible gateway. Gemini 2.5 shines with a very large context window and multimodal input, making it great for long documents, summarization, and fast general-purpose chat.

How sharing works: keys are public and pre-funded, so they may run out of budget, and a busy key can hit a rate limit. If one is unavailable, grab another from the table, or use Smart mode in the playground (it auto-routes to an available model). For uninterrupted use, run a key inside your own app on your own quota.

How to use a free Gemini API key

  1. Open the key table on GitHub and copy a key from the Gemini shelf.
  2. Set the base URL to https://aiapiv2.pekpik.com/v1.
  3. Use model gemini-2.5-flash with any OpenAI SDK or compatible tool.

cURL

curl https://aiapiv2.pekpik.com/v1/chat/completions \
  -H "Authorization: Bearer YOUR_FREE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini-2.5-flash",
    "messages": [{"role": "user", "content": "Summarize this article in 5 bullets"}]
  }'

Python (OpenAI SDK)

from openai import OpenAI

client = OpenAI(
    api_key="YOUR_FREE_KEY",
    base_url="https://aiapiv2.pekpik.com/v1",
)

resp = client.chat.completions.create(
    model="gemini-2.5-flash",
    messages=[{"role": "user", "content": "Give me 3 ideas for a weekend project"}],
)
print(resp.choices[0].message.content)

FAQ

Is the Gemini API key really free?

Yes. Keys are shared publicly with a pre-funded budget — no credit card, no sign-up. Because they're shared, a key may run out of budget; grab another from the table or come back later.

Which Gemini model can I use?

Gemini 2.5 Flash via gemini-2.5-flash, and Pro via gemini-2.5-pro where available. Keys are OpenAI-compatible — call them by changing the base URL.

Does it support long context and multimodal?

Yes. Gemini 2.5 is known for very large context windows and multimodal capabilities — great for long documents and general chat.

A key returned a rate limit — what now?

Busy shared keys can hit a rate limit. Wait a moment, grab another key from the table, or use Smart mode in the playground, which auto-routes to an available model.

Explore other free models