Linear bring your own key (BYOK) lets a workspace connect its own model provider API key to Linear’s cloud coding agent. Your provider then bills the model tokens directly. Sandbox runtime still draws from Linear AI credits at $0.03125 to $0.25 per 5 minutes, so you still need a funded credit balance.
Linear shipped bring your own key on November 12, 2026. The headline reads like “stop paying Linear for AI.” It isn’t that. BYOK moves one line of the bill to your provider and leaves the other line where it was.
If you’d rather keep agents on hardware and subscriptions you already pay for, Sharkly takes that route, and we cover how near the end.
What Linear BYOK changes
Linear BYOK is a workspace setting that routes the cloud coding agent’s model calls through your own provider account instead of Linear’s. An admin enters an API key once, every member’s new coding sessions use it, and the provider invoices you for tokens at your own rates.
The coding sessions documentation spells out the scope:
- Who sets it up: a workspace owner or admin, in Settings > Linear Code, under Inference.
- Who it applies to: everyone in the workspace. Members don’t enter keys or sign in to the provider.
- Which plans: Free, Basic, Business, and Enterprise. Legacy plans aren’t supported.
- What doesn’t change: repository access and review requirements stay as they were.
- When it takes effect: new sessions only. A session already running keeps its original provider, so keep the old key valid until that work finishes.
- Loops: coding sessions started by a Loop use the same connection.
There are two inference rows. The Anthropic row controls Claude Code sessions and the OpenAI row controls Codex sessions. You can configure one, both, or leave either on “Linear credits” so Linear keeps handling model billing for that agent.
Which providers work with Linear BYOK?
The changelog lists OpenAI, Anthropic, AWS Bedrock, Azure OpenAI, Claude in Microsoft Foundry, OpenRouter, and Vercel. It also accepts any gateway that speaks the OpenAI Responses API or the Anthropic Messages API.
In the settings dialog that maps to three choices per row. The Anthropic row takes an Anthropic key, Amazon Bedrock (region plus key), or a custom endpoint that supports the Messages API. The OpenAI row takes an OpenAI key or a custom endpoint that supports the Responses API. Save validates the credentials, and a “Test connection” button lets you check first.
Can you use a ChatGPT or Claude subscription?
No. The changelog says it in one line: “You’ll need an API key, not a ChatGPT or Claude subscription.” A personal Plus, Pro, or Max plan doesn’t count. The docs do mention “an eligible Anthropic organization” as an alternative to a raw key, which still means an API account, not a consumer subscription.
What you still pay for with your own key
With BYOK on, the bill for a cloud coding session splits in two:
| Cost line | Without BYOK | With BYOK |
|---|---|---|
| Model tokens | Linear AI credits, at provider-published rates, no markup | Your provider, at your own rates |
| Sandbox runtime | Linear AI credits | Linear AI credits |
| Loops runs | Linear AI credits | Linear AI credits |
| Other Linear AI tools in your plan | Included | Included |
The AI credits documentation is direct about it: “Sandbox runtime still uses Linear AI credits, so your workspace needs an AI credit balance even with BYOK.”

Linear sandbox runtime prices
Sandbox runtime is billed in 5-minute increments. Larger sandboxes cost more for the same wall-clock time:
| Sandbox size | CPU | Memory | Per 5 minutes | Per hour |
|---|---|---|---|---|
| Small | 1 vCPU | 8 GB | $0.03125 | $0.375 |
| Medium | 2 vCPUs | 16 GB | $0.0625 | $0.75 |
| Large | 4 vCPUs | 32 GB | $0.125 | $1.50 |
| XL | 8 vCPUs | 64 GB | $0.25 | $3.00 |
The per-hour column is our multiplication (12 increments per hour). The docs don’t say how a partial increment rounds, so treat a 7-minute session as 10 minutes until your usage report says otherwise.

The credit rules that still apply
Because a balance stays mandatory, the credit rules stay with you too:
- Adding credits is opt-in and limited to workspace admins (Owners on Enterprise).
- The minimum ad-hoc top-up is $10. The minimum automatic reload is $50.
- Credit cards are the only payment method, billed through Stripe on a separate invoice.
- Funds you add expire 12 months after purchase. Expired balances can’t be refunded, transferred, or restored.
- Failed runs, retries, and partial completions are billable for the resources used.
- Admins can’t restrict which members spend from the shared balance. Guests can be blocked from agents with a security toggle.
- When the balance hits zero, credit-based work can’t start new tasks.
For the full breakdown of credits, Loops, and the top-up flow, see our Linear AI pricing guide.
A worked example: one session, two bills
Take a single coding session on a Medium sandbox that runs for 40 minutes. To keep the arithmetic visible, assume its tokens come to $2.40 at the provider’s published rates. That figure is ours; Linear publishes no per-model rates, and your real number depends on the model and the task.
Without BYOK:
- Tokens: $2.40, deducted from Linear AI credits
- Sandbox: 8 increments × $0.0625 = $0.50, deducted from Linear AI credits
- Linear credit draw: $2.90
With BYOK:
- Tokens: $2.40 on your provider invoice, or less if you hold negotiated rates or unused provider credits
- Sandbox: $0.50, deducted from Linear AI credits
- Linear credit draw: $0.50
The total at list price is the same $2.90. Linear says it charges tokens “at provider-published rates, with no markup,” so BYOK doesn’t make the default path cheaper by itself. What changes is where the money lives.
That matters in three cases. You hold provider credits you’d otherwise leave unused. You have a negotiated enterprise rate below list. Or your finance team wants all model spend on one provider invoice with one set of controls.
It also changes how far a top-up stretches. A $10 top-up covers 160 increments of Medium sandbox, about 13 hours of runtime, when tokens no longer draw from it. On Small it covers about 26 and a half hours.
When BYOK is worth turning on
Turn it on when at least one of these is true:
- You have provider credits from a startup program or a prior commitment.
- Your provider contract gives you rates below the published price.
- Security or procurement requires model traffic to run through your own account, Bedrock, or an approved gateway.
- You want token spend to stop draining a balance that expires after 12 months.
Leave it off when none of those apply. You add a second bill and a key to rotate, and the total stays the same.
Where Sharkly fits
BYOK solves the token side. The sandbox meter remains because Linear runs the agent on compute it hosts.
Sharkly takes the other route. Agents run on a Computer, which the docs define as “a connected device, server, or container where an Agent can run work.” That can be a laptop, a build server, or a cloud server you already run. Sharkly adds no per-minute sandbox charge on top.
Model usage follows the same idea. Runs go through the Runtime on that Computer, so they bill against the Claude Code, Codex, or API account already attached to it. That includes coding subscriptions, not only API keys. Sharkly doesn’t sell tokens; we covered the reasoning in why an agent platform shouldn’t sell you tokens.
On price, the Sharkly pricing page (checked November 17, 2026) lists Free for organizations of up to 5 people and Team at $7 per person billed yearly after that. Agents, Crews, and Computers don’t take seats.
This isn’t a swap for everything Linear does. If your team plans in Linear, the Sharkly vs. Linear comparison covers where each tool sits, and using Linear with AI agents for free covers running agents against Linear issues.
Conclusion
Linear BYOK changes who bills you for tokens, not whether you pay Linear. Sandbox runtime still runs on prepaid credits that expire in 12 months, so budget for both meters. Turn BYOK on when you hold provider credits, better rates, or a compliance reason. To cut the remaining spend, read how to use Linear AI credits for free. To run agents on hardware you already own, connect a Computer to Sharkly and assign your first task.
FAQ
Does Linear BYOK make coding sessions free?
No. Your provider bills the tokens, and sandbox runtime still draws from Linear AI credits at $0.03125 to $0.25 per 5 minutes depending on size.
Do I still need Linear AI credits with my own key?
Yes. The AI credits doc says your workspace needs a credit balance even with BYOK, because sandbox runtime always bills to credits.
Can I use my ChatGPT Plus or Claude Max subscription with Linear?
No. Linear requires an API key or an eligible Anthropic organization, not a consumer ChatGPT or Claude subscription.
Which Linear plans support BYOK?
Free, Basic, Business, and Enterprise. Legacy plans aren’t supported.
Does Linear mark up model tokens without BYOK?
Linear’s docs say tokens are charged “at provider-published rates, with no markup,” plus sandbox runtime.
Can I still get Linear’s promotional launch credits?
The FAQ says existing Business and Enterprise workspaces, plus workspaces that upgraded within 30 days of launch, received them. It phrases this in the past tense and gives no launch date, so check your Usage and credits dashboard rather than planning around a grant.
What happens to running sessions when I switch keys?
Nothing. Key changes apply to new sessions. Existing sessions keep their original provider, so leave the old key valid until they finish.



