Skip to content

BYOK integration

Bring your own key (BYOK) lets Rikaii route requests through your credentials for a given provider (for example OpenAI, Anthropic, or Google) instead of Rikaii-managed keys.

Configuration journey

To add your own provider keys, open the DashboardSettingsBring Your Own Key (BYOK) (rikaii.com/dashboard/settings).

You must have an active Pro subscription to unlock the BYOK interface—without Pro, saving or rotating provider keys through the account API returns 403 Forbidden.

Secrets are stored securely and are never returned in plaintext from account APIs.

Routing behavior

When a route maps to a provider for which you have configured a valid key, eligible requests may use that key for the upstream call. Precedence follows your routing rules, fallback settings, and Safety Net options in the Dashboard.

Billing

Traffic satisfied only with your provider credentials is generally billed by that provider under your contract with them. Rikaii may still apply platform fees depending on your plan—see Billing in the Dashboard.

See also The safety net.

Rikaii API documentation