Skip to content
XXD VPS Guide
中文
  1. How-to
  2. AI API
  3. Connect your AI API to tools

Connect your AI API to tools

5 minutesFor: People who want their own AI APIMain guide step 6: Use your own AI API

The general recipe

Most AI tools support an “OpenAI-compatible API” and need only two things:

Name in the tool What to enter
API address / Base URL / Endpoint The “API address (Base URL)” from the login-info file: https://your-IP:8318/v1
API Key The “API Key” from the login-info file
Model name A model name listed by the curl command in Add accounts

CLIProxyAPI is also compatible with Claude- and Gemini-style APIs.

  1. In Cherry Studio’s settings, open the model services page, add a provider and set its type to OpenAI.
  2. Enter the API key; for the API address enter https://your-IP:8318 (Cherry Studio adds /v1 itself; if it won’t connect, try the full https://your-IP:8318/v1).
  3. Click “Manage” or fetch the model list, add the models you want, then run the check.

Don't do this

Never put the API key in code or config you upload to GitHub. Use environment variables or a local-only config file.

Tip

Tool settings change between versions. Look for “custom provider”, “OpenAI-compatible” or “Base URL”.