Estimate an agent task's cost
estimate_agent_costEstimates the tokens and dollar cost of an AI agent task from the measured benchmark job closest to it. For jobs where cost grows with how much the agent reads, give the size of the real input and it scales the reading part while keeping the agent's fixed overhead. Returns a typical and a budget (worst-case) figure per run and, if runs per month are given, per month. Uses the benchmark-day prices unless current prices are passed. The result is an estimate from small test jobs, not a quote.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job | Yes | The closest benchmark job id, from list_benchmark_jobs. | |
| agent | Yes | Which measured agent to base the estimate on. | |
| prices | No | Current model prices in US dollars per million tokens. Leave out to use the benchmark-day prices. | |
| your_size | No | Size of the real input in the job's unit (words, or rows for the clean job). Ignored for jobs that don't scale. | |
| runs_per_month | No | How many times a month the job runs. |