> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://openrouter.ai/docs/llms.txt.
> For full documentation content, see https://openrouter.ai/docs/llms-full.txt.

# STTUsage - Python SDK

<Warning>
  The Python SDK and docs are currently in beta.
  Report issues on [GitHub](https://github.com/OpenRouterTeam/python-sdk/issues).
</Warning>

Aggregated usage statistics for the request

## Fields

| Field           | Type               | Required             | Description                                    | Example  |
| --------------- | ------------------ | -------------------- | ---------------------------------------------- | -------- |
| `cost`          | *Optional\[float]* | :heavy\_minus\_sign: | Total cost of the request in USD               | 0.000508 |
| `input_tokens`  | *Optional\[int]*   | :heavy\_minus\_sign: | Number of input tokens billed for this request | 83       |
| `output_tokens` | *Optional\[int]*   | :heavy\_minus\_sign: | Number of output tokens generated              | 30       |
| `seconds`       | *Optional\[float]* | :heavy\_minus\_sign: | Duration of the input audio in seconds         | 9.2      |
| `total_tokens`  | *Optional\[int]*   | :heavy\_minus\_sign: | Total number of tokens used (input + output)   | 113      |