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
- Open Settings → LLM Keys.
- Under API keys, find OpenAI or Anthropic.
- 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 family | Runs on | Key used |
|---|---|---|
| GPT models | Codex | OpenAI key |
| Claude models | Claude Agent SDK | Anthropic 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:
- Your linked ChatGPT plan, for GPT models in your own chats and tasks. See Connect a ChatGPT plan.
- 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
| Usage | Charged in credits? |
|---|---|
| Model tokens on your own API key | No — your provider bills you directly. |
| Compute (the cloud machine a task runs on) | Yes, always. See Credits & billing. |