1
Get an API key
Create a key at prysm1.com. PRYSM keys look like
prysm_sk_.... Keep it secret — treat it like any other credential.2
Install an SDK (optional)
PRYSM is OpenAI-compatible, so you can use the official OpenAI SDK directly — or
install a first-party PRYSM SDK for the extra helpers.
3
Make your first request
Set
model: "auto" and let PRYSM route it.4
See the routing decision
Every response includes a
prysm block. With the SDKs, read it with extension():5
Preview routing without spending
Want to know which model PRYSM would pick — and the estimated cost — without
actually calling it? Use a dry run:
What just happened
- You sent an OpenAI-shaped request with
model: "auto". - PRYSM classified the intent of your prompt (here: code) and selected the best-value model for it — see How routing works.
- It returned a standard OpenAI completion plus a
prysmblock with the model, reason, cost, latency, and a PrysmProof receipt.
Next steps
Add a BRAIN.md
Pin models to tasks, cap costs, and block models — all in one version-controlled file.
Run
prysm init to scaffold one instantly.Python SDK
Helpers for routing, usage, savings, and BRAIN.md auto-discovery.
Node SDK
The same drop-in ergonomics, fully typed for TypeScript.
API reference
Every endpoint and field, with copy-paste examples.