# What is BYOK (bring your own key)?

Source: https://thinkbeside.com/learn/what-is-byok

Updated 2026-11-20 - Sources checked 2026-10-29

**Short answer:** BYOK, short for bring your own key, means an AI app runs on an API key you create with a provider such as OpenAI, Anthropic or Google. The provider bills you directly for the tokens you use, at its API rates, instead of the app selling you access through its own subscription. You can revoke the key at any time.

## Two meanings of BYOK

In AI apps, BYOK means you paste an API key from a model provider into the app, and the app sends your requests to that provider with your key. You choose the provider and the model, and your usage appears on your own provider bill.

In cloud security, BYOK means something else: a company supplies its own encryption keys to a cloud service's key management system, so it controls how its stored data is encrypted. This page is about the first meaning.

## How you are billed

You sign up on the provider's developer platform, add a payment method or prepaid credit, and create an API key. Each request is then charged by the number of input and output tokens, at that model's list price. There is no monthly fee from the provider; you pay for what you use.

A chat subscription is a separate product. ChatGPT Plus and Claude Pro cover those companies' own apps, and API usage is billed on its own [s2] [s3]. See [ChatGPT Plus or the API](/learn/chatgpt-plus-vs-api).

**Your own key or a Thinkbeside plan**

|  | Your own key | A Thinkbeside plan |
| --- | --- | --- |
| Who bills you | The provider, at its API rates | Thinkbeside: a free plan, or Plus |
| What a reply costs | The tokens it uses, at the model's list price | Credits from the monthly allowance |
| Where requests go | From your browser to the provider | Through Thinkbeside's gateway to the provider |
| Models | Any model your key can use | The models on your plan |
| What you need | An account and a key with the provider | Only a Thinkbeside account |

How Thinkbeside works in version 1.8.0: on a plan, 1 credit is US$0.001 of what the model costs at list price, with no markup. Plan prices and allowances are on the Plans page.

## Where your key goes

That depends on the app. Some keep the key in your browser and send requests straight to the provider. Others send the key to their own server, which calls the provider for you, so your key and your messages pass through that server.

In Thinkbeside, a key you add is encrypted with AES-GCM and kept in the extension's storage in this browser, under a wrapping key that can't be read back out. It is never synced to your account and never given to web pages or the in-page toolbar. Requests made with your key go from the sidebar straight to the provider. On a Thinkbeside plan, requests go through Thinkbeside's gateway instead, and no key of yours is involved.

## The risks, and how to limit them

An API key works like a password that spends money. OpenAI tells developers never to put their key in browsers or mobile apps they ship to other people, because anyone using that app could take it [s1]. With BYOK it is your own key in your own browser, but a similar risk remains: anyone with access to your browser profile, or malicious software on your computer, could use it.

- Create a separate key for each app, so you can revoke one without breaking the others.

- Set a spending limit or budget alert on the provider's platform where it offers one.

- Give keys an expiry date where the provider supports it, and replace them on a schedule [s1].

- Revoke a key at once if you think it has leaked, and check your provider's usage page.

## Where to get a key

Each provider issues keys from its own developer console: the OpenAI Platform, the Claude Console for Anthropic, Google AI Studio for Gemini, the DeepSeek Platform and the xAI Console. Settings in Thinkbeside links to each one next to its provider. Step-by-step guides: [OpenAI](/learn/how-to-get-openai-api-key), [Claude](/learn/how-to-get-claude-api-key), [Gemini](/learn/how-to-get-gemini-api-key) and [DeepSeek](/learn/how-to-get-deepseek-api-key).

## Sources

- s1: [Best practices for API key safety](https://help.openai.com/en/articles/5112595-best-practices-for-api-key-safety), OpenAI, checked 2026-10-29

- s2: [Managing billing for ChatGPT and the API platform](https://help.openai.com/en/articles/9039756-managing-billing-for-chatgpt-and-the-api-platform), OpenAI, checked 2026-10-29

- s3: [Why is Claude API usage billed separately from my paid Claude plan?](https://support.claude.com/en/articles/9876003), Anthropic, checked 2026-10-29

## Is BYOK cheaper than a subscription?

Often, for light and medium use, because you pay only for the tokens you use. Heavy use of the most expensive models can cost more than a flat subscription. Worked examples are in [What the OpenAI API costs](/learn/openai-api-cost).

## Does the app see my key?

Yes, it has to use the key to send requests. What matters is where it keeps the key and where it sends it. Look for an app that keeps the key on your device and sends it only to the provider, and check its privacy policy.

## Can I use my ChatGPT Plus or Claude Pro subscription instead of a key?

Not as an API key. Those subscriptions cover the providers' own apps, and API usage is billed separately on their developer platforms.

## What happens if I revoke the key?

Requests with that key stop working, in every app that uses it. Create a new key and paste it into the apps you still want to use.

Your OpenAI key, in a sidebar: [See how it works](https://thinkbeside.com/use/chatgpt-sidebar-own-api-key)

