CostUsage
Agent Runtimes / types/cost / CostUsage
Interface: CostUsage
Defined in: types/cost.ts:27
Properties
budgetLimitPerRunUsd
budgetLimitPerRunUsd:
number|null
Defined in: types/cost.ts:33
Budget limit per run (from agentspec)
budgetLimitTotalUsd
budgetLimitTotalUsd:
number|null
Defined in: types/cost.ts:35
Total budget limit
cumulativeCostUsd
cumulativeCostUsd:
number
Defined in: types/cost.ts:31
Cumulative cost in USD
lastTurnCostUsd
lastTurnCostUsd:
number
Defined in: types/cost.ts:29
Last turn cost in USD
modelBreakdown
modelBreakdown:
ModelCostBreakdown[]
Defined in: types/cost.ts:41
Breakdown by model
requestCount
requestCount:
number
Defined in: types/cost.ts:37
Number of model requests
totalTokensUsed
totalTokensUsed:
number
Defined in: types/cost.ts:39
Total tokens used