Usage statistics for models billed by audio input duration.

interface Usage {
    seconds: number;
    type: "duration";
}

Properties

Properties

seconds: number

Duration of the input audio in seconds.

type: "duration"

The type of the usage object. Always duration for this variant.