-
Notifications
You must be signed in to change notification settings - Fork 0
Setup Your AI Provider
Plexi's Chat feature needs an AI provider to answer your questions.
An API key is like a private password that lets Plexi use an AI model from your account. You only need to set it up once on a device.
You need an API key if you want to use Plexi AI capabilities
Start with Gemini (Google) because it is simple to set up and usually has a free tier.
You can also use OpenRouter, Groq, Mistral, Anthropic, or OpenAI if you already have an account with them.
| Provider in Plexi | Good for | Key page |
|---|---|---|
| Gemini (Google) | Most students, free starting option | https://aistudio.google.com/app/apikey |
| OpenRouter (Free) | Trying free community models | https://openrouter.ai/keys |
| Groq | Fast responses, free tier availability may vary | https://console.groq.com/keys |
| Mistral | Paid or limited account use | https://console.mistral.ai/api-keys/ |
| Anthropic | Claude models | https://console.anthropic.com/settings/keys |
| OpenAI | GPT models | https://platform.openai.com/api-keys |
Provider limits and prices can change, so check the provider's own website before adding billing details.
- Open https://aistudio.google.com/app/apikey
- Sign in with your Google account.
- Click Create API key or Get API key.
- Copy the key.
- Open https://console.groq.com/keys
- Sign in with your Google account.
- Click Create API key or Get API key.
- Add a Expiration Time.
- Copy the key.
- Open https://openrouter.ai/workspaces/default/keys
- Sign in with your Google account.
- Click Create API key or Get API key.
- Add a Expiration Time.
- Copy the key.
- Open https://console.mistral.ai/home
- Sign in with your Google account.
- From left sidebar select API Keys.
- Click Add a new key.
- Add a Expiration Time.
- Copy the key.
- Open https://platform.openai.com/api-keys
- Sign in with your Google account.
- Click Create new secret key.
- set permission to All.
- Copy the key.
- Open https://platform.claude.com/settings/keys
- Sign in with your Google account.
- Click Create key.
- Copy the key.
Note: Keep it private. Do not post it in GitHub Issues, WhatsApp groups, screenshots, or public chats.
- Open Plexi: https://plexi.cosmeta.tech
- Click the Settings icon.
- Select your provider (e.g.: Google, OpenAI, etc).
- Select a model(Use the default model unless you already know which one you want).
- Paste your API key.
- Keep Remember on this device enabled if this is your own laptop or phone.
- Click Save Settings.
If enabled, Plexi saves your provider, model, and API key in your browser's local storage.
This means:
- You do not need to paste the key every time.
- The key stays on that browser and device.
- If you clear browser data, use another browser, or switch devices, you may need to add it again.
If you are on a shared college lab computer, turn this option off or clear settings after use.
| Error | What it usually means | What to try |
|---|---|---|
| Invalid API key | The key is wrong, incomplete, expired, or for a different provider. | Copy the full key again and confirm the selected provider. |
| Rate limit exceeded | Too many requests were sent in a short time. | Wait a minute and try again. |
| Quota exceeded | Your provider's free or paid limit is over. | Wait for reset, switch provider, or check your provider account. |
| Payload too large | The selected model cannot handle the amount of material context. | Ask a more specific question or use a larger-context model. |
| Failed to reach provider | The AI provider may be down or blocked by network settings. | Try again later or switch provider. |
- Never share your API key publicly.
- Do not upload screenshots that show your key.
- Do not paste your key into GitHub Issues when asking for help.
- If you accidentally shared a key, delete it from the provider dashboard and create a new one.
Next: Using the AI Assistant