tiny-router

Bring your own key

Use your own provider credentials and pay a routing fee.

Bring your own key and we stop reselling you inference. Your traffic goes out on your credential, at your provider rates, and we charge only a routing fee.

Supported providers

  • OpenRouter — your own account, the full catalog.
  • OpenAI, Anthropic and Google — called directly, with request and response translated to and from the OpenAI shape.

Adding a key

Add it on the BYOK page. We call the provider once, with the key, before storing anything: a typo fails at that moment rather than on your next request.

How it is stored

Secrets are sealed with envelope encryption. A per-secret data key encrypts the credential, and a key-encryption key wraps the data key. The plaintext exists in memory for the length of one request and is never written to a log, an error or a table.

Routing

  • prioritized — your key first, ours only if yours cannot serve the request.
  • fallback — ours first, yours as the backup.
  • An optional model filter limits which models use your credential at all.

A missing adapter, a revoked credential or an unknown provider degrades to the next route in the chain. Routing never strands a request.

Metering still applies

Direct providers do not report a cost, so BYOK traffic is priced from our catalog for accounting and your spend limits. Your card is charged by the provider; ours only takes the routing fee.