Cost Management

Estimate the cost of a plan before running it

Estimate token usage and cost for a list of workflow steps. breakdown is returned on Evaluation tier and above; Community receives the total only. A response header warns when the daily estimate quota is 80% consumed.

post/api/v1/plans/estimate

Request

Request body

providerstring
modelstring

Response

Cost estimate

plan_idstring

Present only on GET /api/v1/plans/{id}/cost. The estimate endpoint has no plan to name and omits it.

estimated_cost_usdnumber double required
currencystring required

Changes

No recorded changes to this operation across all 1 revision of this API.