How do you get a Gemini API key?
Per Google's API key guide, you manage projects and keys in Google AI Studio.
- New users: after you accept the Terms of Service, AI Studio creates a default Google Cloud project and an API key for you.
- Existing Google Cloud users: AI Studio does not create a project for you; you import your existing projects from the Dashboard (Projects, then Import projects), then create a key on the API Keys page.
- Imported projects: Google says they may need project verification before they can use the free tier, or you can set up billing to use the paid tier.
What is the difference between standard and authorization keys?
Google is moving the Gemini API from standard keys to authorization keys.
| Key type | What Google says | Status |
|---|---|---|
| Standard API key | Associates requests with a Google Cloud project for billing and quota; does not identify a caller | Unrestricted standard keys are rejected; keys with explicit restrictions continue to work |
| Authorization (auth) key | Bound to a Google Cloud service account, with granular access control, restricted to the Gemini API by default and fast leaked-key enforcement | The default for new keys made in AI Studio from May 28, 2026 |
As reviewed on November 19, 2026. Google adds that requests made with authorization keys are not recorded in Google Cloud service account usage metrics.
What are the usage tiers and spend caps?
Per Google's rate limits page, your project's tier sets its rate limits and billing cap.
Keep keys out of shared files and set a low cap while testing. For help with that, see our AI implementation page.
| Tier | Qualification | Billing tier cap | Spend rate limit per 10 minutes |
|---|---|---|---|
| Free | Active project or free trial; some projects need verification | Not applicable | Not applicable |
| Tier 1 | Set up and link an active billing account | $250 | $10 |
| Tier 2 | Paid $100 and 3 days from first successful payment | $2,000 | $200 |
| Tier 3 | Paid $1,000 and 30 days from first successful payment | $20,000 to $100,000 or more | $200 |
As reviewed on November 19, 2026. Google says tier upgrades from Free to Tier 1 usually take effect instantly and later upgrades within 10 minutes, and that a spend-rate limit returns a 429 RESOURCE_EXHAUSTED error.
Frequently asked questions
How do I get a Gemini API key?
Go to Google AI Studio, accept the Terms of Service and create or view a key. New users get a default Google Cloud project and key; existing Google Cloud users import a project first, per Google's API key guide.
Is the Gemini API key free?
Google lists a Free tier for the API. Some models are free of charge on it, and others, including Gemini 4 Carbon, Argon and Neon, need the Paid tier.
Why was my Gemini API key rejected?
Google says the Gemini API rejects requests from unrestricted standard keys. Add restrictions or create an authorization key.
How do I cap my Gemini API spend?
Google assigns a billing tier cap of $250 on Tier 1 and $2,000 on Tier 2, and a spend rate limit per 10 minutes. Check your tier on the Projects page in AI Studio.
Can you set the API up safely for us?
Yes. We help set keys, restrictions and spend limits. Book a call to start.
Need help with Gemini?
We help small and mid-size teams choose, set up and run AI tools. See our Gemini guides and services, and the AI implementation, and the Claude pricing guides.




