The KAGAMI mark КАГАМИ
kagami.bg/academy · lesson · machine-readable viewTESTED 2026-11-02
IDENTITY
module
KW I35 · Your Gemini API key: free or paid
series
KAGAMI Way / AI tools
level
Beginner
duration
~10 min
trust_label
TESTED 2026-11-02 (key flow tested end to end in Onagledeno Factory: missing key, malformed key, unknown key, real key reaching Google); facts checked against Google documentation updated 2026-10-30
language
human view: bg · english edition: /en/academy/moduli/KW_I35_Gemini_Key.html
prev
KW I34 · From a photo to a 3D building
next
KW I36 · The glass petition: why AI gets it wrong
PURPOSE

Get a personal Gemini API key in Google AI Studio, choose between free and paid tier knowingly, and keep the key safe. Every user of Onagledeno Factory (kagami.bg/deca/onagledeno) connects their own key; the factory has no shared key.

KEY CONCEPTS
COMMANDS / PATHS
CHECKLIST
NEXT MODULE

Onagledeno Factory (kagami.bg/deca/onagledeno) · module index · offer: Quick experiment €39 incl. VAT (kagami.bg/stalbata/)

SOURCES
TAGS

Gemini API · API key · Google AI Studio · free tier · paid tier · rate limits · 429 · data use · key security · Onagledeno

TESTED · 2026-11-02

Your Gemini API key: free or paid

Many AI apps — including our factory for visual lessons — run on your own Gemini API key. That way you decide how much you produce and where your data goes. Getting a key takes 5 minutes. Here is how, when the free tier is enough, when you need a paid one, and how to keep the key safe.

⏱ ~10 min Beginner KAGAMI Way · I35 key · limits · security
Google AI Studio🌐 global Gemini🌐 global model Onagledeno Factory🌐 kagami.bg

01What you will learn

02Before you start

⚠️
A key is like a password
Whoever has your key uses your limit — and, with a paid key, your money. Never put it in a chat, an email or a shared document.

03Steps

  1. Open Google AI Studio

    Go to aistudio.google.com/apikey and sign in with your Google account. This is the API Keys page.

  2. Create the key

    Click "Create API key" and copy it. The key is a long string of letters and symbols; formats vary, so don't worry if it doesn't look like someone else's example.

    If you want the key in a Google Cloud project you already have, import it first: Dashboard → Projects → Import projects.

    ⚠️
    Trap: no "Create API key" button
    Your account lacks permissions in that project. A role such as "Project Editor" is needed. Ask the project owner or use your own project.
  3. Restrict the key to Gemini

    Next to the key: Add restrictions → Restrict to Gemini API only → Restrict key. Then the key is useless for anything else, even if it leaks.

  4. Choose: free or paid

    Free vs paid · per Google, 2026-10-30
                      FREE                       PAID
    Card              no                         yes (Billing in AI Studio)
    Limit             small, per day             higher, pay per request
    Your data         may be used by Google      not used
                      to improve its products
    Good for          trials, educational        client work, personal and
                      and public texts           confidential texts,
                                                 production at scale
    ⛔
    Confidential content never goes through a free key
    On the free tier Google may use the content to improve its products. Personal data, client data, internal documents — only with a paid key, or not at all.

    Limits apply per project, not per key: requests per minute, tokens (pieces of words) per minute and requests per day. The daily limit resets at midnight Pacific time.

    Paid is enabled with Billing in AI Studio. The first paid tier usually applies immediately. Set a billing alert in Google Cloud so the bill does not surprise you.

  5. Connect the key in the factory

    1. Open kagami.bg/deca/onagledeno (the interface is in Bulgarian).
    2. At the top, click "Свържи своя ключ за Gemini" (Connect your Gemini key).
    3. Paste the key and click "Провери и свържи" (Check and connect). The factory makes one small test call.
    4. The button at the top turns green: "Твой ключ за Gemini: свързан ✓" (your key: connected).
    ✅
    Where the key lives
    Only in your browser. With each request it passes through the factory server to Google and is stored nowhere. We checked: not in logs, not in counters, not on disk.
    ⚠️
    "Your key's limit is used up"
    This is not an error. Your work is saved. Wait for the reset or move to a paid key.
  6. Keep the key safe

    • Never put it in a chat, email, document or Git.
    • On a shared computer, click "Изтрий ключа" (Delete key) when you finish.
    • If it leaks: create a new key → connect the new one → delete the old one (in Google Cloud, the Credentials page). In this order nothing stops working.

04Check

1. You need to run a client contract through Gemini. Which key?

2. The factory says "your key's limit is used up". What does it mean?

3. Your key leaked in a public chat. What is the right order?

4. Where is the key once you connect it in the factory?

05What next

06Sources

  1. Google · Using Gemini API keys — creating, restricting and protecting the key.
  2. Google · Gemini API pricing — free and paid tier, data use (updated 2026-10-30).
  3. Google · Rate limits — limits, reset, tiers.
  4. Google · Gemini API Additional Terms of Service — the terms.