Skip to content

Latest commit

 

History

History
51 lines (37 loc) · 1.87 KB

File metadata and controls

51 lines (37 loc) · 1.87 KB

CLIProxyAPI Relay Toolkit Network Guide

Routing Groups / 分流建议

  • AI: Daily chat traffic and low-latency interactive requests. / 日常聊天与低延迟交互流量。
  • GitHub: github.com, api.github.com, raw.githubusercontent.com, githubusercontent.com, githubassets.com, codeload.github.com, objects.githubusercontent.com
  • Package: pypi.org, files.pythonhosted.org
  • Download: docker.io, registry-1.docker.io, auth.docker.io, and large downloads / 以及大文件下载
  • Model: huggingface.co, hf-mirror.com, cdn-lfs.huggingface.co
  • AutoProxy: Fallback for uncategorized traffic / 未归类流量兜底
  • DIRECT: LAN, local loopback, domestic mirrors, and domestic model vendors / 内网、本地回环、国内镜像和国内模型厂商

Direct Suggestions / 建议直连

  • ark.cn-beijing.volces.com
  • dashscope.aliyuncs.com
  • modelscope.cn
  • pypi.tuna.tsinghua.edu.cn
  • Company LAN and loopback addresses / 公司内网与本机回环地址

Download Shell / 下载终端

Recommended commands in the dedicated PowerShell window:

git clone ...
pip install ...
docker pull ...
huggingface-cli download ...

That window preloads:

$env:HTTP_PROXY='http://127.0.0.1:7890'
$env:HTTPS_PROXY='http://127.0.0.1:7890'
$env:ALL_PROXY='http://127.0.0.1:7890'

如果你使用的是自定义 Clash 端口,请同步更新 launcher.settings.json 里的 localProxyUrl

Example Split / 示例分流

  • codex, antigravity, claude, gemini -> proxy / 走代理
  • qwen, dashscope, ark -> direct / 直连

Tunnel Reminder / 隧道提醒

  • Public OpenAI-compatible entrypoints should include /v1/... / 公网 OpenAI 兼容入口需要带上 /v1/...
  • Correct / 正确:https://your-relay.example.com/v1/responses
  • Wrong / 错误:https://your-relay.example.com/responses