Google Gemini API Key & Model Setup
100% Free Start • Required for BYOKStep-by-step guide to creating your Google Gemini API Key without a credit card, selecting the right model, and fixing 404 or rate-limit errors.
Sign in to Google AI Studio
Open https://aistudio.google.com/app/apikey in your browser and sign in with your normal Google (Gmail) account.
Click "Create API key" (or "Get API key")
Click the blue "Create API key" button at the top-right or left navigation sidebar.
Select "Create API key in new project"
Choose "Create API key in new project" inside the popup modal.
- Google automatically provisions a free Google Cloud project for your key.
- No credit card or billing details are required to start testing.
Copy Your Generated API Key
Wait 2–3 seconds until your key (starting with AIzaSy...) appears, then click Copy.
AIzaSyBxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxPaste, Save & Test Inside Taqfu Dashboard
Go to Dashboard > Channels & AI > Google Gemini API Key, paste the key, click Save & Encrypt, then click "Test API Connection".
- Taqfu encrypts your key with AES-256-GCM Zero-Exposure protection; once saved, the raw key is never sent back to the browser.
- Choose active model: Google Gemini 3.1 Flash-Lite ($0.25/$1.50 per 1M — lowest active cost) or Google Gemini 3.5 Flash-Lite ($0.30/$2.50 — strongest reasoning).
Optional: Enable Tier-1 Billing & Backup Keys for High Traffic
If your store runs Meta/Facebook ads and sends hundreds of replies per hour, link Pay-As-You-Go billing in Google AI Studio or request Backup Key slots from Super Admin.
- Note on Google Gemini 2.5 Flash-Lite: Google has retired 2.5 Flash-Lite for new projects (returning 404 NotFound). Always keep 3.1 Flash-Lite or 3.5 Flash-Lite selected.
- Taqfu automatically uses Context Caching + Failover retry if Google returns temporary 503 busy errors.
• Never share your AIzaSy... Gemini API Key publicly or paste it into client-side scripts.
• Stores using Taqfu Managed AI do not need a personal Gemini Key — usage is metered transparently in USD/BDT.
Frequently Asked Questions (FAQ)
Why does Gemini 2.5 Flash-Lite show $0.00 spend and 404 NotFound in Google AI Studio?
Google disabled generateContent calls for Gemini 2.5 Flash-Lite on new Google Cloud projects while keeping the name listed for legacy billing history. Switch to Google Gemini 3.1 Flash-Lite or 3.5 Flash-Lite in Taqfu Settings.