Claude: API error 401 (unauthorized)

Your API key is missing, expired, malformed, or does not have permission for the model you tried to call. 401 is always an authentication problem — never a server issue.