Skip to content
Concepts

Model keys

Use your organisation's provider keys and choose a model for each Cloud role.

In Settings, Model keys lets an organisation owner add OpenAI, Anthropic and OpenCode Go keys, plus one OpenAI-compatible endpoint with its own API key. Owners manage keys and model selections; members can view the configuration but cannot change it.

Use your own provider agreement

As soon as your organisation has a saved key, all its model work uses its own keys under its own provider agreement. Provider usage is charged to your provider account. Platform model access is no longer used, even for a role without a usable model. There is no fallback to a platform key or a different model.

Cloud is Free during beta. This does not cover usage on your own provider account. Removing the last saved key returns the organisation to platform model access.

Add a key and select models

  1. Enter the provider's API key in Settings and choose Validate. The key is validated with its provider before it is saved. For OpenAI-compatible access, enter the provider's public HTTPS API base URL as well. For OpenCode Go, paste an API key from an OpenCode Console workspace subscribed to Go. No URL, CLI setup or subscription login is needed in AgentFeedback.
  2. Select a provider and model for each role: Investigator, Judge 1, Judge 2 and Session grading.
  3. Choose Save models.

You can mix providers across roles and choose from the models returned by your valid saved keys. There is no separate supported-model list; choosing an appropriate model and its quality is your organisation's responsibility.

For OpenAI-compatible and OpenCode Go models, saving a role also checks whether the model supports the requests that role needs. Replacing either key or changing the compatible endpoint clears its assignments; save them again to validate them against the replacement.

Use only an endpoint you trust to handle its API key and the data submitted for the selected roles. The provider's own data handling and retention terms apply. For Go, see usage limits and Extra Usage and model-specific privacy and retention. AgentFeedback records tokens, not a dollar amount, for Go requests.

Model lists are reused during your browser session until a saved key changes. Choose Load models again to refresh the list from the providers.

Saved keys are encrypted at rest. The full key is never returned or shown; only metadata, such as the provider, last four characters, status and compatible base URL, is shown alongside the selected models. Owners can Replace a key or choose Remove and confirm with Remove key.

When a role is paused

A role cannot run on your own keys without a usable selection. Settings shows the affected role and its reason:

  • Key failed: the selected provider key failed authentication. An owner must replace it with a valid key.
  • No model: the role has no usable model assignment. An owner must select an available provider and model and save the selections.
  • Runner unavailable: the runner needed for the selected model is not available. The role remains paused rather than falling back.

Session grading uses your selected grading model and your own provider key. A missing or unusable grading assignment pauses grading; it never falls back to AgentFeedback's model access.

A provider key failure is identified by provider. Rate limits and provider outages do not mark a key as failed; retry a validation or model-list request after the provider recovers.

Model keys do not enable processing that is switched off. The organisation's LLM processing switch still controls all model work, session grading keeps its own switch, and an autofix level of off still disables autofix.