> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.
# STTResponse
STT response containing transcribed text and optional usage statistics
## Fields
| Field | Type | Required | Description | Example |
| ---------- | ------------------------------------------------------------- | -------------------- | -------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| `duration` | *Optional\[float]* | :heavy\_minus\_sign: | Duration of the input audio in seconds, present when response\_format is verbose\_json | 9.2 |
| `language` | *Optional\[str]* | :heavy\_minus\_sign: | Detected or forced language, present when response\_format is verbose\_json | english |
| `segments` | List\[[components.STTSegment](../components/sttsegment.mdx)] | :heavy\_minus\_sign: | Timestamped transcript segments, present when response\_format is verbose\_json | |
| `task` | *Optional\[str]* | :heavy\_minus\_sign: | The task performed, present when response\_format is verbose\_json | transcribe |
| `text` | *str* | :heavy\_check\_mark: | The transcribed text | Hello, this is a test of OpenAI speech-to-text transcription. The weather is sunny today and the temperature is around 72 degrees. |
| `usage` | [Optional\[components.STTUsage\]](../components/sttusage.mdx) | :heavy\_minus\_sign: | Aggregated usage statistics for the request | \{
"cost": 0.000508,
"input\_tokens": 83,
"output\_tokens": 30,
"seconds": 9.2,
"total\_tokens": 113
} |
| `words` | List\[[components.STTWord](../components/sttword.mdx)] | :heavy\_minus\_sign: | Timestamped words, present when the provider returns word-level timestamps | |