# Credits and billing

A quote states a run's plan and prices before any model call. While the run works, EvalRouter sets a little credit aside for each running task, charges each call's actual usage, and returns what is left when the task ends. Prices and fees are what the quote shows.

## Caps and confirmation

A spending cap is optional. New work stops when the cap or your balance can't fund the next call; calls already running finish and are charged. The run is refused before it starts only when the cap is below the quote's minimum cap, the smallest cap that can start one task. Without a cap, your balance limits the run. At a terminal, the CLI shows the quote and asks before it charges anything.

> [!WARNING]
> Scripts must pass `--yes`. Without it, the CLI creates no quote and charges nothing.

An API key can carry its own spend ceiling across everything it starts, with the same rule: work it started stops at the first call the ceiling can't fund. Set it when you create the key, or change it later with `--spend-ceiling USD|none`. A per-run cap still applies to each run. The API writes money as strings of integer micro-USD (`"1000000"` is $1).

## Credit set aside, charges and stops

- Credit set aside for running work reduces available credit while a task runs: about $0.01 per running task to start, growing with the task's spend, plus any fee the quote charges per sample. It isn't a charge, and nothing is set aside per call. Results show actual EvalRouter spend, and billing may finish after a score appears.
- Each call is charged its actual usage, even when it costs more than expected. Calls already running when a limit is reached finish and are charged, so a run can end slightly above its cap and your balance can go below zero. While the balance is zero or below, new calls are refused until you add credit.
- A run that reaches its cap or empties your balance stops new work (`budget_exhausted`) and keeps its completed results. A usage-billed route can also stop a run once the run's spend passes that route's published threshold (`stop_threshold_reached`). Cancelling stops new work but can't retract a call already sent.
- If EvalRouter can't confirm a call's charge, that task waits until the charge is settled; the run's other tasks continue. A new Tune session is refused with `reconciliation_required` while one of the workspace's drafting calls awaits that check.
- EvalRouter's own infrastructure can end an attempt. Examples are a lost hosted or remote owner, a lost sandbox, an upstream provider failure, or EvalRouter stopping the run mid-attempt. EvalRouter doesn't charge that attempt's model calls, and its retry pays only for its own calls.
- Your provider bills calls to your own provider endpoint or agent. These calls carry no EvalRouter fee, and EvalRouter's cap doesn't limit them. Check the external-cost notice before you start.

## Settled charges

The billing page's **Settled charges** is everything settled against the wallet for evaluations. It has two parts:

- **Usage**: metered model inference and compute.
- **Platform fees**: EvalRouter's per-evaluation fee, net of platform fee credits. The quote shows it, and the ledger charges it as separate entries.

You pay credit purchase fees at checkout, and Settled charges excludes them. The wallet endpoint reports the same split:

| Field | Meaning |
| --- | --- |
| `settled_usage_microusd` | Usage |
| `settled_platform_fees_microusd` | Platform fees |
| `settled_charges_microusd` | Their sum |
 Usage and billing records remain the source for actual charges.

Cost forecasts appear only where your deployment offers them. An absent forecast isn't a zero-cost estimate.
