Docs
Models & keys

Bring your own API keys

Admins can save an OpenAI or Anthropic API key for the organisation. Chats and tasks then call models on your own provider account, and model usage is billed by the provider, not in CodeBeast credits.

Add a key Admin only

  1. Open Settings → LLM Keys.
  2. Under API keys, find OpenAI or Anthropic.
  3. Paste the key and save. The badge changes to Your key · … with the last few characters as a hint.

To change a key, paste a new one in Replace key and save. Remove deletes it.

Note

Keys are encrypted at rest and never shown again after you save them. Members don't see the API keys section at all.

Which models use which key

The model each agent uses is set in your harness:

Model familyRuns onKey used
GPT modelsCodexOpenAI key
Claude modelsClaude Agent SDKAnthropic key

If your harness mixes GPT and Claude models, add both keys.

How CodeBeast picks a credential

For each run, CodeBeast uses the first available option:

  1. Your linked ChatGPT plan, for GPT models in your own chats and tasks. See Connect a ChatGPT plan.
  2. The org's API key for that provider.

Each member can see which one applies to them under Effective for you on Settings → LLM Keys.

Billing

UsageCharged in credits?
Model tokens on your own API keyNo — your provider bills you directly.
Compute (the cloud machine a task runs on)Yes, always. See Credits & billing.