🌐
Google AI
ai.google.dev › gemini api › gemini developer api pricing
Gemini Developer API pricing | Gemini API | Google AI for Developers
Tools are priced at their own rates, applied to the model using them. Check the Models page for which tools are available to each model. [*] Google AI Studio usage is free of charge in all available regions.
🌐
Reddit
reddit.com › r/chatgptcoding › a simple guide to setting up gemini 2.5 pro, free, without running into 3rd party rate limits
r/ChatGPTCoding on Reddit: A simple guide to setting up Gemini 2.5 Pro, free, without running into 3rd party rate limits
April 3, 2025 -

EDIT May 12: Google added new rate limits to AI studio this morning, 25 RPD, so this is effectively no longer working. We had a good run!
EDIT: The Open Router integration and google ai studio key method seems like the easiest way that works for everyone, especially if you already have an openrouter account. Pasting that method here for visibility:

  1. Get a Google AI Studio API key from https://aistudio.google.com/apikey

  2. Plug that API key into the Google AI Studio integration on https://openrouter.ai/settings/integrations, select enabled but not "Use as fallback"

  3. You can now use your Openrouter key anywhere and as long as you select Gemini 2.5 Pro Experimental as your model, it will use your key. (4. If you also add a GCP key and have Vertex AI enabled for the project, obtained as per the instructions below, you can add that to your integrations as well, and you will have two sources of 2.5 Pro backing your Openrouter calls.)

Hey all,
After dealing with Openrouter and Requesty giving me constant rate limits for Gemini 2.5 Pro, I got frustrated and decided to get things set up directly through Google's APIs. I have now sent over 60 million tokens in a single day without hitting any rate limits, all for $0—an equivalent usage with Claude would have cost $180. I also had a few other engineers confirm these steps. Here's how to do it and then integrate with Roo Code--but this should work for other tools like Cline, too:

Setting Up Google Cloud

  1. Create or log into your Google Cloud account.

  2. Open the Google Cloud Console.

  3. Create a new Google Cloud project (I named mine "Roo Code").

  4. Enable billing for your newly created Google Cloud project.

  5. Enable the Vertex AI API.

  6. Enable the Gemini API from the API overview page.

  7. In your project dashboard, navigate to APIs & Services → Credentials.

  8. Click "Create Credentials" → "API Key".

  9. Copy the generated API key and save it securely.

Integrating with Your IDE (Example: Roo Code)

  1. In VSCode or Cursor, navigate to the extensions marketplace (Shift + Cmd + X on Mac), search for and install "Roo Code" (or your preferred tool like Cline).

  2. Open Roo Code (Cmd + Shift + P, then type "View: Show Roo Code").

  3. Click to configure a new API provider, selecting "Google Gemini".

  4. Paste the API key you saved earlier into the API key field.

  5. Select "google/gemini-2.5-pro-exp-03-25:free" as the model.

  6. Click Save.

There you go! Happy coding. Let me know if you run into any issues.

Edit: looks like some are having issues. A few ideas/alternatives:

  1. Use a Vertex api key, but gemini api as provider in Roo Code. There is only one key, ignore this alternative.

  2. Use vertex api as the provider in Roo Code--its just a little more complicated, you'll have to create a service account in the credentials page of the project, and paste the json in Roo Code when configuring the provider

  3. If you have an OpenRouter account, you can go to the integrations page https://openrouter.ai/settings/integrations and add your vertex api key to the google vertex integration. You can also add a google ai studio api key to the Google AI Studio integration. In each setting window where you add the key, make sure it is enabled. Then, in Roo Code, you use your openrouter account, but whenever it uses Gemini 2.5 pro free, it will default to your API key, not one of theirs which is being rotated among many users.

🌐
Puter
developer.puter.com › tutorials › free-gemini-api
Free, Unlimited Gemini API
1 week ago - This tutorial will show you how to use Puter.js to access Gemini's powerful language models for free, without any API keys or usage restrictions.
🌐
Apidog
apidog.com › blog › google-gemini-api-key-for-free
How to Use Google Gemini API Key for Free in 2025
October 19, 2025 - Google Cloud Platform (GCP) has ... Gemini, GCP continues this tradition by offering a free usage tier that developers can use to explore and integrate the API without incurring costs....
🌐
Medium
medium.com › around-the-prompt › everything-you-need-to-know-about-the-gemini-api-as-a-developer-in-less-than-5-minutes-5e75343ccff9
Everything you need to know about the Gemini API as a developer in less than 5 minutes | by Logan Kilpatrick | Around the Prompt | Medium
September 22, 2024 - Once you get done testing there, ... in the top left corner). AI Studio is free and there is a generous free tier on the API as well, which includes 1,500 requests per day with Gemini 1.5 Flash....
🌐
Google AI
ai.google.dev › gemini api › using gemini api keys
Using Gemini API keys | Google AI for Developers
Gemini 3 Flash is here. Try it for free in Google AI Studio. ... We have updated our Terms of Service. To use the Gemini API, you need an API key.
🌐
Google AI
ai.google.dev › gemini api › billing
Billing | Gemini API | Google AI for Developers
Billing for the Gemini API is based on two pricing tiers: free of charge (or free) and pay-as-you-go (or paid). Pricing and rate limits differ between these tiers and also vary by model.
🌐
Reddit
reddit.com › r/localllama › since gemini top llms api is free, is privacy not respected at all?
r/LocalLLaMA on Reddit: Since Gemini top LLMs API is free, is privacy not respected at all?
December 23, 2024 -

I've been using Gemini 2.0 Flash and 2.0 Flash Thinking through third-party software AI providers like ChatLLM, which accesses these models via API. While these providers promise privacy, I'm still concerned about Google's role. If the underlying API is free, does that mean Google is extensively using our data for training and other purposes, regardless of what the third-party provider claims? What are your thoughts on this? Are there any ways to mitigate the risks, especially when using these APIs through intermediaries?

Gemini 1.5 APIs are not free. So, I would respect Google to respect user privacy for the 1.5 LLMs.

There are not paid versions of Gemini 2.0 Flash and 2.0 Flash Thinking at the moment. I can't pay even if I want to.

🌐
KDnuggets
kdnuggets.com › how-to-access-and-use-gemini-api-for-free
How to Access and Use Gemini API for Free - KDnuggets
In this tutorial, we will learn about the Gemini API and how to set it up on your machine. We will also explore various Python API functions, including text generation and image understanding. Gemini is a new AI model developed through collaboration between teams at Google, including Google Research and Google DeepMind.
Find elsewhere
🌐
Google AI
ai.google.dev
Gemini Developer API | Gemma open models | Google AI for Developers
Build with Gemini 2.0 Flash, 2.5 Pro, and Gemma using the Gemini API and Google AI Studio.
🌐
How-To Geek
howtogeek.com › home › ai & machine learning › gemini has slashed free api limits, here's what to use instead
Gemini has slashed free API limits, here's what to use instead
6 days ago - For example, I was able to use the meta-llama/llama-4-maverick-17b-128e-instruct model to replace Gemini for my doorbell description, and the results were very good. Currently, that model has a limit of up to 1,000 requests or 500,000 tokens per day for free, which is more than enough for my needs.
🌐
Apidog
apidog.com › blog › google-gemini-api
Guide: What is Google Gemini API and How to Use it?
July 26, 2025 - Currently, there is a list of available languages and regions where Gemini API can operate. Check out these links below to find out if you are eligible to use Gemini API! ... Google provides a free version of the Gemini Pro.
🌐
DEV Community
dev.to › garciadiazjaime › gemini-api-the-free-tier-that-makes-developers-happy-28nk
Gemini API: The Free Tier That Makes Developers Happy - DEV Community
October 14, 2024 - GPT rocks, but it no longer offers an API with a free tier—at least not anymore. Luckily, Google does, with Gemini API and Studio AI (Google's version of ChatGPT).
🌐
Laozhang
blog.laozhang.ai › api-guides › gemini-api-free-tier
Gemini API Free Tier 2025: Complete Guide to Rate Limits & Models – LaoZhang-AI
Google’s Gemini API free tier operates with a sophisticated rate limiting system designed to provide fair access while maintaining service quality. As of September 2025, the free tier supports three distinct model variants, each with specific performance characteristics and usage limits.
🌐
AI Free API
aifreeapi.com › en › posts › gemini-pro-free-api-guide-2025
Gemini Pro Free: Complete Guide to Google's Free AI API in 2025 - Free Gemini API Access: Rate Limits, Setup Tutorial & Model Comparison | AI Free API
4 days ago - Google offers multiple free Gemini models including Gemini 3 Flash Preview, 2.5 Flash, and 2.5 Pro. Get 15 RPM, 1,500 daily requests, and 1M token context—all without a credit card.
🌐
Google
blog.google › technology › ai › gemini-api-developers-cloud
Google Gemini API: New developer and enterprise AI products
September 27, 2024 - The first version of Gemini Pro is now accessible via the Gemini API and here’s more about it: Gemini Pro outperforms other similarly-sized models on research benchmarks. Today’s version comes with a 32K context window for text, and future ...
🌐
Spur
spurnow.com › en › blogs › is-gemini-api-free
Is Gemini API Free? (2025)
Gemini 3 Pro has no free API quota. You can try it for free inside Google AI Studio's chat UI, but its API pricing starts at $2.00 per million input tokens and $12.00 per million output tokens in preview.(Google AI for Developers)
🌐
Zapier
zapier.com › productivity › app tips
How to get a Google Gemini API key—and use the Gemini API
July 8, 2024 - Offering far more input and output controls, you can work your way to the perfect prompt for the task at hand. The Gemini API has two pricing tiers. The free one isn't private, meaning the data you pass to Google may be used to train future models.
🌐
RankYa
rankya.com › google-ai › is-gemini-api-free
Is Gemini API Free?
October 15, 2025 - Google provides free tier with rate-limits for using Gemini API with limited usage or access to a subset of Gemini’s functionalities. This is designed for developers wanting to try out Google AI and test their projects.
🌐
Google Gemini
gemini.google.com
Google Gemini
Meet Gemini, Google’s AI assistant. Get help with writing, planning, brainstorming, and more. Experience the power of generative AI.