Guides
Bring Your Own API Key: What It Means
You sign up for an AI tool, and instead of paying per seat for AI use, it asks you to paste in your own API key. That is the bring your own API key model, often shortened to BYOK. It takes five minutes to set up, but you should understand what you are agreeing to before you paste a key anywhere.
This guide explains how it works, when it saves you money, the trade-offs, and how to keep your keys safe on a Mac.
How bring your own API key works
With a normal subscription, the app pays the AI provider and bundles that cost into your plan. With bring your own API key, you open a separate account with the provider, create a key, and give the app permission to make requests on your account.
In practice the steps look like this:
- You create an account with an AI provider, such as Google or Anthropic.
- You create an API key in the provider console and set a spending limit if the console offers one.
- You paste that key into the app's settings. The app stores it and adds it to its requests.
- The provider bills you directly for the requests the app makes.
The app still charges you for its own features, but the AI use itself goes on your provider bill. If you already know which provider you want, follow our walkthrough for how to get a Gemini API key or how to get an Anthropic API key.
Both Google and Anthropic offer API access aimed at individual developers and teams, at the time of writing — check their site for current pricing/features before you decide.
Why teams choose it
Cost control
BYOK can make costs easier to see and cap. Your provider dashboard shows what you used, and you can often set monthly limits or alerts per key. Say a client asks for one long research call each week plus a few short check-ins. You might use very little AI time in some weeks and more in others. With BYOK, a quiet week costs you less.
It also avoids paying twice. If you already pay a provider for other work, one more app can run through the same account. You see a single AI bill instead of AI costs hidden inside five different subscriptions.
That said, metered billing needs attention. Ask yourself:
- Do you know roughly how many requests you will make per week?
- Does the provider let you set a hard cap or only an alert?
- Who on your team checks the bill each month?
If no one will check, a flat plan may suit you better even if the unit price is higher.
Privacy and control
A key is also a switch. You can see which app used what, rotate a key when a contractor leaves, or revoke access without closing your whole account. That matters when you run client work from your own laptop.
You still need to read what the app sends with each request. A careful tool sends only the question text and the passages needed to answer it. HintGoblin, for example, transcribes speech on-device and sends only redacted question text and matching snippets to the AI provider.
For more on this pattern, read our notes on local-first AI privacy.
Flexibility to switch providers
When the key is yours, you can change models or providers without changing apps — if the app supports more than one provider. You can test the same task on two providers during a quiet week and keep the one that gives you clearer answers for your material.
Provider consoles and model names change often, at the time of writing — check their site for current pricing/features when you compare them.
The downsides to weigh
BYOK is not free work. You take on setup, billing, and key care. Here is a fair summary you can copy into your own notes when you compare plans.
| Area | Bring your own key | All-included plan |
|---|---|---|
| Setup | You create accounts, keys, and limits | Sign up and start |
| Monthly cost | Lower app fee + your provider use | One flat fee |
| Cost spikes | Possible if use jumps and no cap is set | Rare, but fair-use limits may apply |
| Visibility | You see exact use per key in the provider console | You see the app's own reports only |
| Key care | You store, rotate, and revoke keys | The vendor manages provider access |
| Switching | Change keys or providers yourself | Wait for the vendor to add options |
| Best for | Solo consultants, small teams with uneven use | Teams that want one bill and no setup |
The most common complaint is surprise use. Someone pastes a key into a shared machine, leaves it in a script, or sets no limit. The fix is simple: one key per app, a clear name such as "macbook-meeting-app", and a spending limit from day one.
The second complaint is support. If an answer fails, you may need to check two places: the app and the provider console. Keep the provider's status and billing pages bookmarked so you can tell a key problem apart from an app problem.
How to keep your API key safe on a Mac
Treat an API key like a password that can spend money. Anyone with the key can make requests on your account until you revoke it. These habits take a few minutes and prevent most problems.
Store it in Keychain, not in notes
When an app asks for your key, check whether it stores the key in Apple Keychain. Keychain keeps secrets in an encrypted store tied to your login, instead of plain text in a settings file. If the app documents where it stores keys, read that page before you paste anything.
For your own backup copy, use this checklist:
- Save the key in Apple Keychain or your password manager on the day you create it
- Name it with the app and device, for example "Anthropic - work MacBook - meeting app"
- Delete the key from downloads, screenshots, emails, and chat messages
- Never paste the key into a shared doc or ticket
- Set a calendar reminder to rotate the key every 6–12 months
macOS Keychain Access and most password managers let you copy a secret without showing it on screen. Use that copy button when you paste the key into the app.
Limit what each key can do
Create a separate key for each app instead of reusing one key everywhere. If one key leaks, you revoke only that key and the rest of your work keeps running. Most provider consoles let you:
- Name keys so you know where each one lives.
- Set monthly spending limits or alerts per key or per account.
- Restrict which models a key can call, if you only need one model.
- Revoke a key in one click and create a replacement.
After you revoke a key, update the app with the new key and delete the old value from your clipboard history and any draft where you pasted it.
Know the signs of a leak
Revoke and replace your key at once if you notice any of these:
- Provider use jumps on a day you made few requests.
- You see requests from a device or region you do not recognise.
- You pasted the key into a tool that stores or shares prompts.
- A teammate who had the key leaves the project.
Do not wait to confirm. Revoking takes seconds, and you can create a new key right after. For official steps, see the Google AI Studio docs and the Anthropic Console docs.
Is BYOK right for you?
Use this short decision list. If you answer yes to most of the first group, BYOK is probably a good fit.
Choose bring your own API key if:
- Your AI use changes week to week.
- You already have a provider account and know the console.
- You want per-key spending limits and direct bills.
- You are comfortable creating and rotating keys.
Choose an all-included plan if:
- You want one receipt and no provider account.
- Several teammates share the tool and no one will watch use.
- You need predictable costs for client billing.
- Setup time matters more than unit cost.
Either way, recheck once a quarter. Export one month of provider use, divide it by the number of calls or matters you handled, and compare that total with the flat plan. Pick the cheaper option that your team will actually maintain.
Where HintGoblin fits
HintGoblin offers a bring-your-own-key plan at $105/year that uses your own Google Gemini or Anthropic API key, alongside standard monthly and yearly plans. It runs on your Mac with on-device transcription and no meeting bot. See pricing to compare the options.
Frequently asked questions
What does bring your own API key mean?
It means you paste your own key from an AI provider, such as Google or Anthropic, into an app. The app then sends its requests through your account, and you pay the provider directly for that use.
Is bring your own API key cheaper?
It can be if your use is light or uneven, because you pay only for what you use plus a lower app fee. If your team makes many requests every day, a flat plan can be simpler to budget.
Is it safe to paste my API key into an app?
It depends on how the app handles keys. Prefer apps that store your key on your device, send only the text they need to the provider, and explain what leaves your machine.
Where should I store API keys on a Mac?
Store copies in Apple Keychain or another password manager, never in plain notes or chat. If you must keep a backup, keep it in one secure place and delete other copies.
What happens if my API key leaks?
Someone else can make requests billed to your account until you revoke the key. If you suspect a leak, revoke the key in the provider console at once and create a new one.
HintGoblin
Never say “let me get back to you” again.
Knowledge graphs for every meeting, cited answers during the call, minutes and action points after. Mac app + web dashboard.
See plans →