Connect a key
- Open Routing and go to the Providers tab.
-
Add a key and pick the provider: Anthropic, OpenAI or Google. A provider can have more than one key.

- Paste the key. It is checked with the provider, encrypted, and never shown again. The page shows its last four characters.
- Add an optional label so your team knows which key it is.
- Choose the models the key serves. For models that support it, choose how much each one reasons.
Use a provider model
There are two ways to reach a model on your key. Let Routing decide. Tools keep sendingSensei as the model, and a rule sends the calls you choose to the provider model.
Or name the model in the call. Set the model to <provider>/<model>, for example openai/gpt-5. The call is served by that model and no rule is consulted.
Billing
The provider bills the tokens of calls served on your key. Sensei charges by the request: the first 1,000 requests a month that models on your keys answer are free, and after that they cost $1 per 1,000, drawn from your credits.- A request is one call to a model. A turn usually makes several.
- The 1,000 are for the account, not for each person or key, and the count starts again on the first of each month (UTC).
- A request that failed or was refused is not counted.
- With the free requests used and no credits left, requests on your keys are refused with
own_key_free_requests_useduntil you add credits or the month ends.
Data
The content of calls served on your own provider keys is never kept for your model and never used to improve Sensei. A turn a provider’s model served does get an outcome and a summary in your account, and your later sessions read that summary as a Learning, whichever model serves them. See Learnings on routed calls. Calls go from Sensei to the provider directly. What Sensei holds to serve a provider’s calls is listed with each provider on the Providers tab.When a provider fails
A call routed by a rule moves to the next model in the rule’s chain when a provider key is missing or rejected, and ends on Sensei. A call that names a provider model directly has no chain, so it returns the provider’s error. See thebyok_ codes in the error reference.