Custom Base URL
Default
https://api.codepus.ai/v1Override
IDE settings β CodePus β API β Custom Base URL.Common scenarios:Private deployment: https://gateway.your-corp.com/v1 Local proxy: http://localhost:8080/v1CIDR allow-list
Enterprise: Team β Network β only allow specified source IPs to call API Keys.TLS
Self-signed: trust the root CA OS-wide, or set NODE_EXTRA_CA_CERTS=... Plain HTTP: only localhost / 127.0.0.1 allowedVerify
curl -H "Authorization: Bearer cpk_xxx" https://api.codepus.ai/v1/models
A model list JSON means success.