Bring your own key (BYOK)
Linear added bring your own key support to its cloud coding agent, so model usage can be billed to your own provider account and your existing credits or negotiated rates.
A workspace owner or admin sets it up once under Settings → AI & agents → Cloud coding agent, in the Inference section. The Anthropic row covers Claude Code and the OpenAI row covers Codex. You can configure either or both, or leave a row on Linear credits. Members don't enter their own keys, and repository access and review requirements stay the same.
You can connect directly to OpenAI or Anthropic, or go through AWS Bedrock, Azure OpenAI, Claude in Microsoft Foundry, OpenRouter, Vercel, or any gateway that supports the OpenAI Responses or Anthropic Messages API. It needs an API key, not a ChatGPT or Claude subscription.
Your provider bills the model usage. Linear still charges AI credits for the sandbox where the agent runs your code, so your workspace needs credits either way. Changes apply to new sessions only. Existing sessions keep using their original provider, so keep a valid key in place if you want to resume work started with your own key.
BYOK is available on all current plans (Free, Basic, Business, and Enterprise). Legacy plans aren't supported.
Loading replies…