Graphorin API reference v0.5.0
Graphorin API reference / @graphorin/provider / / createCostAccumulator
Function: createCostAccumulator()
ts
function createCostAccumulator(): CostAccumulator;Defined in: packages/provider/src/middleware/with-cost-tracking.ts:63
Create a CostAccumulator — the process-local accumulator described on withCostTracking. Keys totals by '<providerName>::<modelId>'.