ZeroLog
Private preview

Project budgets

A project budget puts a cost ceiling in USD on a project from the chat sidebar. Budgets are entered and shown in USD, the unit ZeroLog meters model usage in, while your prepaid credit is shown and paid in CHF. Before each chat turn in a chat of that project, ZeroLog estimates what the turn will cost and acts according to the mode you picked. The Project budgets card on the Billing page shows spend, what is left and an estimate of the work that still fits.

Set a budget

  • Create a project in the sidebar and move chats into it. On the Billing page, open Project budgets, enter an amount above 0 and choose a mode under When it gets tight. Save budget stores it; Remove budget deletes it.
  • Spend is the cost of all chats that are in the project now, counted from the day you set the budget. Reset counter restarts the count from now. A chat moved out of the project takes its cost with it; a chat moved in brings its cost since the count started.
  • Turns on your own API key (BYOK) are booked with zero cost and do not use the budget.

The three modes

  • Stay within budget (default): if a turn no longer fits, the most capable model you are allowed to use whose estimate still fits answers instead. If none fits, the turn runs anyway and a notice says it is over budget. A model on your own key is never chosen as a replacement.
  • Warn only: your model stays, and you get a notice in the chat.
  • Hard limit: like Stay within budget, but if no model fits, the paid turn is refused. Free models keep working.
  • The spending governor is checked first. Both limits apply and the stricter one wins.

How estimates work

  • A turn estimate is input tokens times the list price plus expected output tokens times the list price. Expected output is the average of your last 50 turns (from five turns on), otherwise 1200 tokens. The estimate ignores cache discounts, so it tends to run high.
  • The remaining work is the rest of the budget divided by the average cost of the last 30 paid turns in the project. It is labelled as an estimate with its basis and a confidence of very rough, rough or moderate. With no paid turns yet, it says the remaining work is unknown.
  • Will a task still fit? takes a model and a number of turns and says whether that fits. It is a lower bound that assumes fixed token sizes per turn; longer histories cost more. A model without a price cannot be estimated.

Related: Cost per answer, Prepaid credit, Limits.

Something missing or wrong here? Say so. The documentation is part of the product, not an afterthought. All topics · Pricing · AI agents · FAQ · Security · Status · X · Legal & privacy · Home