continue icon indicating copy to clipboard operation
continue copied to clipboard

Error: Claude Sonnet 4.5 - 402

Open desraah67-max opened this issue 9 months ago • 2 comments

Error Details

Model: Claude Sonnet 4.5 Provider: continue-proxy Status Code: 402

Error Output

"You have no credits remaining on your Continue account. Please go to https://hub.continue.dev/settings/billing to add credits. You can also add your own ANTHROPIC_API_KEY secret at https://continue.dev/settings/secrets%3FsecretName=ANTHROPIC_API_KEY"

Additional Context Please add any additional context about the error here

desraah67-max avatar Feb 08 '26 10:02 desraah67-max

Related issues with 402 Payment Required / insufficient credits errors:

  • #10329 - DeepSeek Coder - 402 Insufficient Balance
  • #10305 - DeepSeek Coder - 402 Insufficient Balance
  • #10298 - gpt-5-openrouter - 402 (requires more credits)

These are all related to insufficient account balance/credits with the respective providers (Continue proxy, DeepSeek, OpenRouter).

continue avatar Feb 08 '26 10:02 continue

Hello, this is a common issue and happens when

  1. You are signed in
  2. You are trying to use a model which is eligible for Continue Credits
  3. You do not have any credits or the corresponding API key secret set up

To fix, you can either

  • Add credits to your account at https://hub.continue.dev/settings/billing
  • Add the missing secret at https://hub.continue.dev/settings/secrets (or inline in config YAML using apiKey, workspace .env file, or global or workspace .continue/.env files)
  • Make sure you have the correct org selected if relevant

We receive a large volume of these issues and close any without further context. If you are seeing this issue and believe it is a bug, please open a new Issue with more details.

RomneyDa avatar Mar 19 '26 20:03 RomneyDa