Save a key
- Open Settings → AI provider keys. The screen is there when your plan is on your own keys.
- Choose the provider and paste the key exactly as the provider showed it.
- Select Save. The field empties: the key is encrypted for your organisation and never shown again, to you or anyone.
What uses your key
- Answers and follow-up suggestions from every surface: the console, the widget, the API, MCP and chat apps.
- Your key is sent only to that provider’s own API. It is never shared with the Gateway, which uses the keys you give it there.
When there is no key
If your plan is on your own keys and no key is saved for the model your assistant uses, the question is refused with409 and the code model_key_missing. It is never answered on MITHUNAI’s keys instead. If the provider refuses your key, the answer is 424 with the code model_key_rejected: replace the key.
Azure OpenAI keys are not supported. See also Plan and usage and the model keys API.