Your own key
Use your own OpenRouter key or AWS account in Sypnia Cloud, and what changes when you do.
In Sypnia Cloud you can bring your own OpenRouter key or AWS account, for example to use a contract you already have with a provider.
OpenRouter
npx @sypnia/ai provider-keys add openrouterThe command asks for the key without showing it. It is stored encrypted and can never be read back, only replaced or removed.
Amazon Bedrock
npx @sypnia/ai provider-keys add bedrock --role arn:aws:iam::123456789012:role/sypnia-ai --region us-east-1Sypnia AI assumes that role in your AWS account with an external id the command prints; the role needs only bedrock:InvokeModel and bedrock:InvokeModelWithResponseStream.
Then point a route at it with byok::
[ai.tasks.allergen-answer]
model = "byok:openrouter/<model id>"
fallbacks = ["default"]What changes
| With Sypnia’s accounts | With your own key | |
|---|---|---|
| Who bills the model | Sypnia, in credits | your provider, directly |
| Routes, limits, safety, traces | yes | yes, the same |
| Zero-retention rule | always | yours to keep: zero_retention: true on the key |
| What Sypnia Cloud charges for the call | the model’s price in credits | nothing: no credits, no fee |
Calls through your own key cost nothing on Sypnia: only your provider bills you, at its prices. They still show in your usage, with zero credits, so you see them beside the rest.
A key belongs to one project. If it is removed or stops working, calls on routes that use it fail with provider_key_failed, or move to their fallbacks.