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

# Cost control | Human guide

> Review a completed task’s usage and useful results, then choose controls for future work.

```deepline-prompt theme={"languages":{"custom":["/languages/deepline-prompt.json"]}}
/deepline-gtm Review this completed run's usage and useful results, then recommend limits for future work. Do not change caps or funding without my approval.
```

The agent compares the task's recorded Deepline credits with the results you accepted. It separates pending charges, legitimate misses, and access errors before recommending a budget for the next run.

Provide the run ID or direct execution's `job_id`, your acceptance rule, and the reviewed results—for example, `leads-pilot-results.csv` from `leads-pilot.csv`.

## Review usage in the dashboard

1. Select the intended org, then open [Usage](https://code.deepline.com/dashboard/usage). **Billing** and **Usage** are separate pages.
2. Review the credit breakdown. Use **Show: All / Plays / Actions** and **By: Provider / Action** to inspect the work that ran.
3. In **Recent activity**, compare the operation, run, billed units, time, and credits. Ask the agent for usage scoped to your run when you need its exact spend; an org chart also includes other work.
4. Divide the job's recorded credits by its accepted results. Keep pending amounts unresolved. If no results passed, report that explicitly; do not call the work free. An authorization failure is different from a successful lookup that found no match.

## Choose controls for the next run

Open [Billing](https://code.deepline.com/dashboard/billing) to inspect funds and **Usage cap**. Choose **Set cap** or **Manage**, then set the **Rolling 30-day limit** in Deepline credits and save only the approved change.

* **Balance** is org funding. Buying credits does not reset a usage cap.
* **Usage cap** checks new calls against rolling 30-day usage. In-flight work can still exceed it.
* **Per-run cap** applies to a Play's provider-call admission, including its child Plays. It does not undo admitted work or guarantee an all-in total that includes compute and final charges.

Org access permits editing the usage cap; dashboard credit purchases require an **owner** or **admin** role. A cap affects everyone using the org. Get approval for the exact cap or funding action; an estimate or budget stated in chat does not enforce a limit.

> [!TIP]
>
> Compare credits per accepted result under the same acceptance rule. A cheaper
> run with fewer usable results may cost more per useful result. Reconcile
> pending or uncertain usage before repeating provider work; do not infer one
> task's cost by subtracting org balances.

## Related guides

* [SDK Reference](https://deepline.com/docs/sdk-v2/sdk-reference.md)
* [Use a CSV as Play input](https://deepline.com/docs/human/sdk-v2/batch-csv.md)
* [Recover a tool request](https://deepline.com/docs/human/sdk-v2/tool-execution-recovery.md)

[Review and operate a workflow](https://deepline.com/docs/human/templates.md#review-and-operate-a-workflow) covers org access, pilots, usage, and approval.

[Agent guide: CLI and SDK instructions →](https://deepline.com/docs/cost-control.md)


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