Skip to content

Client integration

Replace the official API host with HOYOAI and use your console API key.

  • Base URL: https://api.hoyoai.cn/v1 (try without /v1 if the client 404s)
  • OpenAI SDK: base_url / baseURL → HOYOAI
  • Claude Code: Anthropic base → https://api.hoyoai.cn, key → HOYOAI key
  • Cursor / IDEs: OpenAI-compatible provider pointing at HOYOAI
  • Gemini CLI: custom base / proxy to HOYOAI when supported

Verify with curl Chat Completions first. See Chinese docs for more detail.

HOYOAI · OpenAI-compatible AI API