Skip to main content

Interface: MeasuredUnitCost

Defined in: packages/agentos/src/safety/runtime/CreditRates.ts:99

A measured cost: what quantity units of unit cost to produce, with the measurement it came from.

Properties​

costMicro​

readonly costMicro: number

Defined in: packages/agentos/src/safety/runtime/CreditRates.ts:101

The measured cost of the work, in whole micro-dollars.


evidence​

readonly evidence: string

Defined in: packages/agentos/src/safety/runtime/CreditRates.ts:107

The measurement's artifact (a digest); the rate keeps it.


quantity​

readonly quantity: number

Defined in: packages/agentos/src/safety/runtime/CreditRates.ts:103

The units of work measured: one or more.


unit​

readonly unit: CreditUnit

Defined in: packages/agentos/src/safety/runtime/CreditRates.ts:105

The unit measured.