Skip to main content

InferenceRecordedUsage

@totemsdk/edge


@totemsdk/edge / InferenceRecordedUsage

Interface: InferenceRecordedUsage

JSON-clean usage measurements copied from the provider result.

Properties

durationMs?

readonly optional durationMs?: number


metadata?

readonly optional metadata?: Record<string, string | number>


tokensIn?

readonly optional tokensIn?: number


tokensOut?

readonly optional tokensOut?: number