An OpenRouter alternative that actually works for China users
Bring-your-own-key (BYOK) gateways give you one OpenAI-compatible endpoint for every model — without anyone reselling tokens on your behalf. Here's the model, why it's lower-risk, and how to start.
The problem with plain API resale
Most "cheap API" sites buy tokens in bulk and resell them. That puts the reseller between you and the model provider: they hold your balance, your data route, and your margin. If the reseller's account is frozen, your app breaks. It also creates a legal gray zone around reselling someone else's API.
What BYOK changes
With BYOK, you bring your own API key from OpenAI, Anthropic, Zhipu, or DeepSeek. The gateway only routes your request to the provider you chose, proxies the response back, and adds failover + a usage dashboard. Token cost is billed by the provider directly to your own account. The gateway charges a flat subscription or a small platform fee — never a token markup.
| Resale model | BYOK model | |
|---|---|---|
| Who pays the provider | The reseller | You (direct) |
| Token margin | Hidden markup | Zero — pass-through |
| Data route | Via reseller | Direct to provider (or your own server) |
| Risk if provider freezes acct | Your app dies | Only that one key; swap and continue |
One key, many models
Point any OpenAI-compatible client at a single base URL, drop in your virtual key, and call any model:
// base_url: https://tidelink.xyz/v1
// Authorization: Bearer byok_xxx
fetch("https://tidelink.xyz/v1/chat/completions", {
method: "POST",
headers: { "Authorization": "Bearer byok_xxx", "Content-Type": "application/json" },
body: JSON.stringify({ model: "gpt-4o-mini", messages: [{ role: "user", content: "hi" }] })
})
Switch models by changing one field. Failover is automatic: if your primary key hits a rate limit, the gateway retries the next configured key.
Why it's lower-risk for operators
Because the user pays the provider directly and the gateway never touches token balances or resale margins, the operator isn't in the business of reselling someone else's API. The gateway is infrastructure — routing, normalization, observability. That's a materially cleaner position than running a credit-resale business.
Getting started
Create a virtual key with your own provider key, then use it anywhere an OpenAI-compatible client is accepted. No token balance to top up, no resale margin, no account freeze surprise.
Top comments (0)