# What a run costs

Every surface shows the estimate before anything is spent: calls, money and time. This page explains where those numbers come from.

## Calls

A full run makes `rounds × (documents ÷ 2, rounded down) × 2` judge calls: each round pairs every document once, and each pair is judged in both orders.

40 documents at the default 8 rounds: 8 × 20 × 2 = **320 calls**.

`--top-n` runs can stop early. They rank everything for 3 rounds, then spend calls only near the cut. The estimate shows both ends: "120 to 320 judge calls".

## Money

Who pays depends on the judge's key:

- **Our model key** (the default when you have no key of your own): each call costs a fixed price for the model's tier, paid from your workspace's prepaid credit. [Pricing](../pricing.md) has the table and a worked example.
- **Your own OpenRouter key** (add it in the web app under **Settings**): we bill nothing. OpenRouter charges the model's list price for the tokens.
- **`mock`** and **`claude_cli`** (your own Claude subscription, local only) cost nothing.

For runs on your own key, the estimate counts about one token per 4 characters, plus about 450 tokens of instructions per call and 150 tokens of reply, at the model's list price. Two documents of 2,000 words are about 6,000 input tokens per call. 320 such calls at $1 per million input tokens cost about $1.92, plus the replies.

## Seeing and capping it

```sh
supposing run ./proposals --rubric "Which proposal makes the strongest case for funding?" --provider mock --dry-run
```

`--dry-run` prints the estimate and stops. `--max-cost 2` is a hard cap: a call starts only if, priced at the dearest call so far, the total stays within $2. The run stops there and the ranking so far is kept. On our OpenRouter key the run also holds its estimate from your credit before it starts. Without `--yes`, the CLI asks before any run that costs money, and in a script it exits with code 7 instead.

Through the API, `POST /v1/runs/estimate` returns `est_cost_usd` (the upper bound, `null` when the model's price is unknown), `est_cost_usd_min` and `est_seconds`, and for billed runs `billed`, `price_tier` and `price_per_call_usd`.
