> ## 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.

# Increment Tokens • Rust AI Agent SDK

> increment_tokens: Increment token count

# increment\_tokens

<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.

Increment token count

## Signature

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

### Returns

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

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Rust Token Management" icon="coins" href="/docs/rust/token-management" />

  <Card title="Rust Budget" icon="wallet" href="/docs/rust/budget" />
</CardGroup>
