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

# Display Token Usage • AI Agent SDK

> display_token_usage: Display token usage in a formatted table.

# display\_token\_usage

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

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

Display token usage in a formatted table.

## Signature

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

### Returns

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

## Uses

* `_token_collector.get_session_summary`

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/agents/agents.py#L1555">
  `praisonaiagents/agents/agents.py` at line 1555
</Card>

***

## Related Documentation

<CardGroup cols={2}>
  <Card title="Display System" icon="display" href="/docs/features/display-system" />

  <Card title="Display Callbacks" icon="phone" href="/docs/features/display-callbacks" />

  <Card title="Output Styles" icon="palette" href="/docs/features/output-styles" />
</CardGroup>
