> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sureops.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Per-Agent LLM Config

> Configure which LLM model each agent uses, with per-environment overrides.

Each sureops agent can use a different LLM model. By default, all agents inherit the org-level default model. You can override this per agent and per environment — for example, using a more capable model for the Diagnosis Specialist in production while using a faster model in staging.

## Default behavior

When you first set up sureops, all agents use the org-level default model. This model is configured at **Settings → AI Agents**, in the **AI Defaults** card (**Default Provider** and **Default Model**). The **AI Agents** tab requires an environment to be selected before it's usable, so in practice this card almost always shows as **Environment AI Defaults** rather than the org-level version — it's the same card, and its title just reflects whichever scope you're currently viewing.

Changes to the default immediately apply to all agents that haven't been individually overridden.

The model-picker and per-agent override flow described on this page applies to **BYOK organizations** specifically. Demo and trial organizations already get a fully locked model-selection experience today — there's no model dropdown at all, and only prompts, tasks, and skills stay configurable per agent. The same lock will also apply to managed-mode organizations once that mode launches (see [BYOK vs Managed LLM](https://docs.sureops.ai/ai-agents/byok-vs-managed.md)).

***

## Overriding a specific agent's model

**1. Open agent settings**

Go to **Settings → AI Agents** and select the agent you want to configure.

**2. Toggle off inheritance**

On the agent's configuration card, the **"Use Global"** toggle is on by default — the agent inherits the org (or environment) default model. Turn it off to break inheritance and set a model specifically for this agent.

**3. Select a model**

Choose from the available models in the dropdown — the set sureops has validated for agent use with your BYOK provider, not every model your provider offers.

**4. Save**

Click **Save**. The change takes effect on the next incident that uses this agent.

To revert to the inherited default, toggle **"Use Global"** back on.

***

## Per-environment overrides

An agent can use a different model in different environments. For example:

* Diagnosis Specialist in **production**: a high-capability model for accuracy on critical incidents
* Diagnosis Specialist in **staging**: a faster, lower-cost model for exploratory use

To configure per-environment:

1. Switch to the environment you want to configure using the app-level environment context switcher (the breadcrumb near the top of the app) — the **AI Agents** tab is disabled until an environment is selected; there's no separate environment dropdown inside the tab itself
2. Go to **Settings → AI Agents** and select the agent
3. Turn off **"Use Global"** and select the model for that environment

**Precedence order (highest wins):**

```
environment-scoped agent override
  → org-scoped agent override
    → Environment AI Defaults
      → Organization AI Defaults
        → system default
```

An environment-scoped override on the agent itself wins over everything else; an org-scoped override on the agent wins over the environment and org defaults; and the Environment AI Defaults (when set) win over the Organization AI Defaults.

***

## Available agents

sureops has exactly five agents that are individually configurable from **Settings → AI Agents** — the API rejects any agent ID outside this set:

| Agent | When it runs | Default recommendation |
| - | - | - |
| Incident Commander | Every stage transition; closure | Org default is usually appropriate |
| Diagnosis Specialist | Diagnosis stage | Consider a high-capability model for production |
| Resolution Specialist | Resolution stage | Org default or same as Diagnosis |
| Verification Specialist | Verification stage | Org default is usually appropriate |
| Problem Commander | Post-closure, orchestrates the async problem-investigation pipeline | High-capability model for deep RCA |

Other agents and background workflows (ECHO chat, SAGE incident chat, the Deep RCA Investigator, Fix-PR, the Incident Response Critic, the Improvement Recommender) run using the model resolved for their owning stage or the org default — they are not independently listed in this configuration screen today.

> [!NOTE]
>
> Pre-mortems (risk analysis on PRs before they ship) are on the roadmap and not yet available to configure here. See [Pricing & Tiers](https://docs.sureops.ai/getting-started/pricing-and-tiers.md) for current roadmap status.

***

## Available models

In BYOK mode, the dropdown reflects the models sureops has validated for agent use with your provider, not every model your provider offers. For each model family, sureops lists only its two newest versions, and a model that its provider has retired is not offered. If you need a specific model that isn't listed, contact [hello@sureops.ai](mailto:hello@sureops.ai).

sureops does not block a model already saved on an agent: it keeps running as long as your provider still serves it. Only a new selection outside the two newest versions, or of a retired model, is refused.

Demo and trial organizations don't get this dropdown at all — model selection is already fully locked today, the same way it will be for managed-mode organizations once that mode launches: sureops selects the model for each agent from a curated map, and only prompts, tasks, and skills stay customer-configurable.

For details on managed vs. BYOK, see [BYOK vs Managed LLM](https://docs.sureops.ai/ai-agents/byok-vs-managed.md).

***

## Fallback on primary failure

Each agent's card has a **Fallback on primary failure** setting, shown once **Use Global** is off (it is not shown for demo and trial organizations, or for managed organizations once that mode launches). On an agent its modes are **Inherit** (the default: the agent uses the environment or organization setting), **Automatic**, **Pick one** and **Disabled**. The organization and environment defaults have the same setting under **Default Fallback Behavior**, with Automatic, Pick one and Disabled. In BYOK organizations:

* **Automatic**: if the primary model fails, sureops tries one model from another provider for which you hold a key, in this order: Anthropic, OpenAI, DeepInfra, Fireworks, Google Gemini, DeepSeek. The primary's own provider is skipped, so a DeepSeek primary with an Anthropic key falls back to Anthropic, and a DeepSeek primary with only a DeepSeek key has no fallback. The fallback uses that provider's default model. At the organization and environment level, Automatic also applies when no mode is set.
* **Pick one**: an ordered list of up to four provider and model pairs, tried in order. The agent's own primary is not offered as a row. A row whose provider has no key is skipped until you add one.
* **Disabled**: no fallback.

If your primary is DeepSeek and you want to avoid a costlier fallback, choose Pick one with the models you want, or Disabled.

***

## Cost considerations

Different models have different per-token costs. Agents running on high-capability models for every incident can meaningfully increase your LLM spend.

A practical approach:

* Set a cost-effective default for most agents
* Override only the agents where output quality matters most (Diagnosis Specialist, Problem Commander)
* Use per-environment overrides to use expensive models only in production

In BYOK mode, your org's spend ceiling is visible at **Settings → Budget** (and the per-environment Budget tab). In demo/trial mode (and in managed mode once it launches), sureops owns the ceiling — you see a "budget managed by sureops" indicator rather than a self-serve, editable cap, since the spend is on sureops's own provider accounts.

***

## Budget and enforcement

Each org has a configurable LLM budget, tracked per stage and per incident across two enforced dimensions: number of LLM calls, and — for BYOK organizations only — dollar cost. There's no time-based cap; see [Budgets & cost](https://docs.sureops.ai/administration/budgets-and-cost.md#incident-cost-caps). Budget enforcement has three modes:

| Mode | Behavior |
| - | - |
| Off | No tracking at all — no usage rows, no timeline entries. Intended for internal testing against expensive scenarios; not recommended in production. |
| Warn | Tracks usage and, when a cost cap is exceeded, writes a timeline entry so you can see it and tune caps. The agent keeps running past a cost cap. The LLM-call cap is the exception: it stops a runaway run in every mode except Off, so a call-count breach escalates the incident for human review just as in Enforce. |
| Enforce | Hard cap. Breaching the ceiling mid-stage raises a budget error and escalates the incident to human review — the Diagnosis Specialist paces itself to land before the cap (see [Budgets & cost](https://docs.sureops.ai/administration/budgets-and-cost.md#incident-cost-caps)). One exception: on sureops-supplied capacity, the *first* call-count breach per incident is retried once silently instead of escalating ([details](https://docs.sureops.ai/administration/budgets-and-cost.md#incident-cost-caps)). |

BYOK organizations default to **Warn**. Organizations in demo/trial mode (and managed organizations, once that mode launches) ship with **Enforce** by default, since sureops is the one absorbing the underlying provider cost — for those orgs only the call-count dimension is enforced, never dollar cost.

The enforce mode is designed for cost control, not safety. An enforced org that hits its ceiling has its incidents escalated to human review rather than silently failing.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.