Skip to content

Custom API (BYOK) ​

BYOK means Bring Your Own Key. Instead of using the official Breezell quota, Breezell sends requests to a model provider with your own API key, and that provider bills you directly.

This guide walks through the whole setup with Claude models: claude-opus-5-5, claude-sonnet-5-5, claude-haiku-5-5 and claude-fable-5-1.

About the screens on this page

There are no screenshots on this page. Every Breezell screen below is rebuilt in HTML from the Breezell source code. The text follows the language of this page, and the colors follow the light / dark switch of this site (Breezell Light / Breezell Dark).

Orange rings and numbered badges show where to click. They are not part of Breezell. Some screens are interactive: you can switch the protocol, edit the Base URL, press Claude 1M, toggle reasoning and drag the effort slider.

Before you start ​

You need three things:

  1. A Breezell account on the Custom API plan or higher. Third-party models on your own key are a paid feature. Without the plan, the provider page shows Custom providers need a paid plan instead of the form, and if you are not signed in it shows Sign in to your Breezell account first.
  2. A key. Either an Anthropic API key from the Anthropic Console (it starts with sk-ant-), or the Base URL and key of a relay, gateway or self-hosted proxy.
  3. The protocol your relay speaks. Ask your provider whether it offers the Anthropic Messages API (/v1/messages), the OpenAI Chat Completions API (/v1/chat/completions), or both.

Choose your route ​

RouteUse it whenWhere in BreezellProtocol
A. Anthropic APIYou have a key from the Anthropic ConsoleAPI providers › AnthropicAnthropic Messages (built in)
B. Compatible slot + Anthropic protocolYour relay offers /v1/messagesOpenAI-compatible › a slotAnthropic
C. Compatible slot + OpenAI protocolYour relay only offers /v1/chat/completionsOpenAI-compatible › a slotOpenAI

For Claude, prefer A or B. Breezell itself recommends it in the slot form: For Claude models, if your provider also offers the Anthropic API, prefer this format — it is usually more reliable than OpenAI-compatible.

Step 1: Open Box (Breezell Settings) ​

Breezell Settings live on the Box page. Box replaces the activity bar, side bar, editor area and panel while you are in it; click Agent to go back to your code.

There are three ways to open it:

  • Click Box in the switch at the left of the title bar.
  • Click the gear icon at the top right and choose Breezell Settings.
  • Open the Command Palette and run Breezell: Open Settings.
BoxAgent1
my-project
BoxAgent
my-project
1
Breezell Settings2

Step 2: Go to the Models page ​

In the Box sidebar, open the Breezell Settings group and click Models. This is usually the page Box opens on.

Breezell SettingsModels
Models
Every model Breezell can reach: browse and filter them here, or configure providers, keys and sign-ins.
Models Cache hits Token usage Breezell usage

At the top of the page you will find four views: Models, Cache hits, Token usage and Breezell usage. Stay on the first one.

Below it, the provider categories split the providers into four groups:

CategoryWhat it holds
BreezellThe official Breezell models on your Breezell quota. No key needed.
Sign inProviders you sign in to with an account, such as Codex or Copilot.
API providersOfficial vendor APIs on your own key, Anthropic included.
OpenAI-compatibleUp to 50 custom slots for relays, gateways and self-hosted proxies.

Route A: The Anthropic API ​

A1. Select Anthropic ​

  1. Click API providers.
  2. Type Anthropic in Search providers….
  3. Click the Anthropic tile. The selected provider appears below with the status Not configured.
  4. Click Edit configuration to open its configuration.
Models
Every model Breezell can reach: browse and filter them here, or configure providers, keys and sign-ins.
Models Cache hits Token usage Breezell usage
Breezell Sign in 9API providers 40OpenAI-compatible 1
Anthropic
AnthropicNot configured15 models · 0 enabled
Edit configuration 4
151515150
Add Fetch model list
ModelContextCapabilitiesPriceper 1M tokensEnabled
claude-fable-5-1
1M
$10.0 / $50.0
claude-fable-5
1M
$10.0 / $50.0
claude-opus-5
1M
$5.00 / $25.0
claude-opus-5-5
1M
$4.00 / $20.0
claude-opus-4-8
1M
$5.00 / $25.0
claude-opus-4-7
1M
$5.00 / $25.0
claude-sonnet-5
1M
$2.00 / $10.0
claude-sonnet-5-5
1M
$2.00 / $10.0
claude-sonnet-4-6
1M
$3.00 / $15.0
claude-opus-4-6
1M
$5.00 / $25.0
claude-opus-4-5
200K
$5.00 / $25.0
claude-opus-4-1
200K
$15.0 / $75.0
claude-sonnet-4-5
200K
$3.00 / $15.0
claude-haiku-5-5
1M
$0.10 / $0.50
claude-haiku-4-5
200K
$1.00 / $5.00

A2. Paste your Anthropic key ​

The configuration has a single field: the API key.

  1. Click the Get your API Key card. It opens the Anthropic Console (console.anthropic.com/settings/keys) in your browser.
  2. Create a key and copy it. It looks like sk-ant-api03-....
  3. Paste it into the field. The eye icon shows or hides it.
AnthropicNot configured15 models · 0 enabled
Hide configuration
151515150
Add Fetch model list
ModelContextCapabilitiesPriceper 1M tokensEnabled
claude-fable-5-1
1M
$10.0 / $50.0
claude-fable-5
1M
$10.0 / $50.0
claude-opus-5
1M
$5.00 / $25.0
claude-opus-5-5
1M
$4.00 / $20.0
claude-opus-4-8
1M
$5.00 / $25.0
claude-opus-4-7
1M
$5.00 / $25.0
claude-sonnet-5
1M
$2.00 / $10.0
claude-sonnet-5-5
1M
$2.00 / $10.0
claude-sonnet-4-6
1M
$3.00 / $15.0
claude-opus-4-6
1M
$5.00 / $25.0
claude-opus-4-5
200K
$5.00 / $25.0
claude-opus-4-1
200K
$15.0 / $75.0
claude-sonnet-4-5
200K
$3.00 / $15.0
claude-haiku-5-5
1M
$0.10 / $0.50
claude-haiku-4-5
200K
$1.00 / $5.00

Breezell cleans the key before using it: it removes spaces, surrounding quotes, a leading Bearer and invisible characters that often come along when you copy. The Anthropic provider has no Base URL field; Breezell always uses https://api.anthropic.com.

A3. Turn on the Claude models you want ​

As soon as the key is saved, the status changes to Configured and the list shows Breezell's built-in Claude models, newest first.

Only the first five start enabled: claude-fable-5-1, claude-fable-5, claude-opus-5, claude-opus-5-5 and claude-opus-4-8. Turn on the switch at the end of a row to add a model to the chat model picker, for example claude-sonnet-5-5 and claude-haiku-5-5.

AnthropicConfigured15 models · 7 enabled
Edit configuration
151515157
Add Fetch model list
ModelContextCapabilitiesPriceper 1M tokensEnabled
claude-fable-5-1
1M
$10.0 / $50.0
claude-fable-5
1M
$10.0 / $50.0
claude-opus-5
1M
$5.00 / $25.0
claude-opus-5-5
1M
$4.00 / $20.0
claude-opus-4-8
1M
$5.00 / $25.0
claude-opus-4-7
1M
$5.00 / $25.0
claude-sonnet-5
1M
$2.00 / $10.0
claude-sonnet-5-5
1M
$2.00 / $10.0
claude-sonnet-4-6
1M
$3.00 / $15.0
claude-opus-4-6
1M
$5.00 / $25.0
claude-opus-4-5
200K
$5.00 / $25.0
claude-opus-4-1
200K
$15.0 / $75.0
claude-sonnet-4-5
200K
$3.00 / $15.0
claude-haiku-5-5
1M
$0.10 / $0.50
claude-haiku-4-5
200K
$1.00 / $5.00

How to read the table:

ColumnMeaning
ModelThe model ID sent to the API. A green dot means the model is enabled.
ContextThe model's full context window. All Claude 5 models have 1M.
CapabilitiesFour icons: Vision, Tools, Reasoning, Web. A lit icon means the model has it.
PriceInput / output price in USD per 1M tokens, from Breezell's built-in catalog. Anthropic's bill is authoritative.
EnabledShows or hides the model in the chat model picker.

When the table gets narrow, Breezell drops the Context column first and then Capabilities; their values move into the tooltip of the model name.

If Anthropic releases a model that is not in the list yet, click Fetch model list. Breezell reads https://api.anthropic.com/v1/models with your key and lets you add the new IDs. You can also type an ID into Type a model ID to add… and click Add.

Route A is done. Continue with Use Claude in chat.

Route B: A compatible slot with the Anthropic protocol ​

Use this route for a relay, an API gateway or a self-hosted proxy that serves Claude through the Anthropic Messages API.

B1. Open a compatible slot ​

  1. Click OpenAI-compatible.
  2. Click the slot tile. Slot 1 is always there; a new slot shows No endpoint under its name.
  3. To keep several relays apart, click Add compatible provider for each one. Breezell has 50 slots, and each slot is an independent channel with its own address, key, protocol and models.
  4. Click Edit configuration.
Models
Every model Breezell can reach: browse and filter them here, or configure providers, keys and sign-ins.
Models Cache hits Token usage Breezell usage
Breezell Sign in 9API providers 40OpenAI-compatible 1
Check connectivityAdd compatible provider 3
Slot 1No endpoint
Slot 1Not configured
Edit configuration
00000
Add Fetch model list Check
This provider has no models yet — add one or fetch the list.

B2. Fill in the slot ​

The form is the same for every slot. Try it below: change the Base URL or the protocol and watch Request URL: update, exactly as it does in Breezell.

Connection
Authentication
Protocol
For Claude models, if your provider also offers the Anthropic API, prefer this format — it is usually more reliable than OpenAI-compatible.
Endpoint presetStandard /v1/messages endpoint
/v1/messages
Request URL:https://relay.example.com/v1/messages
Custom Headers (JSON)Optional
Presets:
Custom HTTP headers appended to every request (must be valid JSON). Click "Claude 1M" to fill in the header required to enable Claude 1M context.
Account pool No routes yet
Routes, monitor and logs moved to their own Account pool page, where every route is readable and editable in full.
Manage routes

Connection

  • Nickname: a name of up to 30 characters, such as Claude Relay. It becomes the tile title on the Models page and the group name in the chat model picker.
  • Base URL: the address your provider gives you. It must start with http:// or https://, for example https://relay.example.com or http://127.0.0.1:8080.

Authentication

  • API Key: the relay's key. It is masked; the eye icon reveals it.

Protocol

Choose Anthropic. The three buttons decide the request format:

ButtonRequest formatUse for Claude?
OpenAIOpenAI Chat CompletionsOnly when the relay has no /v1/messages (Route C).
ResponsesOpenAI ResponsesNo. Meant for GPT models.
AnthropicAnthropic MessagesYes. Breezell recommends it for Claude.

Then check Endpoint preset. With the Anthropic protocol there are two presets:

PresetPathUse it for
Anthropic Messages/v1/messagesAlmost every relay. Keep this one.
Volcengine Agent Plan/api/plan/v1/messagesVolcengine Agent Plan only.

B3. Check the request URL ​

Request URL: under the preset is the exact address Breezell will call. Breezell joins the Base URL and the preset path and removes a duplicated part, so both common styles of Base URL work:
Base URL you enterPresetRequest URL
https://relay.example.com/v1/messageshttps://relay.example.com/v1/messages
https://relay.example.com/v1/v1/messageshttps://relay.example.com/v1/messages
https://relay.example.com/v1/messages/v1/messageshttps://relay.example.com/v1/messages
https://relay.example.com/claude/v1/messageshttps://relay.example.com/claude/v1/messages

Compare the result with your provider's documentation. If the provider puts its API under an unusual path, enter the Base URL so that the request URL ends exactly where the provider says.

B4. Custom headers and Claude 1M (optional) ​

Custom Headers adds HTTP headers to every request of this slot. Leave it as {} unless your provider asks for something.

The value must be valid JSON: double quotes for keys and values, no comments, no trailing commas.

json
{
  "anthropic-beta": "context-1m-2025-08-07"
}

The Claude 1M button fills in exactly this header. Use it when your relay needs the beta header to accept prompts larger than 200K. Breezell's chat still starts each Claude model at 200K; you switch to 1M per model in the chat model picker (see Context, reasoning and Fast).

Under the headers you will see the Account pool card. An account pool rotates several keys or routes on one slot. You do not need it for a first setup.

B5. Add Claude models ​

A new slot has no models. Add them in one of two ways.

Fetch the list. Click Fetch model list. Breezell asks the relay which models it has, then shows them in a checklist. Tick the Claude models and click Add selected.

Claude RelayConfiguredrelay.example.com
Edit configuration
00000
Add Fetch model list Check
6 modelsSelect allAdd selected (4)2
This provider has no models yet — add one or fetch the list.

Type the ID. Type the model ID into Type a model ID to add… and click Add. Use the ID exactly as the relay names it, for example claude-opus-5-5. This is the way to go when the relay has no model list.

B6. Check the slot ​

Click Check to send a short request to this slot. A failed model gets a FAIL badge and a slow one SLOW; a slot that cannot be reached at all is marked DOWN on its tile.

Claude RelayConfiguredrelay.example.com
Edit configuration
44443
Add Fetch model list Check 1
ModelContextCapabilitiesPriceper 1M tokensEnabled
claude-opus-5-5
1M
Set price
claude-sonnet-5-5
1M
Set price
claude-haiku-5-5
1M
Set price
claude-fable-5-1
1M
Set price

For a closer look, click Check connectivity above the slot tiles. It checks several slots and models at once, and Check streaming tells you whether a relay streams replies piece by piece (Streaming), holds back the thinking (Thinking held) or sends everything at the end (Buffered).

Route C: A compatible slot with the OpenAI protocol ​

Some relays serve Claude only through the OpenAI Chat Completions format. Set the slot up as in Route B, with these differences:

  1. In Protocol, choose OpenAI.
  2. Keep the preset OpenAI Generic (/v1/chat/completions).
  3. Add the models under the IDs the relay uses. Many relays use claude-opus-5-5; some prefix the vendor, such as anthropic/claude-opus-5-5.
Connection
Authentication
Protocol
OpenAI is the safest default for most compatible APIs
For GPT models, prefer Responses — cache hit rates are usually higher
For Claude models, prefer Anthropic — cache hit rates are usually higher
Endpoint presetOpenAI-compatible chat endpoint
/v1/chat/completions
Request URL:https://relay.example.com/v1/chat/completions
Custom Headers (JSON)Optional
Presets:
Custom HTTP headers appended to every request (must be valid JSON). Click "Claude 1M" to fill in the header required to enable Claude 1M context.

Breezell recognizes Claude models by name, so anthropic/claude-opus-5-5 or claude-opus-5.5 get the same limits as claude-opus-5-5. Note what the form itself says: For Claude models, prefer Anthropic — cache hit rates are usually higher On the OpenAI protocol Breezell also cannot offer Fast for Claude Opus. If your relay also offers /v1/messages, switch the slot to Anthropic.

Manage your Claude models ​

The row menu ​

Every model row has a ⋯ button. For a Claude model on a compatible slot it offers Pin, Advanced settings and Remove. Hover a row to reveal the copy icon next to the model name.

Claude RelayConfiguredrelay.example.com
Edit configuration
44443
Add Fetch model list Check
ModelContextCapabilitiesPriceper 1M tokensEnabled
claude-opus-5-5
1M
Set price
1
PinAdvanced settingsRemove
claude-sonnet-5-5
1M
Set price
claude-haiku-5-5
1M
Set price
claude-fable-5-1
1M
Set price

Set the price ​

Breezell knows the list prices of Anthropic's own API, but not your relay's. On a compatible slot the price column shows Set price. Click it and enter your relay's prices in USD per 1M tokens: input, output, cache hit, and the 5-minute and 1-hour cache writes that Claude uses. The Token usage view then shows costs as well as tokens. Without a price, Breezell still counts tokens, just not money.

Advanced settings ​

Breezell recognizes every Claude model ID in this guide and fills in its limits for you, so most people never open this dialog. Open it when the relay renames a model (for example my-claude), when Breezell shows the model as not recognized, or when the relay enforces smaller limits.

Turn on Enable custom settings first; until then every card stays grey and read-only.

Advanced Settings
claude-opus-5-5OpenAI-Compatible
Basic
Total window
1M
Shown in chat
183.6k
Short/long two tiers
Turn it on right here. Short and long windows appear below — both numbers are editable. Click a chip to set the chat default.
These two sizes appear in the chat model menu. Click one to make it the default when you open a chat. Switch to long there too.
Chat submenu preview
Same Context / Reasoning / Fast menu as the chat model picker. Changes here update it immediately.
ContextDefault200K
EffortMedium
FasterSmarter
Price
Fast
Supports Fast
Show Fast in the chat submenu and send priority / speed when it is on. Built-in GPT, Claude Opus, and Grok models already have this; custom models need it turned on here.
Default Fast on
Used until you toggle Fast in chat. Long context turns Fast off for GPT Priority models (except GPT-5.6 sol/terra/luna and GPT-6 Astra).
Thinking / Reasoning
Supports Thinking
Whether the model has reasoning ability. When on, the picker shows Reasoning. Whether a request actually thinks follows the chat toggle — models you can turn off start off.
Can Disable Thinking
Whether reasoning can be turned off in chat. Off = the model always reasons and cannot be disabled; On = you can toggle it. Default: most models allow turning it off.
Can Stream Reasoning
Whether the model emits its reasoning for display — the Thinking / Thought block in chat. On = show the reasoning; Off = reasons internally without showing it. Default: on for models that expose reasoning.
Available intensity
Multi-select the levels that appear in the chat model submenu. Built-in models stay on their official set; custom models can use Low through Max.
Default intensity
Used when the chat submenu has no explicit choice yet.
Message Format
System Messagesystem-role
How the system prompt is delivered. system-role = a "system" role message (Claude & most models); developer-role = a "developer" role (OpenAI GPT-5.5 / o-series convention); separated = a separate top-level field. Default follows the model — OpenAI = developer-role, Claude & others = system-role.
Tool Calling
Tool FormatAnthropic Style
The format used to send tools (function calling) to the model. None (XML) = no native tool calling; OpenAI / Anthropic / Gemini Style = native function calling for that vendor (more reliable, fewer tokens). Default follows the model: native style if supported, otherwise None. On OpenAI-compatible slots, the panel API Format wins when it disagrees with the model’s default tool format, unless you override it here.
CancelSave

The values Breezell uses for Claude 5 models:

Settingclaude-fable-5-1claude-opus-5-5claude-sonnet-5-5claude-haiku-5-5
Context window (short / long)200K / 1M200K / 1M200K / 1M200K / 1M
Output Token Space16384163841638416384
Reasoning Output Reserve64000640006400064000
Can Disable ThinkingOffOffOffOn
Default intensityHighMediumHighMedium
Supports FastOffOnOffOff
System Messagesystem-rolesystem-rolesystem-rolesystem-role
Tool FormatAnthropic StyleAnthropic StyleAnthropic StyleAnthropic Style

The table shows a compatible slot with the Anthropic protocol. On the Anthropic provider (Route A) the system message is separated instead; both work with Claude. Fast is offered only on the Anthropic provider and on slots with the Anthropic protocol.

Fields that accept token counts take a k or m suffix: 128k becomes 128000, 1m becomes 1000000. Do not set a context or output size larger than your relay allows, or requests will fail.

On a slot with the OpenAI protocol, System Message offers system-role or developer-role, and Tool Format offers OpenAI Style or None (XML). Keep OpenAI Style for Claude so that tool calls work.

Use Claude in chat ​

Pick the model ​

The chat stays open next to Box; click Agent in the title bar if you also want your editor back. Under the chat input box, click the model name to open the model picker.

  • The API providers tab lists the Claude models you enabled on the Anthropic provider (Route A), with their list price.
  • Switch to OpenAI-Compatible at the bottom of the picker to see the compatible slots (Routes B and C). Each slot is a group titled with its nickname.
Breezell8Account sign-in0API providers7
Anthropic
claude-fable-5-1$10.0/$50.0
claude-fable-5$10.0/$50.0
claude-opus-5$5.0/$25.0
claude-opus-5-5$4.0/$20.0
claude-opus-4-8$5.0/$25.0
claude-sonnet-5-5$2.0/$10.0
claude-haiku-5-5$0.10/$0.50
Ask Breezell... @ for context
Agentclaude-opus-5-5200K Medium
@
Claude Relay
claude-opus-5-5
claude-sonnet-5-5
claude-haiku-5-5
1
Ask Breezell... @ for context
Agentclaude-opus-5-5200K Medium
@

Context, reasoning and Fast ​

Hover a model in the picker to open its options. This panel is interactive: try it.

Claude Relay
claude-opus-5-5
claude-sonnet-5-5
claude-haiku-5-5
ContextDefault200K
EffortMedium
FasterSmarter
Ask Breezell... @ for context
Agentclaude-opus-5-5200K Medium
@
  • Context: 200K (marked Default) or 1M. Breezell starts every Claude model at 200K and only sends the larger budget after you pick 1M.
  • Reasoning: Claude Fable, Opus and Sonnet 5.x always reason, so the switch is locked on. claude-haiku-5-5 lets you turn it off for quick answers.
  • Effort: Low, Medium, High, Extra High and Max, from Faster to Smarter. The slider turns purple at Max.
  • Fast: only on claude-opus-5-5 (and Opus 5 / Opus 4.8). It costs 2× and answers about 2.5× faster.

Your choice shows next to the model name under the input box, for example claude-opus-5-5 200K Medium or claude-opus-5-5 1M High Fast. It is remembered per model.

Send a message ​

Type a message and send it. If everything is set up, the reply comes back through your own key.

Hello! Which model are you?
claude-opus-5-5
Hello! I'm Claude Opus 5.5, running in Breezell through your own API key. What are we building today?
Ask Breezell... @ for context
Agentclaude-opus-5-5200K Medium
@

You have finished the BYOK setup.

Which Claude model to use ​

Model IDContextPrice in / out (per 1M tokens)Default effortReasoning offFastGood for
claude-fable-5-11M$10 / $50HighNoNoThe hardest problems and long refactors
claude-opus-5-51M$4 / $20MediumNoYes (2×)Everyday agent work: the default pick
claude-sonnet-5-51M$2 / $10HighNoNoBalanced speed and cost
claude-haiku-5-51M$0.10 / $0.50MediumYesNoQuick questions and small edits

Prices are the list prices in Breezell's built-in catalog for the Anthropic API. A relay sets its own prices. claude-haiku-5-5 prompts longer than 100K tokens are billed at 5× the rate.

Troubleshooting ​

What you seeWhat it meansWhat to do
Custom providers need a paid planYour plan does not include custom providers.Upgrade to the Custom API plan or higher.
Fill in the Base URL first.The slot has no Base URL yet.Fill in Base URL.
Fill in the API key first.The key field is empty.Paste the key.
The provider rejected this API key. Check that it is complete, has no extra quotes, and belongs to this provider.The provider returned 401 / 403.Copy the key again, check that it belongs to this provider, and check its plan and IP allowlist.
Fetch failed: …The relay has no model list, or the address is wrong.Check Request URL:, or add the model IDs by hand.
The list is already up to date. No new models to add.Every model the relay returned is already in the slot.Nothing to do.
The request timed out. Check the address, proxy, and whether the host is reachable.The request timed out.Check the address, your proxy and the network route.
Could not reach the host. Check the address, DNS, and proxy route.The host could not be reached.Check the address, DNS and proxy.
The server returned an HTTP error.The relay answered with an HTTP error.Most often a wrong path or a wrong protocol: compare Request URL: and the protocol with the provider's documentation.
The request URL contains /v1/v1 or misses /v1The Base URL and the preset do not fit together.Correct the Base URL until Request URL: is right.
The reply appears all at once after a long waitThe relay buffers the stream.Run Check streaming. On Thinking held, a lower effort shortens the wait.
Requests over 200K failThe relay needs the 1M beta header, or has no 1M context.Press Claude 1M in Custom Headers, or keep the model at 200K.
The model list is still empty after fetchingThe list was not loaded.Restart Breezell and fetch again, or add the IDs by hand.

FAQ ​

Can I use the official Anthropic key and a relay at the same time? Yes. Route A and every compatible slot are independent. The chat model picker shows them side by side, and you can switch per conversation.

Can I store several relays and keys? Yes. Use one slot per relay (up to 50). To rotate several keys on the same relay, use the Account pool of that slot. Vault in the Box sidebar keeps relay addresses and keys in your system keychain and can fill a slot for you.

Who bills me? The provider whose key you use. Breezell does not charge your Breezell quota for these requests. The Token usage view shows how many tokens you used; set prices on compatible slots to see the cost too.