Bring your own keys

Use your provider API keys while keeping Relixr routing and observability.

Store encrypted provider credentials in Dashboard → BYOK. The gateway uses your keys at route time; usage and routing metadata still flow through Relixr.

  • Supported providers: OpenAI, Anthropic, Google, Mistral (per workspace).
  • Keys are encrypted at rest and never returned via API after save.
  • Clearing a provider key falls back to Relixr-managed credentials where available.
  • Billing: platform fee still applies; provider cost reflects your direct usage.
Save BYOK (management API)
PUT /api/workspace/byok
Authorization: Bearer mgk_...

{"provider": "openai", "apiKey": "sk-..."}