Get the recommended configuration and API address
This site can generate ready-to-use recommended configurations by "service group + client + operating system" — just copy and use, with no need to assemble parameters yourself.
How to get it
- Go to the "API Keys" page
- Find the target key and click Use Key
- Select your client (Codex / Claude Code / Gemini CLI / Grok CLI / CC-Switch / Other)
- Select your operating system (Windows / macOS / Linux)
- The page generates the corresponding environment variables or configuration file — copy it with one click
What the core parameters mean
In the end, all configurations come down to two things:
| Parameter | Meaning | Example |
|---|---|---|
| API Base URL / Endpoint | The address requests are sent to | https://kuaiapi.net/v1 |
| API Key | Your key | sk-xxxx |
Different clients use different protocols, so endpoint prefixes differ slightly (for example, the Claude family uses /v1/messages, while the OpenAI family uses /v1/chat/completions). The recommended configuration takes care of this automatically.
Can't find your client?
Choose the "Other / OpenAI-compatible" mode and fill in manually:
- Base URL:
https://kuaiapi.net/v1 - API Key: your key
- Model name: follow the list of available models for the group the key belongs to
Notes
- Do not copy model names from other platforms: follow this site's group model list; a wrong name will cause a 404.
- For API addresses, follow the site announcements/recommended configuration. Do not use old, expired addresses.
