Skip to content

@oona/vlo / index / Usage

Interface: Usage ​

Defined in: sdk/ts/sdk/src/kernel/protocol.ts:66

Resources an attempt consumed, as banked by the kernel. Integers only, never negative: the total is hashed into the kernel state.

Properties ​

cost_micro_usd ​

cost_micro_usd: number

Defined in: sdk/ts/sdk/src/kernel/protocol.ts:72

Cost in millionths of a US dollar.


cpu_ms ​

cpu_ms: number

Defined in: sdk/ts/sdk/src/kernel/protocol.ts:68

CPU time in milliseconds.


tokens ​

tokens: number

Defined in: sdk/ts/sdk/src/kernel/protocol.ts:70

Model tokens, prompt and completion together.