Overview
Hey Quiz allows using AI in two ways:- Global pool - use platform limits
- Your own API keys - add your key and have no platform limits
Accessing settings
1
Go to profile
Click your avatar in the top right corner.
2
Select Settings
Choose “Settings” from menu.
3
Go to AI tab
Click the “AI Settings” tab.
Global pool
How it works?
- Hey Quiz provides a pool of AI queries
- Use it without configuration
- Limits apply based on plan
Limits
| Plan | Daily generations |
|---|---|
| Free | 3 |
| Basic | 10 |
| Pro | 50 |
| Enterprise | Unlimited |
Limits reset at midnight (UTC).
Your own API keys
Why use them?
No platform limits - generate as much as you want
Model choice - use the latest models
Cost control - pay only for what you use
Privacy - direct communication with provider
Supported providers
| Provider | Models | Website |
|---|---|---|
| OpenRouter | Multiple models | openrouter.ai |
| Anthropic | Claude 3, 3.5 | anthropic.com |
| OpenAI | GPT-4, GPT-4o | openai.com |
| Gemini Pro, Ultra | ai.google.dev | |
| xAI | Grok | x.ai |
| Mistral | Mistral Large | mistral.ai |
Adding an API key
1
Get API key
Register with your chosen provider and generate an API key.
2
Go to AI settings
In Hey Quiz: Settings → AI Settings.
3
Select provider
Click “Add API Key” and choose provider.
4
Paste key
Copy the API key and paste it in the field.
5
Save
Click “Save” - key will be encrypted.
Where to find API key?
OpenRouter
OpenRouter
- Go to openrouter.ai
- Log in / register
- Go to Settings → API Keys
- Click “Create Key”
- Copy the generated key
Anthropic (Claude)
Anthropic (Claude)
- Go to console.anthropic.com
- Log in / register
- Go to API Keys
- Click “Create Key”
- Copy the key (starts with “sk-ant-”)
OpenAI
OpenAI
- Go to platform.openai.com
- Log in / register
- Go to API Keys
- Click “Create new secret key”
- Copy the key (starts with “sk-”)
Google (Gemini)
Google (Gemini)
- Go to ai.google.dev
- Log in with Google account
- Go to “Get API Key”
- Create project and generate key
- Copy the key
Key security
Your keys are secure:
- Encrypted with AES-256 algorithm
- Stored in secure database
- Never displayed in full form
- Accessible only to you
Best practices
Model selection
After adding a key, you can choose your preferred model:OpenRouter
Access to many models from various providers:- Claude 3.5 Sonnet
- GPT-4o
- Gemini Pro
- Llama 3
- and many more
Anthropic
| Model | Use case |
|---|---|
| Claude 3.5 Sonnet | Fast, good quality/price ratio |
| Claude 3 Opus | Highest quality |
| Claude 3 Haiku | Cheapest, fast |
OpenAI
| Model | Use case |
|---|---|
| GPT-4o | Latest, multimodal |
| GPT-4 Turbo | Fast, good quality |
| GPT-4 | Classic, stable |
Costs
Estimated generation costs
| Model | ~10 questions | ~25 questions |
|---|---|---|
| GPT-4o | ~$0.03 | ~$0.07 |
| Claude 3.5 Sonnet | ~$0.02 | ~$0.05 |
| Gemini Pro | ~$0.01 | ~$0.03 |
Costs are estimates and depend on prompt and response length.
Monitoring usage
Check usage on provider’s website:- OpenAI: platform.openai.com/usage
- Anthropic: console.anthropic.com/usage
- Google: cloud.google.com/billing
Key management
Editing a key
- Go to AI Settings
- Find the key to edit
- Click edit icon
- Enter new key
- Save changes
Deleting a key
- Go to AI Settings
- Find the key to delete
- Click trash icon
- Confirm deletion
Troubleshooting
API key doesn't work
API key doesn't work
- Check if key is correct (copy again)
- Check if you have funds in provider account
- Check if key hasn’t expired
- Make sure you selected the right provider
Authorization error
Authorization error
Generation is slow
Generation is slow
- Provider servers may be overloaded
- Try a different model
- Check provider’s service status