API keys
PRYSM keys are prefixedprysm_sk_ (secret key). Create one at
prysm1.com.
The base URL
All API requests go to:/v1 version segment — point your OpenAI client at
it and the SDK appends paths like /chat/completions automatically.
Sending the key
Pass the key in theAuthorization header as a bearer token:
Environment variables
The SDKs and CLI resolve configuration from the environment, so you never have to hard-code credentials.For drop-in migrations, the Python and Node SDKs also fall back to
OPENAI_API_KEY
if PRYSM_API_KEY is not set — so pointing existing code at PRYSM can be a one-line
base-URL change.Which endpoints require a key
Verify your key
Confirm a key is valid and the API is reachable from the CLI:200 response confirms the key is valid. A 401 means the key is missing, malformed,
or revoked — check the Authorization header format.
Rate limits
Each key has a per-minute request limit tied to your plan. Exceeding it returns429 rate_limit_exceeded with a message describing your limit. Back off and retry, or
upgrade your plan for a higher ceiling.
Authentication errors
401 — invalid_api_key
401 — invalid_api_key
The key is missing, malformed, or revoked. Check the
Authorization header is
present and formatted as Bearer prysm_sk_....429 — rate_limit_exceeded
429 — rate_limit_exceeded
You’ve exceeded your per-minute request limit. Retry after the current minute, or
upgrade your plan.