LLM Evals settings
Configure API keys for LLM providers used across all evaluation projects.
LLM Evals settings
This is where you manage API keys for the LLM providers your organization uses. Keys are shared across all projects. Experiments and Arena battles against a cloud provider need that provider's key. You can add it here or enter it in the New experiment wizard, where it is saved for later runs. Models on Ollama or another local endpoint need no key.
Supported providers
You can add API keys for these providers:
- OpenRouter: Routes to multiple providers through one key
- OpenAI: GPT models
- Anthropic: Claude model family
- Gemini: Google's Gemini models
- xAI: Grok models
- Mistral: Mistral models
To run models on your own machine, add an Ollama or local endpoint under Local providers instead. Local providers are only available on self-hosted deployments.
Adding an API key
- In the sidebar, open Enforce > LLM Evals and click Settings.
- Click Add API key.
- Select a provider from the list.
- Paste your API key. The format is validated automatically (e.g., OpenAI keys must start with
sk-). - Click Add API key to save.
Keys are encrypted before storage. The settings page only shows a masked version with the first and last four characters (e.g., sk-p...c123).
Managing keys
LLM Evals uses the newest key saved for each provider. To replace a key, click the edit icon next to the provider and enter the new key; the previous key stays in AI Gateway settings until an Admin removes it there. To remove a key, click the delete icon and confirm.
Arena
The Arena section turns LLM Arena on or off for the whole organization. It is off by default. Organizations that already have Arena comparisons start with it on. Once an Admin saves the setting, the saved value applies.
Admins can change it, as can custom roles with the Update organization settings permission. Other users see the current value but can't change it.
Who can manage keys
Only Admins, and custom roles with the LLM keys permission, can add, edit or delete keys on this page. Editors can also save a key by entering it in the New experiment wizard. Other users see which providers are configured and a masked key, never the key itself.