Client Setup
The correct URL depends on the protocol a client uses and whether it appends /v1 or a complete endpoint automatically.
Choose your client
| Client | Guide | Typical URL |
|---|---|---|
| CC Switch | CC Switch | Use the one-click import |
| Cherry Studio | Cherry Studio | https://sprelaytoken.com/v1 |
| Claude Code | Claude Code | https://sprelaytoken.com |
| Codex CLI | Codex CLI | https://sprelaytoken.com/v1 |
| Cursor | Cursor | https://sprelaytoken.com/v1 |
| Other OpenAI clients | OpenAI-Compatible Clients | Usually https://sprelaytoken.com/v1 |
Before configuring a client
- Create a dedicated key with a small initial quota.
- Confirm that its group supports the target model.
- Copy the exact model ID from the catalog or model-list API.
- Complete the minimal request first.
If a field says Base URL, do not paste a full /chat/completions endpoint unless the client explicitly asks for an endpoint. Otherwise it may create a duplicated path.
