Anthropic's Claude API cost guide and /claude-api cost-optimize: find what drives your API bill
Summary As of November 2026, /claude-api cost-optimize still profiles Claude API spend before proposing changes. The October 29 Usage and Cost Analytics API adds a new reporting route; the earlier Usage and Cost API is now legacy but remains supported. Do first: audit one app with a cost-per-completed-task baseline.