Core concepts

Provider accounts

Your provider accounts, what we do with them, and the catalog they draw from.

A provider account is one credential of yours at one model provider, under a label you choose. Models resolve to an account, so the account is where cost, health and rotation live.

Connect

seams providers connect production --provider anthropic --key sk-ant-…

# provider   anthropic
# label      production
# last four  8c21
# status     active

The label is the path, so connecting twice under the same label replaces the credential rather than creating a second account. That is what makes the call safe to run from a deploy script.

Health, rotation, and negotiated rates

probe sends one cheap call and records the result. Rotating replaces the plaintext behind the same label. Override list prices when you have negotiated rates, margin arithmetic uses your number.

seams providers probe production
seams providers rotate production --key sk-…
seams providers price production gpt-4o-mini --input 0.10 --output 0.40
seams providers show production
seams providers models production

This is the cost side, not the sell side. What your end users pay is set on the bundle; the two are deliberately separate numbers so margin is a subtraction rather than a guess.

The catalog

The catalog is the curated list we know how to price and route. It is what models.add --source draws from.

seams catalog providers
seams catalog models
seams catalog show anthropic/claude-sonnet-4
CommandAnswers
catalog.modelsEvery curated model, with price and context window
catalog.showOne model in full
providers.modelsWhat this account has actually loaded

A model we cannot price is refused rather than estimated. usage_unmeasurable is a 500 that pages, on purpose: an incident is better than a guessed bill.