The wording is ambiguous but empirically when I last ran claude -p as part of a job it drew from my $200 API credit.
Weirdly I know for sure there was an article behind that first link earlier today but now it's showing no body, just the update boxes. The second doc link is quite clear though.