> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Ttft Ms • Rust AI Agent SDK

> ttft_ms: Time To First Token in milliseconds

# ttft\_ms

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**StreamMetrics**](../classes/StreamMetrics) class in the [**streaming**](../modules/streaming) module.

Time To First Token in milliseconds

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def ttft_ms(&self) -> u64
```

### Returns

<ResponseField name="Returns" type="u64">
  The result of the operation.
</ResponseField>
