Get started
Core concepts
Providers, tiers, the quality floor, trust and the baton on one page.
Six ideas explain almost everything Relief does.
Providers
A provider is a company or program that serves models over an OpenAI compatible API, reached with your own key. Built in presets are OpenRouter, DeepSeek, Gemini, Groq, OpenAI, Anthropic and Ollama. Any other OpenAI compatible API can be added in settings. Your key is read from an environment variable, never stored in settings. See Providers overview.
Tiers
Every model sits in one of three tiers: premium, standard or economy. A provider declares which of its models belong to which tier. Relief walks a tier from the best model down, and skips a model that answered 503 or 429 for 90 seconds.
The quality floor
routing.qualityFloor is the lowest tier Relief will answer from without asking. If models at or above the floor are all busy, you see a countdown and then a choice: wait, use a lower tier for this answer (labelled), or cancel. Scripts get exit code 3 instead. You never get a weaker model quietly. The built in default floor is premium, and frontier setup sets it to match your budget: economy for free models, standard for paid. See Tiers and the quality floor.
The free lane
When your configured models cannot answer, and the free lane is on, Relief tries free models from each provider's live model list before it gives up. Those answers are labelled free lane and count as unrated, because a free model has no tier. It is on when budget is free. See Tiers and the quality floor.
Trusted folders
A repository can ship settings and instruction files that steer the agent. So Relief reads them only from a folder you have trusted, pins what you approved, and lets only your own user settings change anything that decides where your keys and code go. See Trusted folders.
The baton
When Claude Code hits its limit, the baton carries the task on in Relief, on your own keys, inside a spending cap, and keeps a record so Claude can audit it. See How the baton works.
The critic
A model from a different company than the one that wrote a change can review it. /review does it on demand, and the review setting can do it before each edit approval or at the end of each turn. It is advice, never a decision. See Second opinions.
How they fit together
your prompt
|
routing: walk the providers you configured, best tier first
| skip busy models, keep the quality floor, respect the spend cap
|
agent: read, search, edit, run, each step through the permission gate
|
you: see the diff, answer y or n, undo if you want