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

# remaining • Rust AI Agent SDK

> remaining: Get remaining tokens

# remaining

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

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

Get remaining tokens

## Signature

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

### Returns

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