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.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.
See the routing decision
Every response includes a
prysm block. With the SDKs, read it with extension():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.
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.