Companies, profiles, and settings
Several companies, several sign-ins, and the environment variables the tools read.
Updated October 31, 2026
More than one company
If your login belongs to several companies:
cost account orgs # list them
cost account use-org <org-id> # make one the default
cost --org <org-id> spend monthly # or choose per command
An API key always uses the company it was made in.
Profiles
Keep separate sign-ins side by side with --profile:
cost --profile reports auth login --api-key
cost --profile reports spend monthly
Environment variables
| Variable | Does |
|---|---|
COSTCRUNCH_API_KEY | An API key to use instead of a saved sign-in |
COSTCRUNCH_ORG | Default company, for logins in several companies |
COSTCRUNCH_PROFILE | Which saved profile to use |
COSTCRUNCH_HOME | Where sign-ins are saved (default ~/.config/costcrunch) |
The same variables work for the MCP server and Python.
Didn't answer your question?
Email [email protected]