All guides / Coding assistants
Use XHuoAPI in Continue
Continue is configured from a single YAML file. Any OpenAI-compatible endpoint uses provider: openai plus an apiBase field.
Before you start
- Sign up in the console and create an API token. Registration needs an email address only, no phone number.
- You pick a tier when creating the token; new accounts default to Standard. The tier sets price and stability and also which models are available — see the pricing page.
Verify first
Before touching the tool, confirm the key and model work with curl. This rules out half of the 'I configured it and nothing happens' cases.
curl https://api.xhuoapi.ai/v1/chat/completions \
-H "Authorization: Bearer sk-..." \
-H "Content-Type: application/json" \
-d '{"model":"deepseek-v3.2","messages":[{"role":"user","content":"ping"}]}'
Steps
Open the config file: ~/.continue/config.yaml on macOS/Linux, %USERPROFILE%\.continue\config.yaml on Windows. Create it if missing.
Add model entries under models. The same apiKey and apiBase can be reused for several models; roles decide whether a model is used for chat, edit or apply.
name: XHuoAPI
version: 0.0.1
schema: v1
models:
- name: DeepSeek V4 Pro
provider: openai
model: deepseek-v4-pro
apiBase: https://api.xhuoapi.ai/v1
apiKey: sk-...
roles: [chat, edit, apply]
capabilities: [tool_use]
- name: Claude Sonnet 5
provider: openai
model: claude-sonnet-5
apiBase: https://api.xhuoapi.ai/v1
apiKey: sk-...
roles: [chat]
capabilities: [tool_use, image_input]
Continue reloads automatically on save. If a config.json also exists, config.yaml takes precedence.
Notes
Commonly used models
These are common choices for this kind of tool; click a model to see its price in each tier. The full list is on the pricing page.
Steps follow the tool's current official documentation; the UI may change after updates. Tell us if something no longer matches.