Overview
By default, all AI generation is billed through the platform’s model pool at a per-generation rate. With BYOK, you supply your own API key for a supported LLM provider. Generation costs are then charged directly to your provider account - platform fees still apply for compute, storage, and tooling. BYOK is available on Pro and Enterprise plans.Supported providers
The
model_preference field lets you specify which of your provider’s models to use. Consult your provider’s documentation for available model identifiers.
Set your key
Check key status
Revoke your key
Security notes
- Keys are stored encrypted; only the last 4 characters are ever displayed.
- Rotating your provider key: call
PUT /v1/byokwith the new key - the old one is overwritten atomically. - The scope
byok:writeis required on the API key used to set or revoke a BYOK entry.