upvote
How credits work with `claude -p` is a common question we're seeing. we're updating the faq now to make sure it's more clear. Will share updated docs soon

Update: We just updated the docs to clarify how API credits can be used w/ claude -p: https://support.claude.com/en/articles/15036540-use-the-clau...

reply
Not yet, as of version 2.1.293. But I suspect this is coming next.
reply
That's what the Agent SDK is, according to this help page:

https://code.claude.com/docs/en/headless

So, as written, yes.

reply