> ## Documentation Index
> Fetch the complete documentation index at: https://docs.codeobsess.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Company AI keys

> Run tickets on your company's own Anthropic, OpenAI or Gemini key.

Your company can run tickets on its own AI key. The key's provider bills your company directly. CodeObsess never pays for your AI and adds no markup.

## Add a key

Owners and admins add keys in **Settings › AI › Company AI keys**.

1. Press **Add a key**.
2. Choose the **Provider**: Anthropic, OpenAI or Gemini.
3. Give it a **Name** if you like, for example "Main key".
4. Paste the **API key** from the provider's console.
5. Optionally choose **Models** for each stage: Plan, Implement, Review and Small tasks. Leave a stage empty to use CodeObsess's default.
6. Press **Check and save**. CodeObsess checks the key with its provider before saving it.

The key is stored sealed and never shown again. The page shows only its last characters and when it was checked.

> [!TIP]
>
> Keep review on a strong model; it catches a cheaper implementer's mistakes.

## Several keys

* A company can have up to 5 keys. Runs use only the **Default** key. There is no automatic fallback to another key.
* **Make default** switches which key runs use.
* **Remove** stops runs using a key. It does not revoke the key at the provider; revoke it there too.
* A model CodeObsess has not tested is marked **Not yet tested by CodeObsess; results may vary**.

Members can see the keys; owners and admins change them.

## When a key fails

If the provider refuses the key, the account is out of credit, or the key may not use the model, the run fails with a plain sentence and your owners and admins get an email, at most once a day. If the provider is busy, CodeObsess tries again later, a few times.

## Company keys not on yet

If you saved a key and a run says **Company keys not on yet**, CodeObsess is enabling company keys for your company. Once it's done, ask CodeObsess again.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.