Via API Key

Via API Key

Claude API Key can be used to control cost and usage for Claude Code. Useful for production-use-cases and automated systems.

To use the API you need to purchase credits:

Related: Authenticating Claude Code, Status and Keys, Cost