Skip to main content
Most developers send every request to gpt-4o or claude-opus out of habit. That habit costs 10–50× more than necessary for the majority of prompts. A simple classification question, a JSON extraction, a grammar check — these tasks don’t need a frontier model. PRYSM routes them automatically to the cheapest capable model and reserves the heavy models only for prompts that need them.

The one-line change

Every chat.completions.create() call now routes automatically. Your code stays identical.

What just happened

When you send a prompt, PRYSM scores it across 10 signals in ~1 ms: Typical distribution in a production app: ~60% simple, ~30% code/mid, ~10% frontier. That mix costs **0.280.50/MTokblendedinsteadof0.28–0.50/MTok blended** instead of 5–21/MTok for all-frontier.

Verify routing in the response

Every PRYSM response adds three fields under prysm:

Dry-run before committing

Use /v1/route to see which model PRYSM would pick for a prompt — no tokens consumed:

Real savings estimate

Use /v1/savings to quantify what you’d save given your current usage:
Get your key in 30 seconds — sign up at prysm1.com, get a prysm_sk_* key, and your first 1,000 requests are free.