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

> ## Agent Instructions
> IronBee (ironbee.ai) is an AI QA engineer: it verifies code changes against the running app and keeps the evidence. It is not related to the IronBee open-source web application firewall.
> The console is at https://console.ironbee.ai.
> Install the CLI with `npm install -g @ironbee-ai/cli`, sign in with `ironbee login`, and set up a project with `ironbee install`.
> In GitHub workflows, use the action as `ironbee-ai/ironbee-action@v1` and pass the `IRONBEE_API_KEY` secret as the `ironbee_api_key` input.
> In GitLab pipelines, include the component `gitlab.com/ironbee-ai/ironbee-gitlab/verify@v1`; it reads the `IRONBEE_API_KEY` CI/CD variable by default.
> In Bitbucket Pipelines, run the pipe `docker://ghcr.io/ironbee-ai/ironbee-bitbucket:v1` and pass `IRONBEE_API_KEY: $IRONBEE_API_KEY` and `BITBUCKET_OAUTH_TOKEN: $BITBUCKET_OAUTH_TOKEN` under its `variables:`.
> Console scenarios (https://docs.ironbee.ai/console/scenarios) and CLI saved scenarios (https://docs.ironbee.ai/cli/guides/scenarios) are separate features.
> Code security (https://docs.ironbee.ai/code-security/overview) scans a repository's default branch on a schedule. It is off until an owner or admin turns it on for a repository, and only owners and admins see it.
> The self-hosted runner (https://docs.ironbee.ai/code-review/self-hosted-runner/overview) runs IronBee code review in your own GitHub Actions, GitLab CI/CD or Bitbucket Pipelines, with your own model provider; set it up with `ironbee runner setup`.
> BYOM (https://docs.ironbee.ai/byom/overview) runs the code reviews, code wiki, code security scans and verification runs IronBee runs for an Enterprise account on the account's own model endpoint, set up in Settings > BYOM in the console. It is not the self-hosted runner.
> For plans and prices, link to https://ironbee.ai/pricing; the website is the source of truth for them.

# BYOM settings

> Set up BYOM in the console - pick the provider, fill in the endpoint and the model, read the connection test's report, then enable, edit or delete it.

**Settings > BYOM** holds your account's BYOM (Bring Your Own Model) settings: the endpoint every job of the account calls while BYOM is on, its key, the model, and the last connection test. Open **Settings** from the gear at the bottom of the sidebar, then select **BYOM**.

Every role sees the page. Only owners and admins set up BYOM and change it; everyone else [reads it](#what-other-roles-see). What BYOM is and what it changes is on [BYOM](https://docs.ironbee.ai/byom/overview.md).

***

## Before BYOM is set up

With no BYOM settings yet, the page shows one of three things:

| You see | When |
| - | - |
| **Needs the Enterprise plan**, with **See the plans** | Your account's plan can't set up BYOM, whatever your role. See [Pricing](https://docs.ironbee.ai/console/pricing.md) |
| **BYOM is not set up** | The account is on the Enterprise plan, and you're not an owner or an admin. The account's jobs run on IronBee's model |
| **Set up BYOM** | You're an owner or an admin, on the Enterprise plan: the form |

BYOM settings made earlier keep working whatever the plan becomes, and editing, enabling, disabling and deleting them need no plan.

***

## Set up BYOM

### Pick the provider

The form opens with **Provider**: **Anthropic** (your own Anthropic API key), **OpenAI** (your own OpenAI API key) or **Other** (a server or gateway that speaks Anthropic Messages, OpenAI Chat Completions or OpenAI Responses, such as vLLM or SGLang). A preset fills in what its provider fixes, and says so in one line with the address the test will call.

![The Set up BYOM form with the OpenAI provider picked, the fixed OpenAI Responses line, the Key field, the folded Headers, gpt-6.2-sol picked as the model and its window and output limit filled in](https://mintcdn.com/ironbee/27SbWjYu8FW4REvd/images/console/byom/form-openai-light.png?fit=max\&auto=format\&n=27SbWjYu8FW4REvd\&q=85\&s=df4baab541739693d556aab5f23210a3)

![The Set up BYOM form with the OpenAI provider picked, the fixed OpenAI Responses line, the Key field, the folded Headers, gpt-6.2-sol picked as the model and its window and output limit filled in](https://mintcdn.com/ironbee/27SbWjYu8FW4REvd/images/console/byom/form-openai-dark.png?fit=max\&auto=format\&n=27SbWjYu8FW4REvd\&q=85\&s=f7efb2c45f792d87cbf493e90c447854)

| Provider | The preset fixes | The form asks |
| - | - | - |
| **Anthropic** | **Anthropic Messages** at `https://api.anthropic.com`, the key sent as `x-api-key` | **Key**, **Model name**, **Context window**, **Most output tokens a turn** |
| **OpenAI** | **OpenAI Responses** at `https://api.openai.com/v1`, the key sent as a Bearer token | The same, and **Headers**, folded, for OpenAI's optional `OpenAI-Organization` and `OpenAI-Project` |
| **Other** | Nothing | Every field, and shows **Our addresses** |

On a preset, **Model name** lists the provider's known models, newest first, each with its window and output limit. A pick fills in both numbers, which stay editable, and the form says **Filled in for** the model. A name the list doesn't hold is taken as you type it, and leaves the two numbers to you. The known models are listed on [Formats and models](https://docs.ironbee.ai/byom/formats-and-models.md#the-presets-and-the-known-models).

### The fields

**Other** shows every field. As you type the base URL, the form shows **The test will call** with the full address.

![The Format, Base URL and Authentication fields of the BYOM form under Other, with OpenAI Chat Completions picked and the address the test will call](https://mintcdn.com/ironbee/27SbWjYu8FW4REvd/images/console/byom/form-other-light.png?fit=max\&auto=format\&n=27SbWjYu8FW4REvd\&q=85\&s=e997162b5d865ec8d70d8b7a481b6aa0)

![The Format, Base URL and Authentication fields of the BYOM form under Other, with OpenAI Chat Completions picked and the address the test will call](https://mintcdn.com/ironbee/27SbWjYu8FW4REvd/images/console/byom/form-other-dark.png?fit=max\&auto=format\&n=27SbWjYu8FW4REvd\&q=85\&s=95d06279d3184e4d4fc038d5c7c2c6b8)

| Field | What you give | Rules |
| - | - | - |
| **Format** | **Anthropic Messages**, **OpenAI Chat Completions** or **OpenAI Responses** | Each option shows the route the test calls: `<base URL>/v1/messages`, `<base URL>/chat/completions` or `<base URL>/responses`. See [Choosing the format](https://docs.ironbee.ai/byom/formats-and-models.md#choosing-the-format) |
| **Base URL** | An HTTPS address, such as `https://llm.example.com` or `https://llm.example.com:8443/v1` | Port 443 or 1024 to 65535; a public address; no query, fragment, user or password. Anthropic's convention puts no `/v1` in it; OpenAI's does |
| **Authentication** | **Bearer token**, **x-api-key** or **A header of the endpoint's own**, with its **Header name** | vLLM and SGLang read only `Authorization: Bearer`. A header of the endpoint's own takes the key as its whole value: to send `Basic ...` or `Token ...`, name the header `Authorization` and type the whole value as the key |
| **Key** | The endpoint's own key | Required, up to 4,096 characters. Stored encrypted at once and never shown again |
| **Headers** (optional) | Rows of **Name**, **Value** and **Secret**, added with **Add a header** | Up to 20, for what a gateway needs beyond the key, such as a routing or a tenant header. A plain value is shown to owners and admins; a secret one is stored encrypted and never shown again. A header can't take a name the request itself sets, such as `Host`, `Content-Type`, `Authorization` or `x-api-key` |
| **CA bundle** (optional, **Other** only) | PEM certificates | For an endpoint whose certificate a private authority signed: up to 10 certificates, 64 KiB at most |
| **Model name** | The string your server expects in a request's `model` field, such as what vLLM's `--served-model-name` sets | Every call of every job goes to this model |
| **Context window** | Tokens one call may hold | From 131,072 to 2,000,000. A server's own setting may be smaller than the model's: declare the smaller one |
| **Most output tokens a turn** | The most a call may ask for its answer | From 8,192 to half the window. Every engine's turns are capped to it |

The window you declare is also your lever on what a full call costs: IronBee's engines fill it. See [The window is your lever on cost](https://docs.ironbee.ai/byom/your-endpoint.md#the-window-is-your-lever-on-cost).

### On your side

Under the fields, **On your side** lists:

* **Our addresses**, under **Other** only: the addresses IronBee's calls to your endpoint come from. An address rule adds to the endpoint's own authentication and doesn't replace it. See [IronBee's addresses](https://docs.ironbee.ai/byom/your-endpoint.md#ironbees-addresses).
* **Region**: IronBee runs its jobs, and its calls to the endpoint, in the United States (AWS us-west-2, Oregon).
* **What a model must support**, in the format you picked.

***

## Save and the connection test

Click **Save**, or **Save and enable** to turn BYOM on as well when the test passes. Saving runs the connection test first: "Running the connection test. This takes up to 90 seconds." Then the page shows the settings with the test's report open.

| The answer | What it means |
| - | - |
| **Saved and enabled** | The test passed, and BYOM is on |
| **Saved**: "The connection test passed." | The test passed. On settings that are off, it adds "Enable BYOM when you are ready." |
| **Saved, not enabled**: "The connection test failed: the report says why." | New settings are saved whatever the test says, with BYOM off |
| "Nothing was saved: BYOM is enabled and the test failed, so the settings in use stay as they were. To store settings that do not pass, disable BYOM first." | While BYOM is on, a save writes only when its test passes. The report shows under the form |
| "The test could not run now, so nothing was saved." with **Run the test again**, or "The test could not be run, so nothing was saved." with **Try again** | The test didn't run. Nothing changed |
| "Too many tests in a short time. Wait a few minutes and try again." | Too many saves in a short time |

Every save takes the key and the secret headers' values again, since they're never shown back: on an edit those fields read **Required to save changes**.

### The connection test's report

The test runs on the form's values before anything is saved, from IronBee's addresses. Each step shows its outcome (**Passed**, **Warning**, **Failed** or **Not run**) and its time. A failed step shows what to do, the status your endpoint answered, and an excerpt of its error with your key and secret headers' values taken out.

![A connection test report that failed at step 5, tool calling, with the model's answer written as text and the server's tool parser named, and steps 6 and 7 not run](https://mintcdn.com/ironbee/27SbWjYu8FW4REvd/images/console/byom/report-failed-light.png?fit=max\&auto=format\&n=27SbWjYu8FW4REvd\&q=85\&s=0309ee081a701f8e6cf10fffb2c5eaf6)

![A connection test report that failed at step 5, tool calling, with the model's answer written as text and the server's tool parser named, and steps 6 and 7 not run](https://mintcdn.com/ironbee/27SbWjYu8FW4REvd/images/console/byom/report-failed-dark.png?fit=max\&auto=format\&n=27SbWjYu8FW4REvd\&q=85\&s=c3bfb308c8fc36a9cea63ef4c24590f3)

| Step | Passes when | If it fails |
| - | - | - |
| **1. The address** | The name resolves to public addresses, a TLS connection opens on the port, and the certificate is trusted | Make the endpoint reachable from the internet and allow IronBee's addresses, which the report lists; or give the CA bundle that signed its certificate |
| **2. The key is required** | Judged once step 3 has passed: the same request sent with a wrong key and with none is refused each time | The endpoint must require its key on every path. An answer that settles nothing, such as a 429, a 5xx or a timeout, asks you to run the test again |
| **3. A call to the model** | A small call answers in the format's shape | A refused key names the other header to try, and that a gateway may need a header of its own. A 404 points at the base URL's path or the model name. A rate limit, an account with no credit, a redirect and the endpoint's own errors each say so |
| **4. A streamed call with usage** | The stream arrives whole, with its input and output token counts | The endpoint must send token usage in its streams |
| **5. Tool calling** | A request with one tool and `tool_choice: auto` is answered with a valid call, and the model answers the tool's result | The report says what the endpoint did: the server's tool parser for a call written as text or a refused `tool_choice`, the chat template for a refused second turn, or the endpoint's own words |
| **6. Dialect** | On OpenAI Chat Completions, an output limit honored and a JSON schema answered with its JSON; on OpenAI Responses, an output limit honored; on all three, no reasoning in the answers' text | Each failed check is named with what to do, such as turning on the server's reasoning parser |
| **7. Whether the model reads images** | Recorded, never failing | |

* **What the test found** closes a passing report: whether the model reads images, the effort level answered cleanly, and on OpenAI Chat Completions whether the endpoint needs the model's reasoning handed back.
* A call answered 429 is sent once more after its `retry-after`, and a call refused because the endpoint's account has no credit left isn't sent again.
* Each call has 30 seconds, and the test 90 in all. The test makes at most 16 calls, 15 on OpenAI Responses, with a few more where a step needs them.

The report ends with what a passing test means: "The connection test checks that your endpoint speaks the protocol our engines use. It does not show that your model can carry a review, a wiki, a code security run or a verification: a context window of 131,072 tokens is needed, not enough."

The test can't see two things. Its calls are its own, so a gate a provider puts on a client, such as Anthropic's API refusing an older Claude Code, shows only when a verification runs. And it calls only the format's route, so a server that leaves other paths open without its key goes behind a [reverse proxy](https://docs.ironbee.ai/byom/server-recipes.md#a-reverse-proxy-in-front) whatever the test says.

***

## The settings

Once saved, the page shows the settings in place of the form:

![The saved BYOM settings, On, with Edit, Disable and Delete, and the provider, format, base URL, authentication, headers, model, limits, last test and jobs on it now](https://mintcdn.com/ironbee/27SbWjYu8FW4REvd/images/console/byom/record-light.png?fit=max\&auto=format\&n=27SbWjYu8FW4REvd\&q=85\&s=22cbe75c65cb2fe8ceb4c4636675e434)

![The saved BYOM settings, On, with Edit, Disable and Delete, and the provider, format, base URL, authentication, headers, model, limits, last test and jobs on it now](https://mintcdn.com/ironbee/27SbWjYu8FW4REvd/images/console/byom/record-dark.png?fit=max\&auto=format\&n=27SbWjYu8FW4REvd\&q=85\&s=c5147d651eac881cd9761dc9140536fc)

* **On** ("Every job of this account runs on your model.") or **Off** ("The account's jobs run on IronBee's model.").
* **Provider**: the preset the settings match, or **Other**.
* **Format**, **Base URL**, and **The test calls**: the full address.
* **Authentication**: the header the key is sent in.
* **Headers**: plain headers with their values, secret ones by name with **secret**.
* **CA bundle**: **Held** or **None**.
* **Model name** and **Limits**: the window and the output tokens a turn.
* **Reads images**: what the last test found. A model that doesn't still runs web verification, without its screenshots.
* **Reasoning handed back**: **Every turn** or **The current turn**, only on an endpoint the test found to need it.
* **Last test**: when it passed, or the step it failed at, with **Show the report**.
* **Jobs on it now**: the jobs running on your endpoint.
* **Updated**: when, and by whom.

### Last failure

When a job's call to your endpoint fails, the settings show **Last failure** with its time, what went wrong and what to do, until your endpoint's next success clears it:

![The BYOM settings, On, with a Last failure saying the BYOM endpoint limited our requests and to raise its rate limit or its concurrency](https://mintcdn.com/ironbee/27SbWjYu8FW4REvd/images/console/byom/last-failure-light.png?fit=max\&auto=format\&n=27SbWjYu8FW4REvd\&q=85\&s=9202ae8ce1abbc74eb1b37f85b93ef68)

![The BYOM settings, On, with a Last failure saying the BYOM endpoint limited our requests and to raise its rate limit or its concurrency](https://mintcdn.com/ironbee/27SbWjYu8FW4REvd/images/console/byom/last-failure-dark.png?fit=max\&auto=format\&n=27SbWjYu8FW4REvd\&q=85\&s=ef2d3581ad08ff0cbe4dd8ceb3246b63)

Failed runs pause a repository's scheduled wiki builds and code security scans. Once the endpoint is fixed, a run started by hand resumes them. What each failure means is on [When a job fails](https://docs.ironbee.ai/byom/when-a-job-fails.md#what-a-failed-job-says).

***

## Enable, disable, edit and delete

| Button | What happens |
| - | - |
| **Enable** | Needs a passing last test; until then the button is off and the page says "Enabling needs a passing test. Edit and save the settings to run it again." **Enable BYOM?** names the model and the host: from the next job, every job of the account runs on it. Jobs already running finish on IronBee's model |
| **Disable** | **Disable BYOM?**: from the next job, the account's jobs run on IronBee's model again, and the settings stay saved. The dialog counts the jobs running on your endpoint now: they stop calling it within 20 seconds and fail, and none moves to IronBee's model |
| **Edit** | Opens **Edit the BYOM settings**. A save runs the test again, and takes the key and the secret headers' values again. A running job's calls go to the edited endpoint within 20 seconds |
| **Delete** | **Delete the BYOM settings?**: the settings and the key are removed and nothing is kept. Deleted settings can't be restored, only set up again. From the next job, the account's jobs run on IronBee's model, and jobs running on your endpoint fail as on a disable |

![The Disable BYOM dialog, saying the account's jobs run on IronBee's model again from the next job and that no job is running on it now](https://mintcdn.com/ironbee/27SbWjYu8FW4REvd/images/console/byom/disable-dialog-light.png?fit=max\&auto=format\&n=27SbWjYu8FW4REvd\&q=85\&s=ca85e4386ad7dc5dc1cb92c88161a834)

![The Disable BYOM dialog, saying the account's jobs run on IronBee's model again from the next job and that no job is running on it now](https://mintcdn.com/ironbee/27SbWjYu8FW4REvd/images/console/byom/disable-dialog-dark.png?fit=max\&auto=format\&n=27SbWjYu8FW4REvd\&q=85\&s=16fbbed73bf93157ff830a9be485a0a1)

**BYOM enabled**, **BYOM disabled** and **BYOM settings deleted** confirm each change.

On a plan that can't set up BYOM, the delete dialog warns first: "This account's plan cannot set up BYOM: once these settings are deleted, BYOM can be set up again only on the Enterprise plan."

### Editing settings a preset can't hold

A preset is stored nowhere, so saved settings open as the preset whose format, base URL and authentication header they hold, as long as they hold nothing the preset hides. Anything else opens as **Other**.

A save replaces the settings whole, so an edit never offers a preset that would drop what the settings hold:

* Settings on **Other** with a CA bundle, or with an authentication header of their own, stay on **Other**: "These BYOM settings stay on Other: a preset would drop" what they hold.
* Settings on **Other** with headers alone aren't offered the **Anthropic** preset, which has no headers: "The Anthropic preset is not offered: it would drop their headers."

***

## What other roles see

Members and billing admins see the page read-only, under "Only an owner or admin of this account changes the BYOM settings.":

![The BYOM settings as a member sees them, read-only: On, the format, the host, the header names, the model name, the limits and whether the model reads images](https://mintcdn.com/ironbee/27SbWjYu8FW4REvd/images/console/byom/member-light.png?fit=max\&auto=format\&n=27SbWjYu8FW4REvd\&q=85\&s=d6559be07235e12c089c87002cc69090)

![The BYOM settings as a member sees them, read-only: On, the format, the host, the header names, the model name, the limits and whether the model reads images](https://mintcdn.com/ironbee/27SbWjYu8FW4REvd/images/console/byom/member-dark.png?fit=max\&auto=format\&n=27SbWjYu8FW4REvd\&q=85\&s=e3a599e5210b857df180c68df9e970c6)

They see whether BYOM is on, its **Format**, its **Host**, the names of its **Headers**, the **Model name**, the **Limits**, whether it **Reads images**, **Reasoning handed back** where the test found it, and the **Last failure** while there is one. They don't see the provider, the base URL, the authentication header, a header's value, the CA bundle, the last test, the jobs on it now, or who updated it, and have no buttons. See [Roles and permissions](https://docs.ironbee.ai/console/roles.md).

***

## What's next?

> [card] [Prepare your endpoint](https://docs.ironbee.ai/byom/your-endpoint.md)
>
> What your endpoint needs before you save.

> [card] [When a job fails](https://docs.ironbee.ai/byom/when-a-job-fails.md)
>
> What a job that failed on your endpoint says.


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