> ## 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 |
| - | - | - | - | - |
| `Confidence` | `*float64` | :heavy\_minus\_sign: | Provider confidence for the whole transcript from 0 to 1, present when response\_format is verbose\_json and the provider scores the full transcript | 0.94 |
| `Duration` | `*float64` | :heavy\_minus\_sign: | Duration of the input audio in seconds, present when response\_format is verbose\_json | 9.2 |
| `Entities` | \[][components.STTEntity](../../models/components/sttentity.mdx) | :heavy\_minus\_sign: | Detected entities with character offsets into text, present when the provider runs entity detection | |
| `Language` | `*string` | :heavy\_minus\_sign: | Detected or forced language, present when response\_format is verbose\_json | english |
| `LanguageConfidence` | `*float64` | :heavy\_minus\_sign: | Provider confidence in the detected language from 0 to 1, present when response\_format is verbose\_json and the provider scores language detection | 0.98 |
| `Segments` | \[][components.STTSegment](../../models/components/sttsegment.mdx) | :heavy\_minus\_sign: | Timestamped transcript segments, present when response\_format is verbose\_json | |
| `Task` | `*string` | :heavy\_minus\_sign: | The task performed, present when response\_format is verbose\_json | transcribe |
| `Text` | `string` | :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` | [\*components.STTUsage](../../models/components/sttusage.mdx) | :heavy\_minus\_sign: | Aggregated usage statistics for the request | \{<br />"cost": 0.000508,<br />"input\_tokens": 83,<br />"output\_tokens": 30,<br />"seconds": 9.2,<br />"total\_tokens": 113<br />} |
| `Words` | \[][components.STTWord](../../models/components/sttword.mdx) | :heavy\_minus\_sign: | Timestamped words, present when the provider returns word-level timestamps | |
