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

# Workflow limits

> Set workspace-wide and per-workflow spending limits to govern AI model costs across workflows.

<Info>
  Workflow settings are available to workspace administrators. These controls help you manage costs across all workflows in your workspace.
</Info>

Spend limits help you control costs across all workflows in your workspace. These settings work alongside individual workflow limits to provide organization-wide cost governance.

## Accessing Workflow Settings

<Steps>
  <Step title="Open Workspace Settings">
    Navigate to your [workspace settings](https://app.langdock.com/settings/workspace) from the main menu.
  </Step>

  <Step title="Go to Workflows Section">
    Select the **Workflows** section to view security and spending controls.
  </Step>
</Steps>

## Workspace Spend Limit

Set a maximum monthly spending cap for all workflow AI model usage across the entire workspace.

| Setting             | Range           | Default |
| ------------------- | --------------- | ------- |
| Monthly spend limit | 0 - 100,000 EUR | 500 EUR |

**How it works:**

* Tracks cumulative AI model costs across all workflows
* When the limit is reached, workflow executions that require AI models will stop
* Resets at the beginning of each billing period
* The active billing period (start and end date) is displayed in the spend limit dialog so you always know which period your limit applies to

<Tip>
  Set this limit based on your expected workflow volume. Monitor usage during the first few weeks to establish a baseline, then adjust accordingly.
</Tip>

## Default Monthly Limit per Workflow

Set the default spending limit applied to new workflows when they are created.

| Setting               | Range          | Default |
| --------------------- | -------------- | ------- |
| Default monthly limit | 1 - 10,000 USD | 25 USD  |

**How it works:**

* Every new workflow is created with this limit
* Workflow owners can adjust their individual limits up to the maximum allowed
* Prevents runaway costs from newly created workflows
* New runs are blocked when workflows reach their own monthly limit

## Maximum Monthly Limit per Workflow

Set the ceiling for individual workflow spending limits. This prevents any single workflow from exceeding a certain cost threshold.

| Setting               | Range          | Default  |
| --------------------- | -------------- | -------- |
| Maximum monthly limit | 1 - 10,000 USD | No limit |

**How it works:**

* Workflow owners cannot set limits higher than this value
* Existing workflows with limits above this threshold are automatically adjusted down
* Admin-set override limits are not affected by this cap

<Info>
  When you lower the maximum limit, all non-admin-overridden workflow limits that exceed the new maximum are automatically reduced to match. The system provides a summary of affected workflows.
</Info>

## Execution Step Limit

Each workflow execution is limited to a maximum of **2,000 steps**. This prevents runaway workflows from consuming excessive resources.
