STTUsage - Go SDK

STTUsage type definition

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

Aggregated usage statistics for the request

Fields

FieldTypeRequiredDescriptionExample
Cost*float64âž–Total cost of the request in USD0.000508
InputTokens*int64âž–Number of input tokens billed for this request83
OutputTokens*int64âž–Number of output tokens generated30
Seconds*float64âž–Duration of the input audio in seconds9.2
TotalTokens*int64âž–Total number of tokens used (input + output)113