Skip to main content

Configure an Upstream

Tasks

Add an upstream provider so AIControls can route developer requests to it. For how upstream routing works conceptually, see Upstreams.

  1. Go to Settings → Upstreams → Add upstream and select Anthropic.
  2. Fill in the upstream fields:

    FieldValue
    NameAny label, e.g. anthropic-prod
    API KeyYour sk-ant-... key from console.anthropic.com
    ModelsLeave blank to allow all, or restrict to specific model IDs
note

AIControls supports all Claude models including claude-opus-4-8, claude-sonnet-4-6, and claude-haiku-4-5. New models appear automatically as Anthropic releases them.

warning

Upstream names must be unique — adding an upstream with a name that already exists is rejected so an existing upstream is never overwritten by mistake.

When you configure more than one upstream for the same provider, give each a distinguishing scope — a different Priority, or a Model Patterns / Identity Source match — so AIControls knows which one to route each request to. Two enabled same-provider upstreams with the same priority and no distinguishing scope are ambiguous, and requests that either could serve are denied with an ambiguous-routing error. The Add/Edit form warns you before you save such a pair.

See also

For how AIControls picks between multiple configured upstreams, see Upstreams.