Getting Started
Lab
Dashboard
For Developers
URL: /settings/ai-keys
Pack feature: lab_byok (on for paid packs by default; off for Free)
End users can paste their own OpenAI, Anthropic, or other Lab provider API key. When a key is enabled for that provider, Lab dials the user’s key instead of the workspace Key Vault. The user’s provider account is billed directly; Krikkit credits charged for that turn are 0.
This is agent BYOK for Lab chat — not app-runtime secrets inside a site the user builds.
| Situation | Who pays AI? | Krikkit credits |
|---|---|---|
| User key active for the model’s provider | User’s provider account | 0 (ledger still records credential_source=user) |
No user key (or pack lacks lab_byok) | Operator Key Vault / env | Base × vault markup as usual |
There is no silent fallback: if the user key fails (401 / 429 / 5xx), Lab does not switch to the workspace vault on that turn. Fix the key or billing with the provider, or remove the key under Settings → AI keys.
lab_byok on packs under Dashboard → Packs.lab_credit_turns.credential_source = user, charged_credits = 0, token snapshots retained for reporting.