API KEY SETUP GUIDE
Abhyas uses a Bring Your Own Key (BYOK) model. Your key is stored exclusively in your browser and used only to connect directly to the provider you choose.
> Keys are never sent to any Abhyas server or logged to telemetry.
> Keys are stored in browser IndexedDB with optional AES-GCM encryption.
> Sent only to the official provider origin (Google or OpenAI) via HTTPS.
1. Google Gemini API Key
Google provides Gemini API keys through Google AI Studio. Gemini offers a generous free tier suitable for frequent practice.
Open Google AI Studio
Visit aistudio.google.com ↗ and sign in with your Google account.
Create your API key
Click "Get API key" in the navigation sidebar, then choose "Create API key in new project".
Copy your secret string
Copy the generated key (starts with AIza...). Store it safely or paste it directly into Abhyas.
Paste & test in Abhyas
Open AI Setup in Abhyas, select Gemini, paste your key, and click "Test connection".
* Free tier terms and request quotas are subject to Google's developer terms. Always check Google AI Studio for current limits.
2. OpenAI API Key
OpenAI provides API keys through the OpenAI Platform. An account with active prepaid balance or promotional credits is required.
Open OpenAI Platform
Visit platform.openai.com ↗ and log in to your developer account.
Generate a secret key
Navigate to API Keys in your dashboard settings and click "Create new secret key". Label it "Abhyas Practice".
Copy your key
Copy the generated key (starts with sk-...). Note: OpenAI displays this key string only once upon generation.
Paste & test in Abhyas
Open AI Setup in Abhyas, select OpenAI, paste your key, and click "Test connection".
* OpenAI charges on a pay-as-you-go token basis. Practice sessions typically consume between 1,000 and 4,000 tokens ($0.001 - $0.01 per session).