Update README.md (#2729)

Co-authored-by: Allen Hutchison <adh@google.com>
This commit is contained in:
Logan Kilpatrick 2025-07-01 14:16:40 -05:00 committed by GitHub
parent fe125d59b9
commit 63ed8d6499
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 2 deletions

View File

@ -38,9 +38,9 @@ With the Gemini CLI you can:
You are now ready to use the Gemini CLI!
### For advanced use or increased limits:
### Use a Gemini API key:
If you need to use a specific model or require a higher request capacity, you can use an API key:
The Gemini API provides a free tier with [100 requets per day](https://ai.google.dev/gemini-api/docs/rate-limits#free-tier) using Gemini 2.5 Pro, control over which model you use, and access to higher rate limits (with a paid plan):
1. Generate a key from [Google AI Studio](https://aistudio.google.com/apikey).
2. Set it as an environment variable in your terminal. Replace `YOUR_API_KEY` with your generated key.
@ -49,6 +49,8 @@ If you need to use a specific model or require a higher request capacity, you ca
export GEMINI_API_KEY="YOUR_API_KEY"
```
3. (Optionally) Upgrade your Gemini API project to a paid plan on the API key page (will automatically unlock [Tier 1 rate limits](https://ai.google.dev/gemini-api/docs/rate-limits#tier-1))
For other authentication methods, including Google Workspace accounts, see the [authentication](./docs/cli/authentication.md) guide.
## Examples