boat prompt fails with 409 provider_not_configured.
The harness reads its credentials from the environment and the auth files of the sandbox. boat fills them from one of these sources:
To share keys with a team, switch to a second account when one runs out of credits, or keep keys out of shared sandboxes, read AI credentials.
Connect a subscription
Agents & Proxying connects subscriptions the same way for all five vendors:- Click Sign in.
- Approve on the page of the vendor. ChatGPT, Kimi and Grok show a short code to confirm. Mistral needs no code.
- The dashboard shows the subscription as connected.
Where to get each key or plan
Agents & Proxying shows Get a key or Get a plan beside each row that is not connected.boat ai profile set-key and boat ai add-account print the same link before they ask for the key.
Use the keys of your users
--no-env keeps every one of your credentials out of the sandbox. The -e values are the only credentials the sandbox has. Use this for a product where each end user brings their own key or subscription and picks a harness in a selector:
A subscription works the same way. For a Claude Pro or Max subscription, make a token with claude setup-token on your computer. Then pass it:
- When the keys of each paying user must stay apart, give each user their own sandbox.
- When the keys are yours, share one sandbox across conversations.
Environment variables
The harnesses read these variables. Any subset works. If the vendor key of a harness is missing, that harness refuses the prompt with a credential error. The other harnesses keep working.
Kimi Code does not read a credential from the environment itself. Before the first prompt, the sandbox writes these values into
~/.kimi-code/config.toml and the token file. After that, the CLI refreshes the subscription token by itself.
DeepSeek
Claude Code and Codex can run on the models of DeepSeek instead of Anthropic or OpenAI. One credential covers both: a DeepSeek platform key. It is a single string that starts withsk-.
DeepSeek publishes an Anthropic-shaped endpoint and an OpenAI-shaped endpoint for the same key. So boat does not change either harness, and neither harness needs a gateway in front of it.
What the sandbox gives each harness, and the model ids to pass:
OPENROUTER_API_KEY. The models are:
openrouter:deepseek/deepseek-v4.1-flashopenrouter:deepseek/deepseek-v4-flash-0731openrouter:deepseek/deepseek-v4-pro-0813
Amazon Bedrock
Claude Code and Codex can run on models that your AWS account serves, instead of the Anthropic or OpenAI API. The simplest credential is a Bedrock API key:- It is one string that starts with
ABSK. - You make it in the Bedrock console, under API keys.
- It is valid in every region.
Claude Code on Bedrock
The sandbox gives Claude CodeCLAUDE_CODE_USE_BEDROCK=1, AWS_REGION, and the key (or AWS_ACCESS_KEY_ID / AWS_SECRET_ACCESS_KEY).
The model ids are Bedrock cross-region inference profiles on the Anthropic line:
us.anthropic.claude-sonnet-4-6us.anthropic.claude-opus-4-6-v1us.anthropic.claude-sonnet-4-5-20250929-v1:0us.anthropic.claude-opus-4-5-20251101-v1:0us.anthropic.claude-haiku-4-5-20251001-v1:0us.anthropic.claude-sonnet-5us.anthropic.claude-opus-5us.anthropic.claude-fable-5-2us.anthropic.claude-fable-5-1us.anthropic.claude-fable-5us.anthropic.claude-opus-4-8us.anthropic.claude-opus-4-7
sonnet and opus aliases point to model ids that many AWS accounts have not enabled.
Codex on Bedrock
The sandbox gives CodexOPENAI_BASE_URL=https://bedrock-mantle.<region>.api.aws/v1 and the key. Codex ignores OPENAI_BASE_URL itself. So the agent server selects the built-in amazon-bedrock provider of Codex for that region. It uses the OpenAI-compatible Mantle endpoint of Bedrock. Web search is off.
The model ids are the OpenAI line on Mantle:
openai.gpt-5.6-terraopenai.gpt-5.6-solopenai.gpt-5.6-lunaopenai.gpt-5.5openai.gpt-5.5-2026-04-23openai.gpt-5.4openai.gpt-5.4-2026-03-05
gpt-oss models. It also does not include the third-party models on Mantle (Kimi, MiniMax, Qwen, DeepSeek, GLM, Mistral). These models answer the /v1 routes of Mantle, but not the /openai/v1/responses route that Codex calls.
Example
Model access is granted per AWS account and region
The lists above show what Amazon Bedrock offers for each harness. They do not show what your account can call today. Bedrock grants model access per AWS account and per region. boat lists a model as soon as Bedrock serves it, including frontier models that AWS has not granted to you yet. Your access to a model is between your account and AWS. To request access:- Open the Amazon Bedrock console in the region that your credential uses.
- Go to Model catalog.
- Find the model.
- Choose Request model access.
The
us. profiles above work only from US regions. From eu-west-1, pass eu.anthropic.claude-sonnet-4-6 instead. The same applies to au. and jp.. A global. prefix works from any supported source region. It needs a wider IAM policy. Read global cross-region inference.
Mistral
Mistral Vibe runs the models of Mistral. pi, OpenCode and Prime Agent run the same models on the same credential. They also run them through OpenRouter or LLM Gateway, on those keys.
When both Mistral credentials are on, boat uses the subscription key. So usage goes to the Vibe quota of your plan first.
Grok (xAI)
pi, OpenCode and Prime Agent run the Grok models of xAI with their built-in xAI provider. Claude Code and Codex do not: xAI has no endpoint that either harness can call as it is.
Model ids:
grok-4.7, grok-4.6, grok-build-0.1. When both xAI credentials are on, boat uses the subscription. boat renews the sign-in. The sandbox gets the access token only, never the renew token.
OpenCode Go and pay-as-you-go
One OpenCode key (oc_sk_…) covers the Go plan and pay-as-you-go credits. pi, OpenCode and Prime Agent use it.