Being forced through the non-OSS Claude Code with all of its quirks and issues is... such an exhausting use of force by Anthropic.
To the extent that you _can_ choose to disable telemetry and training on your traces in CC, it's not all that obvious what they gain by crippling your ability to use the subscription with other – better – tools.
It's also remarkable that it's coincident with OpenAI adding "Sign in with OpenAI", so that you can use your tokens with other tools.
You might be right and they will change this in the future, but that's speculative
This text has replaced the entirety of the page called "Use the Claude Agent SDK with your Claude plan."
What more do you need?
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...
https://code.claude.com/docs/en/headless
So, as written, yes.