Get Job Cost Breakdown V1
Per-job cost breakdown with priced input/output token lines. Useful when callers see an unexpectedly high cost_usd and want to know whether output tokens or…
GET
Per-job cost breakdown with priced input/output token lines.
Useful when callers see an unexpectedly high
cost_usd and want to
know whether output tokens or input tokens drove it. Pricing comes
from the worker’s canonical rate table; jobs that ran without a
pinned model show prices at the deployment-default rate.
Path parameters
string (uuid)
required
Response
CostBreakdownResponse
string
required
string,null
required
Canonical model id used to price the job. None if the job ran on the deployment default and no per-job model was pinned.
CostBreakdownLine[]
required
number
required
Sum across lines. May not equal
Job.cost_usd exactly if the deployment-default pricing differed from the canonical rate table; the response reflects what the priced lines compute to.