Skip to content

Bring Your Own Key (BYOK)

import { Aside } from ‘@astrojs/starlight/components’;

BYOK (Bring Your Own Key) lets you use your own API key from OpenAI, Anthropic, or Google to power Teachback sessions.

When a BYOK key is present for your current subscription tier, Teachback routes requests directly to the provider — bypassing the Teachback cloud worker and its monthly quota limits entirely.


  • No quota limits — your own API account has its own billing, so you’re not limited to the monthly session cap.
  • Latest models — your account may have access to models or preview versions before they’re available on Teachback’s standard tiers.
  • Full control — see exactly what you’re spending and on what in your provider’s dashboard.

Subscription tierBYOK providerKey to enter
Free / StandardGoogle GeminiGemini API key
ProOpenAIOpenAI API key
UltimateAnthropicAnthropic API key

You only need to enter the key for your current active tier.
Entering keys for other tiers has no effect until you upgrade.


  1. Open the app and go to Settings.
  2. Tap API Keys & Endpoints.
  3. Find the card matching your subscription tier (e.g. “Gemini” for Free/Standard).
  4. Paste your API key and tap Save.

Start a new session. If your key is valid, the session will use your key and not consume your Teachback monthly quota.


To remove a BYOK key, tap Clear next to the key field.
Teachback will fall back to the standard cloud worker quota.

To update a key, simply paste the new value and tap Save again.


ErrorLikely causeFix
401 UnauthorizedInvalid or revoked keyGenerate a new key in your provider’s console
429 Too Many RequestsYou’ve hit your provider’s rate limitWait or increase your provider’s quota
403 ForbiddenWrong key for the model (e.g. Free-tier Anthropic key without Claude API access)Check your provider account has access to the model