Skip to main content
Workflows stop at hard caps, not only at spend. Check these numbers when you loop a long list, accept a large webhook, or pass a wide API response into a Code node. Spend and monthly USD caps live on Cost Management and Workflow limits for admins. Some values are fixed. Others are set on the node, in workflow Settings, or on the workspace.

Run size

Each node execution counts as a step, including iterations inside a Loop and Delay nodes. Agent Max Steps is a separate cap on tool calls inside one Agent node. It does not replace the step limit for the whole run.

Loops, agents, and delays

Files and payloads

Files you return from a Code node in a files array, or create in the Python working directory, are uploaded before the 25 MB output measurement. Their bytes do not count toward that cap.

Cost caps

USD and EUR spend caps are separate from the table above. Set Monthly cap, Per-run cap, and Max runs per hour in the workflow Settings panel. Workspace admins set the workspace spend cap and the maximum monthly cap per workflow. When a workflow hits its monthly spend cap, new runs cannot start. Scheduled and polling workflows are deactivated when they try to run after that. Details: Cost Management.

Workarounds that usually help

  • Filter or summarize before an Agent or Code node. Do not loop 2,000 raw records through a large model.
  • Page large lists into several runs instead of one Loop at the 2,000-item ceiling.
  • Keep Collect outputs off unless a later node needs the full array.
  • In Code nodes, name the upstream slugs you read. data loads every predecessor into the 5 MiB budget.
  • Prefer file references over Base64 in webhooks and node outputs.

FAQ

The step limit for the run counts every node execution, including each loop iteration. Hitting 2,000 steps fails the run even if Max iterations still has room.
The 5 MiB input cap is measured on the upstream outputs your code loads. A Loop with Collect outputs on is a common cause. Reference fewer slugs, or collect less.
No. Steps per run is a workspace setting, default 2,000. Ask your admin or Langdock contact if your workspace needs a different value.