Tutorials

Working notes from the people who build the agents

What an agent run costs: a metering table and a budget cap

September 15, 2026 · Reqmint

Model and API spend arrives as one monthly invoice with no idea which workflow spent it. This walkthrough builds the run ledger: one row per run, cost captured at the step, cost per outcome rather than per token, a cap that stops a runaway loop, and the monthly query that tells you which agent to switch off.

Read more