CLI commands and flags

--max-budget-usd

Halts print mode execution when client-side estimated API expenses reach the given dollar threshold.

Syntax

--max-budget-usd

Example

Terminal
claude -p --max-budget-usd 5.00 "query"

Type to search the reference, templates and lessons.