Skip to main content
With BYOK, model requests go directly from the sandbox to the provider using your API key. You pay the provider at their rates; Twill tracks the spend for visibility but doesn’t bill it. Sandbox compute stays covered by your plan.
BYOK is available on the Max plan. See Pricing.

Supported providers

Configure keys in Settings → Bring Your Own Keys. Each provider takes an API key and an optional base URL (for proxies or compatible gateways):

Behavior

  • Keys are stored encrypted and injected only into your workspace’s sandboxes.
  • If a task’s model has no key configured for its provider, the task falls back to platform credits.
  • Base URLs are scoped per provider, so you can route one provider through a gateway while others go direct.