Skip to main content
Every tool needs the same three things: a base URL, an API key and a model ID. The full step-by-step guides live on the main site.

Cursor

Set your API key and enable Override OpenAI Base URL in Cursor’s Models settings to route requests through XHuoAPI.

Claude Code

Set ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN and Claude Code runs through XHuoAPI, with Claude or with DeepSeek, GLM and Qwen.

Codex CLI

Add a custom provider to ~/.

fx

Add an OpenAI-compatible connection to ~/.

Cline

Configure Cline’s OpenAI Compatible provider with XHuoAPI: base URL, API key and model ID, plus a one-line CLI setup.

Roo Code

Connect Roo Code’s OpenAI Compatible provider to XHuoAPI in three fields; different modes can use different models.

Continue

Point Continue’s openai provider at XHuoAPI with apiBase in config.

Open WebUI

Add an OpenAI connection to XHuoAPI under Admin Settings → Connections in Open WebUI; the model list is fetched automatically.

LobeChat

Redirect LobeChat’s OpenAI requests to XHuoAPI with the OPENAI_PROXY_URL environment variable.

Chatbox

Add a custom OpenAI-API-compatible provider in Chatbox pointing at XHuoAPI.

Cherry Studio

Add a custom provider for XHuoAPI under Cherry Studio’s Model Services and fetch the model list in one click.

Dify

Add XHuoAPI models one by one through Dify’s OpenAI-API-compatible provider.

n8n

Set the Base URL in n8n’s OpenAI credential to XHuoAPI and every OpenAI and AI Agent node reuses it.