/v1/chat/completions endpoint. Your requests then run on your
credential and your provider account’s billing — Square1 is the relay.
BYOK availability is an operator switch. When it’s off, BYOK model ids
return
403 byok_disabled.Register a credential
Credentials are managed in the dashboard’s BYOK page — you pick a provider, paste your key (plus provider-specific settings like region or project where relevant), and the dashboard verifies the credential with a live test call before saving. Secrets are write-only: once saved, they are never displayed again. Supported provider types include Anthropic, OpenAI, Google AI Studio, DeepSeek, OpenRouter, LLM Gateway, AWS Bedrock, Vertex AI, and any OpenAI-compatible endpoint (compat).
Call a BYOK model
Prefix the model id with@:
<upstreamModelId> is the model id as your provider names it —
Square1 forwards it verbatim and does not maintain a catalog for your
provider. For the same reason, BYOK models do not appear in
GET /v1/models.
Error surface
Because you own the upstream relationship, failures on your BYOK requests
can include your provider’s own error details — visible only to you, on
your requests.