> ## 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 • AI Agents Framework

> ttft_ms: Get time to first token in ms.

# ttft\_ms

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

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

Get time to first token in ms.

## Signature

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

### Returns

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

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai/praisonai/profiler.py#L197">
  `praisonai/profiler.py` at line 197
</Card>
