> ## Documentation Index
> Fetch the complete documentation index at: https://docs.aihubmix.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Budgets and limits

> Set workspace budgets and periodic API key limits. Understand hard limits, alerts, UTC resets, and what to do when a limit is reached.

Use workspace budgets and API key limits to control spending. An organization shares one account balance; workspace and key limits constrain their respective usage.

<h2 id="set-budget">
  Set a budget
</h2>

1. Enter the workspace. An administrator opens its budget settings.
2. Choose a period and amount, then select a **hard limit** or **alert only**.
3. Configure any alert thresholds and valid recipients. Save and check current usage.

A hard limit prevents usage beyond the allowance. An alert-only setting notifies recipients without independently blocking requests at the alert threshold.

<h2 id="reset-periods">
  Periods and resets
</h2>

| Period | Reset time |
| - | - |
| Daily | 00:00 UTC each day |
| Weekly | 00:00 UTC on Monday |
| Monthly | 00:00 UTC on the first day of the month |
| Lifetime | No calendar reset |

Resets use UTC, regardless of your browser's time zone. Changing an amount or period does not erase actual usage. Setting a limit below usage already incurred immediately affects the remaining allowance.

<h2 id="combined-limits">
  How limits work together
</h2>

* A key has an amount and period. An amount of `0` means no limit at the key level.
* An unset workspace limit means no limit is configured at that level, not a zero allowance.
* An unlimited key still needs workspace allowance and sufficient account balance.
* Exhausting the account balance, a workspace hard limit, or a key limit restricts requests.

Exhausting an allowance stops in-progress requests with an error. Actual usage before termination is still charged. Check [request logs](/en/console/request-logs) for the result and cost.

<h2 id="when-limited">
  When a limit is reached
</h2>

Identify which limit applies. An administrator can add credits when the balance is insufficient. For a periodic limit, wait for the reset or ask an authorized person to adjust it. Switching keys does not remove a hard limit on the same workspace.

A budget alert does not add allowance. Use [usage analytics](/en/console/usage) to investigate the main sources of spending.

Last updated: 2026-10-13


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