subTranslator

3 min read

How to get a free Gemini API key

Steps to get a Gemini API key from Google AI Studio without a credit card, how the free quota works, and keeping the key safe.

The Gemini API lets apps and websites use Google's AI models. Its free tier is more than enough for personal work such as translating subtitles, and it needs no credit card. Getting a key takes a few minutes.

Step by step

  • Go to aistudio.google.com/apikey and sign in with your Google account.
  • Accept the terms of use on your first visit.
  • Press "Create API key". If you are asked for a project, you can let it create a new one.
  • Copy the key. New keys usually start with "AQ.", older ones with "AIza"; both work.
  • Paste the key into the field of the site or app you will use it with.

A newly created key can take a few minutes to work with every model. If the first try says something like "permission denied" or "the API is not enabled for this project", wait a few minutes and try again.

How the free quota works

On the free tier every model has a daily request limit and a per-minute rate limit. Limits are counted per model: when one model's quota is used up, another one can still be used. Daily limits reset at the same time every day.

One thing to keep in mind: requests that fail because a model is overloaded can still count toward the quota. A good app therefore moves on to the next model instead of hammering a busy one.

Keep your key safe

  • Do not share your key in public places such as a GitHub repository or a forum post.
  • If you think your key has leaked, delete it in AI Studio and create a new one; the old key stops working at once.
  • Only enter your key on sites that explain clearly how they store it. subTranslator keeps it in your browser in an encrypted cookie that page code cannot read, and does not store it on the server.

Why the free tier is enough

An average TV episode has 700–900 subtitle lines and can be translated in a handful of requests. That means the free daily quota covers several episodes comfortably. If you need more, you can carry on the next day where you left off.

More guides

← Back to the home page