Short answer: BYOK stands for "bring your own key." In AI tools it means the tool runs its AI on your own API key from a model provider, such as Anthropic or OpenAI. The AI usage is then billed to your account with that provider, instead of to the tool's credits or subscription.
We build VibeKit, which supports BYOK for Anthropic and OpenAI. Everything said about other companies here was checked against their own pages in November 2026.
What does BYOK stand for?
"Bring your own key." The phrase is older than AI tools, and it means two different things depending on where you meet it:
- In cloud security, the key is an encryption key. You create it on your own hardware and move it into the cloud provider's key service, so your data is locked with a key you control. Microsoft's Azure documentation describes moving a key from your own hardware security module into Key Vault and says: "This process is called bring your own key (BYOK)."
- In AI tools, the key is an API key: a long secret string that lets software call an AI model on your account. When a tool supports BYOK, you paste that string into the tool and it uses your account for its AI calls.
Same three letters, different key. If a search for "byok" showed you encryption pages, that is why. The rest of this post is about the AI meaning.
How does BYOK work in an AI tool?
- You create an API key with the provider. For Claude, keys are made in the Claude Console: Anthropic's docs say "API keys for the Claude API ... live in the Claude Console."
- You paste the key into the tool's settings. A careful tool stores it encrypted and never shows it back to you in full.
- The tool calls the model with your key. The provider counts the usage on your account and bills you at its own prices. OpenAI, for example, lists its API prices per million tokens (a token is a chunk of text, roughly three quarters of a word).
Without BYOK, the tool calls the model with its own key and charges you for it, usually through credits or a monthly plan. That price often includes a margin on top of what the provider charges the tool.
Is my Claude subscription the same as an API key?
No. For Claude, a chat subscription and the API are separate. An API key belongs to a Claude Console organization, and its usage is counted and billed there. Anthropic says API usage "is never charged to your Claude plan", and it doesn't use up your chat limits either.
There is one useful link between them: Max, Ultra and Team plans come with monthly API credits you can claim. Anthropic lists $100 a month for Max, $200 for Ultra, and a per-seat amount for Team, and says "Free, Pro, and Enterprise plans aren't eligible." To claim them, you link a Console organization to your plan; any API key from that organization then draws on the credits, with no card needed. Unused credits expire at the end of each billing cycle. So on Max, Ultra or Team, check what you can claim before you buy API credits.
Some tools blur the line by letting you sign in with a subscription instead of pasting a key. Claude Code and Codex both work this way, and we explain the details in does Claude Code support BYOK, and Codex?.
Why would you use BYOK?
- The provider bills you directly. You pay its prices on your own account, which can save heavy users money. Some tools add their own fee on top, and say so: OpenRouter charges 5% above a monthly allowance, and Cursor's Teams and Enterprise plans charge a per-token rate on eligible models even with your own key. Others, VibeKit included, add nothing to the AI calls.
- You choose the model. Your key works with whichever of that provider's models the tool lets you pick.
- You can cap your spend. Providers let you set limits on the key's account. Anthropic's API docs describe a spend limit as the "Maximum monthly cost for API usage."
- You keep one bill. If your team already pays Anthropic or OpenAI, the tool's AI usage lands on the same account.
What are the downsides of BYOK?
- A second bill to manage. You pay the tool for its plan and the provider for the AI. A runaway task shows up on the provider's bill, not the tool's.
- The key is a secret that spends your money. Anyone who gets it can run up charges until you revoke it. We wrote a full guide on what an app can see when you paste your key.
- Not every feature uses your key. Cursor, for example, says "Custom API keys only work with chat models. Tab completion continues using Cursor's built-in models."
- It is not always cheaper. A light user can pay less on a tool's bundled credits than on raw API prices. We ran the numbers in BYOK vs platform-paid AI and the real cost of 100 calls a day.
Where will you see BYOK in AI tools?
| Tool | What your key powers | Source |
|---|---|---|
| Cursor | Chat models, with keys from OpenAI, Anthropic, Google, Azure or AWS Bedrock. Tab completion stays on Cursor's own models. On Teams and Enterprise, eligible models still carry Cursor's token rate of $0.25 per million tokens, "including requests made with your own key". | Cursor docs |
| OpenRouter | Your own provider keys, used through OpenRouter. No OpenRouter fee on the first $25,000 a month of list-price usage (Standard and Business plans), then 5% of what the same request would cost on OpenRouter. | OpenRouter pricing |
| Claude Code, Codex | Always your own credentials: an API key or a subscription sign-in. | Our explainer |
| Replit, Bolt, Lovable, v0 | Varies, and often only the app you ship, not the builder's agent. | Our comparison |
| VibeKit | The building agent, with an Anthropic key, an OpenAI key or a ChatGPT sign-in. Calls go straight to the provider, with no markup. | This post |
What is the "BYOK for your app" trap?
There are two places an AI key can go in an app builder, and they are easy to mix up:
- The builder's agent, the AI that writes your code. BYOK here means your key pays for the building.
- The app you ship. If your app has its own AI feature, such as a chatbot for your visitors, it needs a key too. Storing that key is just an app secret.
Several builders say "bring your own key" and mean only the second one. Our comparison of Replit, Cursor, Bolt, Lovable and v0 goes through each one.
How does BYOK work on VibeKit?
- Where: on the web, Settings > AI providers. On iPhone, the Profile tab.
- Which providers: Anthropic or OpenAI. Signing in with ChatGPT counts as OpenAI.
- What you pay for AI: the provider's own price. With your key connected, the agent's AI calls go directly to Anthropic or OpenAI on your account, with no markup and no VibeKit credits used.
- Without a key: the agent runs on platform models and the usage is billed to your VibeKit credits, and there is a free tier that costs $0.
- The app's own AI features do not use your key. If the app you build talks to an AI model for your visitors, that runs on VibeKit's platform models and is billed to your VibeKit credits, with free models when your credits run out. Your visitors never need a key or an account with an AI company.
FAQ
What does BYOK mean for Claude? It means using an Anthropic API key, made in the Claude Console, inside another tool. A Claude subscription is not an API key, but Max, Ultra and Team plans include monthly API credits you can claim for the Console organization your key belongs to. Pro does not.
Is BYOK safe? It is as safe as the tool that holds your key. Look for encrypted storage, calls that go straight to the provider, and an easy way to remove the key. Then set a spend limit with the provider. Our BYOK security guide has the full checklist.
Is BYOK cheaper? For heavy use, usually. For light use, a plan with bundled credits can cost less. It depends on how many AI calls you make and which model you use.
Does BYOK keep my prompts away from the tool? No. The tool still reads your prompts in order to send them to the provider. BYOK changes who pays for the AI, not who sees the conversation.
What is BYOK in cloud security? Creating your own encryption key and importing it into a cloud provider's key service, such as Azure Key Vault, so data is encrypted with a key you control. It is unrelated to AI API keys.