Your Model, Your Key: BYOK and Model Choice
The security review is going fine until someone asks the inference question. Every investigation sends prompts, tool output and context to a model. Whose account runs that model? Which region serves it? Whose bill does it land on?
For a lot of teams the honest answer has to be "ours". They have a Bedrock commitment to burn down, an EU residency rule to respect, or a procurement team that wants model spend on the AWS invoice next to everything else.
That's why Frontier Investigation Agents can run on your own key, one of the controls in Customize. This post covers what Bring Your Own Key (BYOK) does, which models it runs, and what happens when your key fails at 3 a.m.
Model calls are part of your data path
An investigation agent is a heavy model user. One incident means many calls, each carrying the agent's system prompt, tool definitions, conversation history and retrieved context.
When those calls run on a platform's key, three things sit outside your control: where inference happens, which quota you hit, and how the spend shows up. For a pilot that's fine. For production, platform and security teams usually want all three back.
Why "just pick a model" isn't enough
The usual answer is a model dropdown. It solves the wrong half. You can choose the model, but it still runs on someone else's account, in someone else's region, against someone else's limits.
The other usual answer is self-hosting everything. That trades the problem for a bigger one: you now own the agent, the harness and the infrastructure under it. We wanted the narrow version. Keep the harness ours, move the model calls to you.
What BYOK does
BYOK runs the model calls behind agent responses on your own provider account: AWS Bedrock, Anthropic, FPT Cloud, or a Claude Code or Codex plan. Your provider bills the tokens, and a turn on your key costs only a reduced share of the credits it would cost on platform models. The organization Owner sets up an organization key under Admin Settings → BYOK, and every workspace uses it by default. A workspace Admin can set up a key for one workspace instead.
01Provider
Bedrock, Anthropic and more
The Owner picks one for the organization, or a workspace Admin for one workspace.
02Credentials
Your key, your region
An IAM role or access key with a Bedrock region, an API key, or a plan sign-in.
03Models
One per row
Keep the defaults, change a row, or leave a row on CloudThinker credits.
04Verify
A test call per model
CloudThinker calls each model you picked before it saves the key.
It's available on the Scale, Scale+ and Enterprise plans. Only the Owner handles the organization key's credentials, and only a workspace Admin handles a workspace key. Everyone else sees whether a key is healthy, never its credentials.
Model choice, row by row
You pick a model for each row: the Light, Pro and Ultra chat modes, Review, Cyber, Resolve, Optimize, and background tasks. Each row's default comes with the current CloudThinker release, so it changes as models ship, and setup shows it before you verify.
01Light
Fast chat
Chat turns in the fast mode, and background tasks by default.
02Pro
Balanced chat
Chat turns in the balanced mode.
03Ultra
Deepest reasoning
Chat turns for complex problems, and Optimize by default.
04Review
Pull requests
Reviews of pull and merge requests.
05Cyber
Test runs
Cyber test runs, Cyber chat and Code Audit.
06Resolve
Incidents
Root-cause analysis on incidents.
Any row can be set to CloudThinker credits, which runs it on the platform instead of your key. At least one row has to run on your key.
The model list comes from your provider. The picker offers only the models your provider serves on that key and region. On Bedrock that includes Claude models and, through Bedrock's Mantle API, OpenAI models.
Model choice isn't cosmetic. In our self-run SREGym evaluation, swapping only the model inside Resolve moved the end-to-end resolution rate from 40% to 100% across seven models. How we read those results and pick defaults is its own post: Model-Agnostic by Design.
Where inference runs
On Bedrock, the Region you pick sets the inference profile:
- Global (recommended) uses the
global.profile, served from any commercial AWS region. - A US or Canada region uses
us., an EU, Middle East or Israel regioneu., an Asia Pacific regionapac.. - Any other region, such as South America (Sao Paulo), runs as Global, so requests can leave that region.
One caveat from the docs. A regional pick narrows the model list to what Bedrock serves in that geography. If your data has to stay in one geography, keep a regional pick and check after setup that every row still runs on your key.
The IAM policy
On Bedrock, the recommended sign-in is an IAM role that CloudThinker assumes, with a trust policy locked to an External ID the setup form gives you, so no AWS key is stored. An IAM user's access key also works. Both need the same permissions policy. This is the one from the docs, with the bedrock-mantle statement removed, which you only need for OpenAI models on Bedrock. Replace 111122223333 with your account ID:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "CloudThinkerInvokeModels",
"Effect": "Allow",
"Action": ["bedrock:InvokeModel*"],
"Resource": [
"arn:aws:bedrock:*:111122223333:inference-profile/*",
"arn:aws:bedrock:*::foundation-model/*",
"arn:aws:bedrock:::foundation-model/*"
]
}
]
}
The wildcards cover models CloudThinker adds later. If you want it tighter, list each model ID and each inference profile, such as us.anthropic.claude-opus-5.
When your key fails
A key that works on Monday can fail on Friday. Quotas run out, tokens expire, someone rotates a key and forgets the integration. We designed for that.
01Your key
Call runs on it
The provider bills the tokens, and the turn spends only a reduced share of credits.
02Failure
Call fails
A failed or throttled call on your key, or a paused key.
03Fallback
Platform model
The call runs on platform credentials and spends platform credits.
04Rejected key
Key turns off
If the provider rejects the credentials, you get a notification and work moves to credits.
When a call on your key fails, including a call your provider throttles, CloudThinker runs it on a platform model with platform credentials. Those fallback calls spend credits, and there's no setting to turn fallback off.
When the provider rejects the credentials outright (an expired session token, a revoked key, access denied), CloudThinker turns the key off. The workspace gets a high-severity BYOK Credentials Error notification naming the provider's error code, and the key card shows Disabled after error or Key expired. Agent work continues on credits until you rotate the key.
The decisions behind it
Fallback over failure. An investigation that stops halfway because a quota ran out is worse than one that finishes on a different account. The cost is that some calls leave your key, and we'd rather you know that than find out from a bill.
An organization key, held by the Owner. Model credentials are closer to a billing instrument than a workspace setting, so the Owner can require the organization key in every workspace. CloudThinker encrypts them at rest, and the browser never gets the saved secret back.
Visible in chat. A Your key badge next to the message input shows that turns run on your key. You don't have to infer it from the invoice.
Same masking on every key. Before any call goes out, CloudThinker replaces known secrets and detected personal identifiers with placeholders. Your key doesn't change what the model sees. See What Never Reaches the Model.
Honest limits
- Five providers today: AWS Bedrock, Anthropic, FPT Cloud, Claude Code and Codex. Google Vertex and OpenAI-compatible providers show as Soon.
- The picker offers only what your provider serves on that key and region. OpenAI models on Bedrock need the
bedrock-mantlestatement in the policy. - A temporary
ASIAkey can't be renewed, so rotate it before it expires. For a permanentAKIAkey, CloudThinker renews the session token itself. - Fallback calls run on platform credentials. If every call must stay on your account, plan quotas with that in mind.
- A model can be retired. The row then shows Model retired, pick another and you choose a replacement.
Try it
Connect the key, click Verify and activate, and wait for the card to show Active. Then run something real and look for the Your key badge:
"Investigate the latency alert on the checkout service from last night and show me the evidence for the root cause."
"Review the open merge request on the payments repo and flag anything that changes retry behaviour."
If you're weighing models for a row, run the same incident twice on two models and compare the verdicts. That's a small version of how we choose ours.
Start a trial or book a walkthrough.
