BYOK (Bring Your Own Key)
Run on your own API keys with Edgaze Plus: which steps use your keys, what you pay Edgaze, and what your provider bills.
Buyers using their own provider keys and creators choosing a listing credential mode.
Overview#
With Edgaze Plus and a key saved in API Vault, you can run model steps on your own OpenAI, Anthropic or Google key. Your provider bills those steps to your key, and Edgaze takes their model cost off the run price. The creator's margin and the rest of the run's compute still apply.
The "Use my API keys" switch#
On an Edgaze-hosted listing, the run panel shows a Use my API keys row when you have active Plus and a saved key for a provider the workflow uses. Turn it on and the row shows the new price and how the run splits, for example "$0.08 → $0.03 · 3 steps on your keys · 1 on Edgaze (DeepSeek V4 Pro)".
- A step runs on your key only when its provider (OpenAI, Anthropic or Google) has a key in your Vault.
- Every other step stays on Edgaze's keys and stays in the price. That includes models Edgaze serves itself (Kimi-K2.6, DeepSeek-V4-Pro), which have no key you can bring, and providers you have no key for.
- Edgaze remembers your choice for your account. REST API and MCP runs follow the same remembered choice, since they have no switch.
- Without Plus, or without a key for any provider the workflow uses, the row is a quiet link to add keys or upgrade instead.
Keys only ever come from API Vault. No run panel asks you to paste a key, and steps have no per-step key setting.
What you pay#
The price is worked out per step from the same plan the run executes:
- Steps on your key cost Edgaze infrastructure only.
- Steps on Edgaze's keys keep their full model cost.
- The compute part of the price is the larger of $0.002 and those costs with Edgaze's usual compute markup, rounded to a stable amount.
You pay the creator's margin plus that compute price, exactly the BYOK price you were shown. The creator earns 80% of margin, the same as on a hosted run.
Listing credential modes#
Each listing declares one credential mode:
- Edgaze-hosted: Edgaze's keys by default, and the switch above for Plus members.
- Buyer brings keys (buyer-BYOK): the switch is locked on. You need active Plus and a Vault key for every provider the listing lists. A missing key stops the run before anything is reserved; it never falls back to Edgaze's keys.
- Creator-connected: the creator's Vault keys run the listing and the creator pays the provider. There is no switch for buyers.
If a key is refused#
If your provider rejects your key (invalid, revoked or out of credit), that step fails with a clear message such as "Your OpenAI key was rejected". It never switches silently to Edgaze's key. Failover from a step on your key only tries other models from the same provider, on the same key.
Failure releases the margin charge. Compute follows the standard failure policy.
Special cases#
- Multiple providers: Mixed workflows are fine. Only the steps whose provider has your key move to it.
- Plus lapses: Your saved keys are no longer used; runs go back to Edgaze's keys and the hosted price.
- Bundle funding: A bundle run is a prepaid run on Edgaze's keys. A run with any step on your own keys (the switch, or a buyer-BYOK listing) pays the own-keys price from your wallet and never uses a bundle run, so your bundle runs are kept.
Related policies#
Was this useful?
Your response helps us improve the documentation.
Related documentation
How workflow runs are priced, funded, settled, and refunded. Step-by-step guides for buyers, creators, and developers.
How to open a workflow, fund a run, and what happens when it completes.
How the per-run price is built, what the creator earns, and what Edgaze keeps.