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.
dataloads every predecessor into the 5 MiB budget. - Prefer file references over Base64 in webhooks and node outputs.
FAQ
Why did my run fail after it already processed many loop items?
Why did my run fail after it already processed many loop items?
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.
Why is my Code node failing before the script starts?
Why is my Code node failing before the script starts?
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.
Can I raise the 2,000-step limit myself?
Can I raise the 2,000-step limit myself?
No. Steps per run is a workspace setting, default 2,000. Ask your admin or Langdock contact if your workspace needs a different value.