Google Gemini
Google Gemini
Gemini is a Large Language Model (LLM) developed by Google.
Free Tier:
The Gemini API "free tier" is offered through the API service with lower rate limits for testing purposes.
See the official Google Gemini Pricing page for more details on the free tier.
Some Models Have No Free Tier!
As of writting this, the following models do NOT HAVE a free tier:
- Gemini 2.5 Pro
Trying to use an API Key that only relies on the free tier will result in an error when trying to use these models.
Gemini LLM Models We Support:
CodeCleaner AI supports the following Gemini models:
Model Name | Status | Description | Free Tier | Input Cost | Output Cost |
---|---|---|---|---|---|
Gemini 2.5 Pro | Latest | Enhanced thinking and reasoning, multimodal understanding, advanced coding, and more | No | 1.25 USD/M Tokens less than 200K token prompt and 2.50 USD/M Tokens over 200K token prompt | 10.00 USD/M Tokens less than 200K token prompt and 15.00 USD/M Tokens over 200K token prompt |
Gemini 2.5 Flash | Latest | Adaptive thinking, cost efficiency | YES | 0.30 USD/M Tokens | 2.50 USD/M Tokens |
Gemini 2.5 Flash-Lite | Latest | A Gemini 2.5 Flash model optimized for cost efficiency and low latency. | YES | 0.10 USD/M Tokens | 0.40 USD/M Tokens |
Gemini 2.0 Flash | Legacy | replaced by Gemini 2.5 Flash | Yes | 0.10 USD/M Tokens | 0.40 USD/M Tokens |
Recommended Model
Gemin 2.5 Pro is our model of choice when we use CodeCleaner AI for our own development.
Input and output costs are:
- In USD
- Per million tokens.
- As of 2025-06-20 (June 20, 2025).
- Check the latest Token Pricing on the Google Gemini Pricing page.
Interested in more models?
Let us know on Discord #feature-requests
channel.
Get Your API Key:
- Navigate to Google AI Studio
- Login with your Google Account.
- Click on Create API Key.
- Read the terms and conditions and accept if you're OK with these.
- Click on Create API Key.
- Copy the API and save it in a secure place. We use KeepPass as our password manager. Feel free to use any password manager you like.