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

# Budget Exceeded Error • AI Agent SDK

> BudgetExceededError: Budget limits exceeded (tokens, time, etc).

# BudgetExceededError

> Defined in the [**errors**](https://praison.ai/docs/sdk/reference/praisonaiagents/modules/errors.md) module.

AI Agent

Budget limits exceeded (tokens, time, etc).

Generally not retryable without intervention.

## Constructor

**message\_or\_agent\_name** `Any` *required*

No description available.

**total\_cost\_or\_budget\_type** `Any`

No description available.

**max\_budget\_or\_limit** `Any`

No description available.

**budget\_type** `str` (default: 'tokens')

No description available.

**limit** `Optional[float]`

No description available.

**used** `Optional[float]`

No description available.

**agent\_id** `str` (default: 'unknown')

No description available.

**run\_id** `Optional[str]`

No description available.

**context** `Optional`

No description available.

## Source

> [card] [View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/errors.py#L185)
>
> `praisonaiagents/errors.py` at line 185


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.