Configuration
Models and API keys
Which model reviews your pull requests, and how the API keys of an organization are kept
Providers
| Provider | Where to get a key |
|---|---|
| Anthropic | platform.claude.com/settings/keys |
| OpenAI | platform.openai.com/api-keys |
| Google Gemini | aistudio.google.com/apikey |
| OpenRouter | openrouter.ai/keys |
The list of models for each provider is in the Add API key window. You pay the provider for what the reviews use; diffy adds nothing to that.
Keys in an organization
- Open Organization settings, then Models. The table lists the keys of the organization you are looking at.
- Each key has a name, so you know what it is for, and its own model. Change the model from the row.
- One key is in use: the one reviews call. Choose Use on another row to switch.
- The first key you add is put in use at once.
- Test connection, in the menu on a row, makes a small call to check that the key and the model work.
- Deleting the key in use stops reviews until you pick another one.
Who can change keys
Admins and owners add, change and delete keys. A member can see which key is in use but not change it. Keys belong to one organization and are not shared between organizations. See Team and roles.