Writing

Bring your own key: which provider, and when it pays

Bring a key from OpenAI, OpenRouter or Vercel AI Gateway: where a reply's tokens go, and the volume at which buying the model directly beats a bundle.

·8 min read

Bundled model pricing is convenient and it has a crossover point. Below it you are paying a little extra for someone else to hold the API key; above it you are paying a lot extra. The only question is where your volume sits.

Where the money in one reply goes

Start with the anatomy, because it explains the whole economic shape. A grounded support answer is not an expensive piece of generation — it is a cheap piece of generation attached to an expensive piece of context.

4 passages
Model
System prompt and tools
220
Retrieved passages (4)
2,000
Conversation so far
300
The question itself
40
The answer it writes
420
Charged at $0.50 per million, against $0.10 going in
Cost of one answer$0.000472,560 in, 420 out
Per 1,000 answers$0.47
Retrieved text78%Of the input, at this setting
Retrieval is the billThe question is forty tokens and the answer four hundred. Nearly everything you pay for is the context fetched to make the answer checkable — which is the argument for retrieving four good passages rather than eight mediocre ones.
Fig. 01The tokens in one grounded reply— change how many passages get retrieved →↳ token counts are ours, measured on real replies; prices are the provider's list prices

The question is forty tokens. The answer is four hundred. Everything else — usually 80% or more of what you pay — is the retrieved text that makes the answer checkable rather than invented. That is a cost worth paying; the alternative is a confident guess. But it means your bill is governed by retrieval settings, not by how chatty your customers are.

You are not buying answers. You are buying the context that makes an answer safe to send, and the answer comes almost free with it.

Which key to bring

Three providers, and the choice is less about price than about what happens on a bad day. All three cost the same from us — the platform charge is identical — so the decision is entirely about the catalogue you want to reach and who you would rather be billed by.

Whose key you bring
Where the key comes from
OpenAI
Models you can reach
OpenAI's own
If a provider goes down
You wait
Model ids
Bare — gpt-6-luna
Embeddings
Published, and selectable
Best when
You are already an OpenAI shop
What you are choosing betweenThe shortest path and the cheapest list price. One account, one invoice, and nothing between you and the model — including nothing to route around an outage.
Fig. 02What each key gets you— switch providers →↳ all three are selected on the Settings page when you save the key, and can be changed later

Two details worth knowing before you pick. Model ids differ by a prefix: a gateway and OpenRouter both want openai/gpt-6-luna while OpenAI direct wants gpt-6-luna — we drop the prefix for you, so one value works on all three and moving provider does not mean re-typing your model settings.

And OpenRouter does not publish embedding models in its public catalogue. The embedding picker there offers a short list instead, and the vector width is measured by embedding a probe string when you save — so a name that has stopped working is refused at that moment rather than at your next upload, which is a much worse place to find out.

Your break-even

Here is the comparison with both sides costed. On our key, a reply spends the platform charge plus the model's tokens converted into replies. On yours, it spends the platform charge only — and the provider bills you directly for the tokens.

3,000
Model
On our key
$249
Business plan
On your own key
$90
Pro plan, plus $1.40 billed to you by the provider
Replies spent per answer0.40Platform only, on your key
On our key0.87Platform plus the model
Model cost per answer$0.00047At the provider's list price
Your own key saves about $159 a monthPast a few thousand answers the model is most of the bill, and buying it directly is cheaper than buying it bundled. Assumes 2,560 tokens in and 420 out per answer. A longer knowledge base does not change this; more retrieved passages do.
Fig. 03Bundled against bring-your-own, at your volume— drag your monthly volume, then switch models →↳ every figure runs through the same functions that bill a real workspace, so this cannot drift from an invoice

Two things fall out of dragging that slider. The crossover moves a long way depending on the model — on a cheap one the platform fee is most of the cost and bundling stays competitive much longer. And the saving at realistic volumes is real but not dramatic, which is the honest answer most comparison pages avoid giving.

What you take on with the key

  • A second invoice. Someone has to reconcile two bills instead of one, and the provider's is itemised by token rather than by anything a finance team recognises.
  • Your own rate limits. If your key hits a provider limit mid-conversation, the assistant degrades and it is your account's problem to raise. Bundled capacity is somebody else's pager.
  • Model choice, which is a real benefit. Your key, your model — including one we have never heard of, if OpenRouter carries it. If you have negotiated rates or committed spend, BYOK is how you use them.
  • Your data boundary moves. Prompts go to your account under your agreement with the provider, not ours. For some buyers that is the entire reason to do it, independent of price.

Which to pick

  1. Under a thousand answers a month: bundled, without thinking about it. The saving is a rounding error against an hour of your time.
  2. A few thousand, on a cheap model: still bundled, probably. Check the figure, but the platform fee dominates.
  3. A few thousand, on a strong model: your own key. The tokens are the bill and you can buy them cheaper than we can resell them.
  4. Any volume, with a data-residency or vendor requirement: your own key, regardless of price. This is not a cost decision.

And whichever you pick, the lever with the largest effect on the bill is not the key — it is how much context each answer drags in. Training it on fewer, better documents reduces cost and improves accuracy at the same time, which is a rare combination. For the wider comparison against per-resolution and per-message vendors, the cost-per-conversation post puts all of them on one axis.

Common questions

What does BYOK mean for an AI chat assistant?
Bring your own key: you supply an API key and the assistant calls the model on your account instead of ours. We support three — OpenAI directly, Vercel AI Gateway, and OpenRouter — and you pick which when you save the key. The provider invoices you for the model; we charge only for the platform.
Should I use OpenAI, OpenRouter or Vercel AI Gateway?
OpenAI if you already have an account and want the shortest path and the cheapest list price. Vercel AI Gateway if you want one key across several providers and automatic routing when one of them is down. OpenRouter if you want the widest catalogue, including open-weight models nobody else resells. All three cost the same from us.
At what volume does BYOK become cheaper?
Usually past a few thousand answers a month, and it depends more on the model than the volume. On a cheap model the platform fee dominates and bundling is simpler; on a strong reasoning model the tokens are most of the cost and buying them directly wins. The calculator in this post runs your numbers through the same functions our server bills with.
What are the downsides of bringing your own key?
Two things worth pricing: a second invoice to reconcile, and your own rate limits to manage. If your key hits a provider limit mid-conversation, that is now your outage. Below a few thousand replies a month the saving rarely covers the administration.
What makes up the token cost of one AI support reply?
Nearly all of it is retrieved context. In a typical grounded reply the question is around 40 tokens and the answer around 420, while the passages fetched to make the answer checkable run into thousands. That is why retrieving four good passages beats eight mediocre ones on both cost and accuracy.
pricingbyokmodels

Try it on your own content

25 free replies, no card. Point it at your site, ask it the three questions you answer most, and read what it says.

Read next

models·11 min read·4 figures to try

Which model should an AI support assistant run on?

Which model to run a grounded support assistant on, with prices from each vendor's own page: the cheapest that calls tools reliably, and what reasoning costs.

pricing·9 min read·3 figures to try·Updated 27 November 2026

How much does AI customer support cost per conversation?

What AI customer support costs per conversation under per-resolution, per-message and per-reply pricing, worked out with a calculator for your own numbers.

pricing·6 min read·1 figure to try

Is Intercom Fin worth it for a small business?

Fin bills $0.99 per resolution, and a customer who stops replying counts as one. What that costs a small business at 100, 300 and 1,000 chats a month.

Written by Shardul Gautam, who builds Zinx Chat.