Skip to content

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

  1. Go to the "API Keys" page
  2. Find the target key and click Use Key
  3. Select your client (Codex / Claude Code / Gemini CLI / Grok CLI / CC-Switch / Other)
  4. Select your operating system (Windows / macOS / Linux)
  5. 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:

ParameterMeaningExample
API Base URL / EndpointThe address requests are sent tohttps://kuaiapi.net/v1
API KeyYour keysk-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.

Ready to get started?

Sign up and get $0.30 in trial credit; usage is billed per token in real time, so you pay only for what you use.

Sign up freeSee model pricing

For lawful and compliant use only. Please follow our Terms of Service and your local laws and regulations.