STTUsage - Python SDK

STTUsage method reference

The Python SDK and docs are currently in beta. Report issues on GitHub.

Aggregated usage statistics for the request

Fields

FieldTypeRequiredDescriptionExample
costOptional[float]Total cost of the request in USD0.000508
input_tokensOptional[int]Number of input tokens billed for this request83
output_tokensOptional[int]Number of output tokens generated30
secondsOptional[float]Duration of the input audio in seconds9.2
total_tokensOptional[int]Total number of tokens used (input + output)113