Cocobox

Spend caps

A spend cap is a daily limit per tab, in dollars or tokens, plus a limit per scheduled run ($5 by default). A small meter on each tab fills as it spends and turns amber near the cap. Over it, the tab pauses and asks whether to continue. Dollars are what the tokens would cost at the model's list price. Use the meter to monitor usage. Your provider subscription has its own billing terms.

Set your caps

  1. Open Settings and pick Spend caps.

  2. Your tabs: dollars or tokens per tab per day, reset at your local midnight. 0 means no cap.

  3. Scheduled runs: dollars or tokens per run, $5 to start with. Over it, an unattended run is stopped and marked “over budget”.

    Settings, Spend caps: Your tabs $10 or 0 tokens a day, Scheduled runs $5, and a billing-api space cap of $2.00 a day with a remove button
    Spaces that set their own cap are listed below, each with × to remove it.

Agents report tokens when a turn ends, so a turn can run past a cap before it is counted. Caps are kept on this Mac, and agents cannot change them.

Give one space its own cap

  1. In the sidebar's Spaces section, the open space's card has a Spend cap $ … / day field. Type a number to override your tabs' cap in that space; leave it blank to use the one in Settings.

    The billing-api space card with a Spend cap $ field under it, per day

Watch the meter

  1. Each tab with a cap shows a small meter once it has spent something: green under, amber from 80% of the cap, red past it. Hover it for the numbers, such as 840k tokens · $4.20 list-price estimate · cap $5.00 a day.

    Three tabs in the strip: a short green meter, an amber meter near the cap, and a red meter over it
    Under, near and over the cap. A tab with no cap shows no meter.
  2. A coordinating agent's block also shows what its tabs spent today and each tab's own spend (see Agents opening tabs).

When a tab goes over

  1. The tab pauses and a card says how much it used against your cap. Anything you send meanwhile waits in the queue; the card counts what is waiting. It also shows up in Needs you and as a notification.

    This tab has used $6.50 today, over your $5.00 cap. List-price estimate, 1 waiting. Continue for today and Stop buttons
  2. Continue for today lifts the cap for this tab until midnight, and what was waiting goes out.

  3. Stop keeps the queue held for today. The card folds to Stopped for today, with Continue for today still there if you change your mind. When the cap lifts, at midnight or because you raised it, the tab resumes and what waited goes out.

    The card folded: Stopped for today, with Continue for today