Configuration des clients
SunSwitch
Download the desktop app for one-click Claude Code / Codex / Pi / OpenCode setup
SunSwitch is the official Sun API desktop helper. After you sign in, it can write the Base URL and group keys into common coding clients in one click.
Download
- Download page: https://api.sunai.lol/landing/downloads/
- Platform: Windows x64
- Installs the
sunswitch://deep link used by web authorization
Get started in three steps
- Install and open SunSwitch
- Sign in to Sun API inside the app (or use web authorization)
- Choose Claude Code / Codex / Pi / OpenCode and apply
When to use it
| Situation | Recommendation |
|---|---|
| You do not want to edit config files by hand | Prefer SunSwitch |
| You need precise environment variables | Use the Claude Code or Codex guides |
| You only change the editor Base URL | See Cursor |
Notes
- Still pick the correct token group (see Billing & groups)
- Model names must match the model catalog
- Uninstalling the app does not remove
~/.sunswitch; delete it yourself when resetting a machine