Skip to main content
Docs · Controls

Configurations

What an API key runs with (request settings, a routing policy and a guardrail policy), the defaults, the order they apply in, and virtual models.

Browse docs · Controls › Configurations
On this page
  1. The three components
  2. Defaults
  3. The order configurations apply in
  4. Enforced components
  5. Virtual models
  6. Choosing auto or a virtual model
  7. Create a configuration
  8. Deleting
  9. Related

A configuration is what an API key runs with. It selects three components: request settings, a routing policy, and a guardrail policy. Configurations live at Controls › Configurations. Every configuration also answers to a virtual model id, config:<slug>, so a request can name the configuration it needs.

The Configurations list
Controls › Configurations. How it works shows a key running with request settings, routing and guardrails; each row lists its three components and what uses it. Select the image to enlarge.

The three components

ComponentDecidesCreated at
Request settingsDefaults and locks for fields in the request body: output cap, temperature, top P, thinking, output format, system instructions, stop sequences.Controls › Request settings. See Request settings.
RoutingWhich models may serve, how one is picked, and what happens on a failure.Controls › Routing. See Routing policies.
GuardrailsWhich checks run on prompts, responses and tool results.Controls › Guardrails. See Guardrail policies.

Each component is created once on its own page and can be selected by any number of configurations. A component is saved to a project, where that project's configurations can select it, or to the organization, where every configuration can.

For each component, a configuration chooses one of these:

ChoiceEffect
InheritThe configuration leaves the component unset. It comes from the layer below.
SelectThe configuration names the component to use.
OffGuardrails and request settings only. A decision: no checks, or no settings, and nothing below is used.

Routing has no Off. A request always has a routing policy, the Inferbase default when no layer selects one.

Defaults

Every organization has a default configuration named Default, slug default, created at signup. It leaves every component unset, so it behaves as the Inferbase defaults until you change it. It cannot be deleted or stop being the default. To replace it, make another organization configuration the default.

A project can have its own default configuration: a project configuration marked as the default. API keys in the project with no configuration of their own run with it.

Where a configuration applies is set under Apply to:

ScopeChoiceEffect
OrganizationOrganization defaultAPI keys with no configuration of their own, in every project without a default of its own.
OrganizationSelected projectsThe organization layer for the projects you select, in place of the organization default. A project can be selected by one organization configuration.
Organization or projectAssigned API keys onlyAPI keys assigned this configuration, and requests that send its virtual model.
ProjectProject defaultAPI keys in the project with no configuration of their own.

The order configurations apply in

A request meets up to three configurations, most specific first:

  1. The configuration the request called by its virtual model, else the key's own configuration.
  2. The project's default configuration.
  3. The organization layer: the organization configuration that selects the project, else the organization default.

When no layer decides a component, the Inferbase default applies.

Guardrails and request settings come whole from the first layer that decides them, with a selection or with Off. Routing is combined setting by setting: a routing policy that states an objective and nothing else takes its pool, fallback and the rest from the routing policies below it. The pool in force is the most specific one that restricts the models. A pool that allows every model states nothing here, so it never opens up a narrower pool set below it.

A configuration's page lists its Components, each with its value and where it comes from: this configuration, inherited from a named configuration, enforced by a named configuration, or the platform default.

Enforced components

An organization configuration can enforce whole components under Enforce. An enforced component applies in every project the configuration reaches as the organization layer, whatever a project's configuration or a request selects. A component must be selected, or set to Off, before it can be enforced. Project configurations cannot enforce.

  • Enforced guardrails or request settings replace what any configuration below selects.
  • Enforced routing pins the settings its routing policy states. A request that tries to set one of them, for example routing.optimize, is refused with a 403 that names the configuration.

The portal shows an enforced value locked, with the name of the configuration that enforces it. Enforce the components that are a matter of policy rather than preference: the guardrail policy for every project, or the routing of a cost-sensitive team.

Virtual models

Every configuration answers to model: "config:<slug>". The slug is set when the configuration is created and never changes, so code that sends it keeps working when the configuration is edited. policy:<slug> is accepted as an alias: configurations created from routing policies kept their slugs.

An API key may call:

  • its own configuration, which is the same as sending auto. A key with no configuration of its own may name the default it runs with: the project's default, else the organization's.
  • the configurations on its list of virtual models, at most 20.

Anything else is refused with a 403 that names the virtual models the key may call. A key's GET /models lists its virtual models after auto, so a client that builds its model picker from that list offers them. In the Playground, a signed-in user can pick any configuration the project can use.

Calling a virtual model changes only the first layer. The key's project, limits and bill stay the same, and what the project and organization layers enforce still applies.

Choosing auto or a virtual model

SendWho decidesUse when
"model": "auto"The key. Requests run with the key's configuration, else the defaults.An application does one job, so one configuration fits all its requests.
"model": "config:<slug>"The request. It runs with the named configuration, which the key must be assigned or list in its virtual models.One key serves several jobs, and each request names the configuration it needs.
A model idNo model choice. The key's configuration still applies its request settings and guardrails.The application needs one exact model.

A configuration's page shows both ways of using it, in the panels Assigned to API keys and Called as a virtual model, with a request body to copy.

A configuration's page
A configuration's page. Components lists each value and where it comes from; the panels below show the configuration assigned to API keys and called as config:production. Select the image to enlarge.

Create a configuration

  1. Open Controls › Configurations and select New configuration.
  2. Enter a name and, optionally, a slug and a description. Choose whether to save it to the project or the organization.
  3. Under Components, choose Inherit, Select or Off for each component.
  4. Under Apply to, choose where it applies.
  5. For an organization configuration, choose any components to enforce.
  6. Select Create configuration.
The configuration editor
The configuration editor. Each component is set to Inherit, Off or Select; routing has no Off. Select the image to enlarge.

Every settings object is edited on its own page, with Save at the bottom. Keys follow a change from their next request. Each configuration has a History tab with its earlier versions.

Organization configurations are managed by owners and admins. Project configurations can also be managed by the project's admins.

Deleting

  • A configuration that API keys are assigned cannot be deleted. The refusal says how many keys; assign them another configuration first. Removing it also removes it from every key's virtual models.
  • The organization default cannot be deleted.
  • A request settings, routing or guardrail policy that a configuration selects cannot be deleted. The refusal, a 409, names the configurations; select another component there first.

Last updated November 21, 2026.