A fresh CLIProxyAPI has no accounts — add your own first. Two ways:
Option 1: log in with your account (OAuth)
For people with a subscription such as ChatGPT (Codex) or Claude.
- Log in to the management center and open the OAuth login section (under Auth files & OAuth).
- Choose the service (such as Codex or Claude) and start the login.
- The browser opens that service’s authorization page — log in and approve.
- If the browser then lands on a
localhostaddress that won’t load, don’t close it: follow the management center’s prompt and paste the full URL from the address bar back into it. - Back on the auth files list, the new entry appears.
Option 2: enter an API key
For people with an API key from an AI service.
- Log in to the management center and open AI providers.
- Choose the service (or an OpenAI-compatible provider), add it, paste the API key and save.
Check
Run in the terminal (with your API address and API key):
List available models
curl -s https://your-IP:8318/v1/models -H "Authorization: Bearer your-API-Key"Stuck?
After a while, calls fail saying authorization expired?
Subscription authorizations expire or get revoked. Check the status in the auth files list and run the OAuth login again if needed.