run_estimate
Estimate the cost of a table run before executing it. Counts exact requests, excludes already-filled cells, and shows savings from cached unit prefixes.
Instructions
Report what run_table would cost, without running it or spending anything.
Counts the exact requests the run would send. Cells that are already filled, locked, or reviewed are excluded, because a run would skip them. Reports the cost both with and without the cached unit prefix, so the saving from that design is visible.
Call this before any run over more than a handful of rows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Price against this model instead. | |
| table | Yes | Table number as the corpus defines it, e.g. '01' or '13'. | |
| refill | No | Include cells that already carry a value. | |
| columns | No | Restrict to these column names. | |
| provider | No | 'openai' or 'anthropic'. | |
| unit_ids | No | Restrict to these rows. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||