Unverified60% confidenceFactExact time
If the environment variable ANTHROPIC_API_KEY exists, Claude Code uses it for authentication and is billed at API prices rather than drawing on subscription usage.
2
Sources
60%
Confidence
Long-term
Relevance
11/7/2026
First Seen
Sources
How to Choose a Claude Subscription: Full Breakdown of Pro, Max, and Ultra Pricing and Usage
bilibiliAIStackNav11/5/2026
Related Entities
Related Claims
VerifiedClaude Code uses the environment variables ANTHROPIC_BASE_URL and ANTHROPIC_API_KEY to determine the API endpoint and authentication information.78% similarVerifiedClaude Code supports configuring a custom API endpoint (base URL) and key via environment variables, allowing requests to be redirected to any compatible interface.75% similarVerifiedClaude Code uses Anthropic's API and is billed by token.74% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1145509API
curl https://kongchang.com/api/v1/knowledge/claims/1145509MCP
get_claim(id=1145509)