Docs Models and providers
Usage and failover
See each agent provider's plan limits and reset times once you allow it, and let a task carry on with another provider and a handover when one runs out.
Subscriptions have limits: a five-hour session window, a weekly cap, sometimes a monthly one. Quad Harness can show how much of each provider’s plan is used, and, if you want, move a task to another provider when one runs out.
Note. Usage reading and failover are new in 0.2.0. They were tested with stand-in programs and have had little real-world use. Expect rough edges.
The usage page
Open it in either place:
- Settings → Models and agents → Agents, then the Usage and failover tab.
- Settings → Usage and cost → Usage.
There is a card for each provider account. Once you allow reading, a card shows:
- A bar for each limit, with how much is used. The colour moves from calm to warning at 70% and to red at 90%. A limit that is used up says At its limit.
- When each limit resets, for example Resets in 3h 12m.
- When it was last read (Checked 4m ago) and a button to read it again.
- What Quad’s own sessions sent through that provider in the last 24 hours and 7 days.
If the program exposes nothing, or is not signed in, the card says Unknown and why. A number is never made up.
Refresh usage at the top reads every allowed provider again.
What each program reports
| Provider | Limits shown |
|---|---|
| Claude Code (each account) | Session (5 hours), Weekly, per-model weekly, and extra-usage spend. While a turn runs, the program’s own rate-limit messages keep the card fresh. |
| Codex | The primary window (Session, or Monthly on the Free and Go plans) and Weekly |
| Antigravity | One bar per quota bucket |
Permission to read usage
Nothing is read for a provider until you allow it, once per provider. Each card starts with a short explanation and two buttons:
- Allow reading usage: the app asks the program itself for its usage, now and when you refresh.
- Not now: nothing is read.
To withdraw later, choose Stop reading usage on the card. The engine enforces this, not only the window: a provider you have not allowed is skipped on every refresh.
What is read and kept
- The program reads its own sign-in. Quad sees only percentages, reset times and the names of the limits, and keeps only those, in
usage-cache.jsonin the data folder. - Your answers are kept in
usage-access.json. - Token files are never copied or read.
- Claude Code is asked from a scratch folder without saving a session, so the account’s history is not touched.
Failover when a provider runs out
Failover decides what happens when a provider hits its limit in the middle of a task. It is off by default.
Find it on the same page, under When a provider runs out:
| Choice | What happens |
|---|---|
| Off | Nothing changes: you see the limit error. |
| Ask me | The turn stops and offers a button to continue with another provider, such as Continue with Claude Personal. Nothing moves until you press it. |
| Switch automatically | The task continues on another provider in the same turn, and the conversation says so, for example “Claude Work hit its limit; continuing with Claude Personal”. The model chip follows the move. |
Which provider comes next
Under Try in this order, arrange the providers with the up and down buttons. With no order set, the one with the most room left goes first.
A provider is skipped if it is switched off, signed out, the one that just stopped, or itself at its limit. A provider whose usage is unknown is allowed, after the ones known to have room. If there is only one provider, the page says Add a second provider to have somewhere to go.
A provider whose last reading is already full (and not yet reset) is not even started.
How a limit is recognised
From the program’s own words (such as “You’ve hit your session limit”, a rate-limit error, an HTTP 429, or quota exhausted) and from a refused rate-limit message while the turn runs.
The handover
The new provider does not start from nothing. Its first message is a short handover built from the session log:
- the goal,
- what was last asked,
- what was done (the latest steps),
- the files changed,
- the last tool results and errors,
- what is left.
It is capped at about 7,000 characters. It is recorded in the session as a provider switch, not as a message from you.
The first account’s own conversation is never changed. If the second account already has a thread for this session, it resumes it; otherwise it starts from the handover alone.
Going back
Tick Go back to the first provider when its limit resets to return automatically once the first provider’s window has reset. The first provider is sent a summary of what happened meanwhile. The app does not flip back and forth.
Where it is stored
In settings.json: failover (off, ask or auto), failover_order (provider ids) and failover_return.