Bring your own key (BYOK)
Use your own model provider and API key for reviews: who can set it, the supported providers, what still uses the platform model, and how the key is stored.
By default, reviews use the models that codingassist provides (Platform AI). With BYOK, reviews call your own model provider with your API key, and the provider bills you directly.
Who can use it
- Plan: Business or Enterprise. See Billing.
- Role: the Owner of the organization. The AI Provider (BYOK) page is shown only to the Owner.
Supported providers
Anthropic (Claude), OpenAI, Azure OpenAI, Google (Gemini), Groq, DeepSeek, OpenRouter, Ollama, and any other provider with an OpenAI-compatible endpoint.
Add your key
Open the page
In the web app, go to Organization > AI Provider (BYOK) and click Add Key.
Fill in the provider
In Add API Key, choose the Provider, check the Endpoint, enter the Model (the deployment name for Azure OpenAI) and paste the API key. Click Save.
Test it
Click Test to check that codingassist can call the model with your key.
You can disable the key or remove it from the same page. Reviews then go back to Platform AI.
What uses your key
One provider and one model are used for every model call of a review: the AI review, the verification of contested findings and the fixes. See Which steps call a model.
Two things still use Platform AI:
- replies to
@codingassistcomments - embeddings for the similar-code index
If codingassist cannot build a client from your configuration, the review falls back to Platform AI.
How the key is stored
The key is encrypted with AES-256-GCM before it is stored, and it is never returned to the web app. The encryption key is held in Azure Key Vault and is shared by all organizations; it is not a per-organization key.