Claude Code dies with ANTHROPIC_API_KEY in cloud environment

12 points
1/21/1970
a day ago
by sroussey

Comments


amingilani

I once followed their docs and added it to my Claud Code Web to call their API. Unbeknownst to me they started charging me for all Claude Code calls by passing them to the API. They refused to refund me, but did update their docs at some point to remove the faulty instructions I followed.

a day ago

justinclift

> Unbeknownst to me

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

21 hours ago