Isn't that literally what the point of this environment variable is for?
ie to provide your Anthropic API key to Claude Code so it uses that for billing
This is for their API, and I was on Claude Code Web.
It wasn’t clear to me that following the SDK docs and introducing the environment variable as in the examples would magically enable API billing for Claude Code.
This is for their API, and I was on Claude Code Web.
It wasn’t clear to me that following the SDK docs and introducing the environment variable as in the examples would magically enable API billing for Claude Code.