HridaSpro Docs

Features

BYOK

Bring your own provider keys — use your own provider accounts while keeping Spro's gateway, routing, and guardrails.

BYOK (Bring Your Own Key) lets you connect your own provider API keys to Spro. Requests served through your keys continue to use Spro's gateway, routing, guardrails, caching, and observability while the underlying provider account, pricing, and billing remain yours.

How BYOK is used

BYOK is the default-first behavior. When a workspace has a BYOK credential configured for the provider being requested, Spro attempts to serve the request using that credential first.

If no BYOK credential is configured, or the configured credential cannot serve the request because of an authentication error, rate limit, or provider error, the request can fall back to Spro's managed provider access where available.

You configure the credential once at the workspace level. Requests using that provider can then automatically use the configured BYOK credential without requiring provider-specific configuration on every request.

Supported providers

BYOK is available for the following providers:

ProviderConfiguration
AnthropicAPI key
AzureAPI key / endpoint
CerebrasAPI key
DeepSeekAPI key
Google AI StudioAPI key
GroqAPI key
MiniMaxAPI key
Mistral AIAPI key
Moonshot AIAPI key
OpenAIAPI key
PerplexityAPI key
SambaNovaAPI key
TogetherAPI key
xAIAPI key
XiaomiAPI key
Z.AIAPI key

Your provider credentials are encrypted at rest and are not exposed as plaintext after they are saved. The dashboard displays a masked reference rather than the complete credential. See Data Handling.

Billing and usage

BYOK-served requests are not charged against your Spro credit balance. The underlying model usage is billed by the provider according to your provider account and pricing.

Spro continues to record usage and telemetry for BYOK requests, including:

  • Request activity
  • Token usage
  • Model and provider information
  • Latency
  • API key usage
  • Guardrail decisions
  • Routing information

BYOK changes which provider account is responsible for the model charges, not whether the request is observable through Spro.

What's next