Skip to content

Your own key

Use your own OpenRouter key or AWS account in Sypnia Cloud, and what changes when you do.

Applies to Cloud
View as Markdown

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

Terminal
npx @sypnia/ai provider-keys add openrouter

The command asks for the key without showing it. It is stored encrypted and can never be read back, only replaced or removed.

Then point a route at it with byok::

sypnia.toml
[ai.tasks.allergen-answer]
model = "byok:openrouter/<model id>"
fallbacks = ["default"]

What changes

With Sypnia’s accountsWith your own key
Who bills the modelSypnia, in creditsyour provider, directly
Routes, limits, safety, tracesyesyes, the same
Zero-retention rulealwaysyours to keep: zero_retention: true on the key
What Sypnia Cloud charges for the callthe model’s price in creditsnothing: 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.

    Search pages, sections and terms