Skip to main content

Why use your own API key?

By default, you use the global AI token pool. Your own API key allows:
  • No limits - use as much as you want (within your budget)
  • Model choice - access to latest models
  • Cost control - pay directly to provider

Supported providers

ProviderModels
OpenAIGPT-4o, GPT-4o-mini, GPT-4-turbo
AnthropicClaude 3.5 Sonnet, Claude 3 Opus
GoogleGemini 1.5 Pro, Gemini 1.5 Flash
OpenRouterAccess to many models
xAIGrok
MistralMistral Large, Mistral Medium

How to add your key

1

Get API key

Register with a provider (e.g., OpenAI) and generate an API key.
2

Open settings

Go to SettingsAI.
3

Select provider

Click on the provider whose key you want to add.
4

Paste key

Paste the API key into the text field.
5

Save

Click “Save”. Key will be encrypted.

Where to get keys

ProviderLinkApproximate price
OpenAIplatform.openai.com~$0.01/1K tokens
Anthropicconsole.anthropic.com~$0.01/1K tokens
Googleai.google.devFree tier available
OpenRouteropenrouter.aiDepends on model

Budget settings

You can set a monthly spending limit:
  1. Go to SettingsAIBudget
  2. Enter maximum amount (in USD)
  3. System will stop generating after exceeding
Limit only works in Hey Quiz. Provider may charge more if you use the key elsewhere.

Key security

Your keys are secure:
  • Encrypted in database
  • Never displayed in full form
  • Accessible only to you

Recommendations

  • Use a dedicated key only for Hey Quiz
  • Set spending limits with provider
  • Regularly check usage
  • Don’t share keys with anyone

Model selection

After adding a key, you can choose preferred model:

For OpenAI

  • GPT-4o - newest, best
  • GPT-4o-mini - faster, cheaper
  • GPT-4-turbo - good balance

For Anthropic

  • Claude 3.5 Sonnet - very good for text
  • Claude 3 Opus - best, but more expensive

Removing a key

To remove a key:
  1. SettingsAI
  2. Click “Remove key” next to provider
  3. Confirm deletion
After removal, you’ll return to the global pool (with limits).

Next steps