> ## 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.

# BYOK vs Managed LLM

> How sureops routes LLM traffic today, and what a future managed mode would look like.

Two LLM key modes exist in the product today: **BYOK** (you provide your own provider API keys) and **demo/trial** (sureops supplies LLM capacity for a demo or trial environment). A third mode — **sureops-managed Anthropic/OpenAI** — has been designed but is **not launched**. This page describes what's actually live today and is explicit about what's still ahead.

## BYOK (Bring Your Own Key)

In BYOK mode, you provide your own API keys for your preferred LLM provider. This is the default and the only mode available for a production organization today.

**How it works:**

* You generate an API key in your provider account
* You enter the key in **Settings → AI Agents**, in the **LLM Provider API Keys** card
* sureops stores the key encrypted and uses it for all LLM calls
* Usage is billed directly by your provider

**Advantages:**

* Data flows to your own provider account directly — your provider's data processing terms govern the LLM side, with no sureops-operated intermediary for chat/inference calls (one universal exception: embeddings generation for semantic search always runs through a provider sureops contracts with, in every mode including BYOK — see [Security & Compliance](https://docs.sureops.ai/operating-modes/security-and-compliance.md))
* Full audit trail on your provider side (provider-side usage logs, cost breakdowns)
* Model choice: pick from sureops's curated, validated model set for your provider
* Predictable cost: you see the exact token usage in your provider's billing dashboard
* Appropriate for organizations with strict requirements on which legal entities can process their data

**Data flow:**

```
sureops backend → your provider account → LLM → response
```

To configure BYOK, go to **Settings → AI Agents**, find the **LLM Provider API Keys** card, and click **Add Key** (or **Update** if a key is already set), then select the provider. Configure the default model at the org level or per environment in the **AI Defaults** card in the same section — in practice you'll almost always be looking at the **Environment AI Defaults** version of that card, since the AI Agents tab itself requires an environment to be selected first.

Your org's spend ceiling is visible at **Settings → Budget** (and the per-environment Budget tab).

***

## Demo/trial mode

Demo and trial environments run on LLM capacity sureops supplies, so you can evaluate the product without bringing your own provider key. That capacity uses a variety of frontier models. Demo/trial LLM processing has no regional-residency option today; if your organization has data-residency constraints, use BYOK once you move to a real environment.

If every capacity provider behind demo/trial is refusing requests, a stage the AI is running waits instead of failing: the incident shows an **Analysis delayed** banner, and the stage resumes on its own once a provider is serving again (or escalates to a human after six hours or repeated failed resumes). This does not apply to BYOK organizations, which use your own provider key.

***

## Managed mode — designed, not yet launched

**There is no live sureops-managed Anthropic/OpenAI mode today.** sureops has designed — but not shipped — a paid "managed" mode in which sureops would supply LLM capacity from Anthropic and OpenAI under sureops enterprise agreements, so you could get started without connecting a provider key. Those agreements are not signed and the mode is not available for signup. Concretely, today:

* Outside demo/trial capacity and the embeddings described below, sureops is designed to send your incident and chat content to a model provider only through your own key.
* The exception: embeddings for semantic search are computed by a provider sureops contracts with, in every mode including BYOK. This is the one model-provider function designed to run outside your own key even in BYOK, and it is unrelated to managed-mode chat and inference — see [Security & Compliance](https://docs.sureops.ai/operating-modes/security-and-compliance.md) for details.

If and when managed mode launches, the plan is: sureops would provision and operate a per-customer account partition (an Anthropic Workspace or OpenAI Project) inside sureops's own provider accounts, meter and bill usage through sureops, and select the model for each agent from a curated map. It would only route real customer traffic once the required enterprise data-processing and retention terms with Anthropic and OpenAI are signed. We'll update this page, and the sub-processor list we provide on request, before any of that traffic starts. Contact [hello@sureops.ai](mailto:hello@sureops.ai) if you want to be notified when it ships.

***

## PII redaction

Redaction coverage differs by mode. Both modes share one detector set — connection strings, password-in-URL, private keys, Kubernetes Secret values, Supabase keys, provider API keys (including GitHub, Google, Slack and Fireworks), Grafana service-account tokens, bearer tokens, HTTP Basic credentials, secrets in URL query parameters, AWS keys, JWTs, internal UUIDs, email addresses, and IPv4 addresses — but how a detected value is handled, and which surfaces it applies to, differs:

* **ECHO and SAGE chat (and public chat), BYOK mode**: tool output flowing back into the conversation is scrubbed before it re-enters agent context. Every detected value is replaced with an opaque placeholder token (e.g., `[redacted]` for secrets, `[email-redacted]` for emails, `[ip-redacted]` for IPv4 addresses) — the match is simply blanked out, with no attempt to preserve the structure of the underlying data.
* **ECHO and SAGE chat (and public chat), plus every incident-pipeline agent (Diagnosis, Resolution, Verification, Incident Commander, Problem Commander), demo/trial mode**: a different scrub applies everywhere in demo/trial, on both chat surfaces and every outbound LLM call from the incident pipeline. It's diagnostic-value-preserving rather than a flat blank-out: hard secrets are redacted one-way (the value is gone for good), email addresses are masked down to their domain, and IPv4 addresses and internal UUIDs are replaced with a stable, per-incident (or per-conversation, for ECHO) hashed token — so an agent (or a human reading its output) can still tell "this is the same value seen earlier in this incident" without ever seeing the real value.
* **Incident-pipeline agents, BYOK mode**: these agents get no redaction layer at all today. Whatever telemetry, logs, or tool output the agent pulls in goes to your provider as-is. Your own provider relationship and its data-handling terms are the only control here — if that matters for your compliance posture, factor it into which provider and terms you choose for BYOK.

> [!WARNING]
>
> The incident-pipeline redaction layer only runs in demo/trial mode. It does not run on those agents in BYOK mode — only the BYOK chat tool-output scrub (ECHO/SAGE/public chat) applies there, and it uses the opaque-token behavior, not the diagnostic-value-preserving one.

***

## Switching modes

There's no customer-facing org-level switch that toggles your organization between managed and BYOK on demand — and since managed mode isn't launched, every organization today is on BYOK (or demo/trial). The one piece of this that does exist and ships today is narrower, at the environment level: an org on demo/trial (or, once it ships, managed) can override a specific environment down to BYOK — for example, to route a sensitive environment through your own provider account while the rest of the org stays on demo/trial capacity. That override is API-only today (an admin-level `PATCH` on the environment) — there's no dashboard toggle for it. It can be cleared via the same API (a PATCH with a null override), which makes the environment re-inherit the org default — it just can't be toggled back to managed/demo through any dashboard UI.

Contact [hello@sureops.ai](mailto:hello@sureops.ai) if you have questions about your organization's mode or want help with the API-based override.

***

## Self-hosted deployments

Self-hosting is coming soon, as a Docker-based deployment. Self-hosted deployments will use BYOK only — managed mode, once it exists, will be a SaaS-only feature.

See [Security & Compliance](https://docs.sureops.ai/operating-modes/security-and-compliance.md) for more.


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