🤖 AI · Updated October 19, 2026 · 8 min read

How to Get a Free AI API Key (Groq or Google Gemini)

Shared limit Your own key 🔑

A free AI API key lets tools call a large language model on your own account instead of a shared one. Two providers offer keys with a free tier that works well for everyday writing, summarising and translating: Groq and Google Gemini through Google AI Studio. Getting either key takes a few minutes and, at the time of writing, no credit card. This guide shows how to get a free AI API key from each, what the free tiers allow, what to know about how your prompts are handled, and how to add the key to GrabCast's AI tools so requests go from your browser straight to the provider.

✍️ Try the AI Writer now — freeOpen →
AI engine settings with Your key first selected: your own free key is used first, then on-device AI, then GrabCast's free server AI
In ⚡ AI engine, choose Your key first so every AI tool uses your own quota before anything else.
💡 Why use your own free AI key

Free AI features on websites share one pool of capacity across every visitor, so they come with daily limits. With your own key, the requests count against your personal free quota instead, which is usually far larger for one person. A key also lets you choose the provider whose terms you prefer, and some tools send key requests directly from your browser, so the tool's own server never sees the text. The trade-off is responsibility: the key is tied to your account, so treat it like a password, and read the provider's terms, especially about whether free-tier prompts may be used to improve their models.

Get a free Groq API key

Groq runs open models very fast and has a free plan with rate limits per model.

Your current limits are listed in the console under Settings, Limits, per model, as requests and tokens per minute and per day. At the time of writing the free plan needs no card, and the limits are generous for one person's writing tasks.

Get a free Google Gemini API key in Google AI Studio

Gemini keys come from Google AI Studio.

Two things to know before you use it. First, on the free (unpaid) tier, Google's terms allow it to use your prompts and responses to improve its products, and human reviewers may read them, so do not send confidential text with a free Gemini key. Second, the Gemini API is only offered in the countries Google lists as supported. Both points are in Google's Gemini API Additional Terms, which are worth reading once.

Paid tiers of both providers exist, but you do not need them for personal use; stay on the free tier until you actually hit its limits. If you later add billing to the same account, check that the key you use in browser tools is not the one tied to a spending limit you care about.

The same dialog with Provider switched to Google Gemini, pointing to aistudio.google.com and a key that starts with AIza
Switch the provider to Google Gemini for a key from Google AI Studio.

Keep your free AI API key safe

An API key is a password for your AI account.

Browser tools deserve one extra check: whether the key goes straight from your browser to the provider, or passes through the tool's own server first. Both can be fine, but you should know which one you are dealing with. A tool that states this plainly, and lets you remove the key again, is a better sign than one that says nothing.

In GrabCast, the key is stored in your browser. If you are signed in, it is also saved to your account encrypted so your other devices can use it, and you can remove it at any time with Remove key. More detail is in the free AI key guide.

Add the key and choose when it is used

On any GrabCast AI tool, for example the AI Writer, open the key dialog with Add your key:

With a key, AI requests go from your browser directly to Groq or Google, under your own free quota. If you would rather not use any key, the AI can also run entirely on your device; see the AI guides for the on-device options.

The key is used for the AI text features: writing and rewriting, summaries, translations, chat with a document and similar tools. Speech-to-text runs its own Whisper model in the browser and does not use the key. If a request fails with a limit message, the provider's quota for that model has run out for now; switching the order in ⚡ AI engine lets on-device AI or GrabCast's free server AI take over.

Step-by-step

1234
1Open console.groq.com/keys or aistudio.google.com/apikey and sign in.
Option 1: Groq steps on the free AI key guide: open console.groq.com/keys, sign in, Create API Key, copy the key that starts with gsk_ and add it here
The guide lists the exact clicks for a free Groq key; Groq shows the key only once.
2Create a new API key, name it, and copy it right away.
3In a GrabCast AI tool, press Add your key, choose the provider, paste the key and press Save, then Test.
Use your own AI key dialog with Provider set to Groq, a Get a free key button, four numbered steps and an empty Paste your API key here field
Add your key opens this dialog: pick the provider, get the key, paste it and press Save.
4Open ⚡ AI engine and choose Your key first if you want your key used before anything else.

Common mistakes to avoid

⚠️Sending confidential text with a free Gemini key, whose free-tier prompts may be reviewed.
⚠️Sharing a screenshot that shows the full key.
⚠️Creating a new key every time instead of deleting the leaked one.
⚠️Assuming the free tier has no limits; each model has rate limits.

Pro tips

✓Name keys after the device or tool that uses them.
✓Keep one key per provider for everyday use and delete old ones.
✓Check the provider's limits page if requests start failing.
✓Use on-device AI for private text and your key for longer or better-quality writing.
✓Remove the key from a shared computer when you are done.

Frequently asked questions

Is there a free AI API key?

Yes. Groq and Google AI Studio (Gemini) both offer API keys with a free tier. At the time of writing, neither needs a credit card for the free tier.

Which is better, Groq or Gemini?

Groq is very fast and has clear per-model limits; Gemini is Google's model family. For private text, note that Gemini's free tier allows Google to use prompts to improve its products.

Where does GrabCast store my key?

In your browser, and, if you are signed in, encrypted in your account so your other devices can use it. Remove it any time.

Does GrabCast see my prompts when I use my key?

With a key, requests go from your browser directly to Groq or Google. The Scheduler's AI Studio may build the prompt on GrabCast's server first, then send it with your key.

What happens when I hit the free limit?

The provider refuses requests until the limit resets. You can switch to on-device AI or GrabCast's free server AI in ⚡ AI engine.

📌 Bottom line

A free AI API key from Groq or Google AI Studio takes a few minutes and gives you your own quota. Copy it once, keep it private, read the free-tier data terms, then add it to the tools you use and choose when it should be used.

Open the AI Writer →

Related guides

Browse more: all AI guides · the AI Writer