Separate products, separate billing. Claude Pro/Max covers the Claude apps and Claude Code when you log in with your subscription. The API (Console, API keys) is pay-as-you-go with prepaid credits. Buy some credits under Billing in the Console and the key will work.
Set a monthly spend limit on the workspace while you're there, and leave auto-reload off until you know your usage.