Do I include /v1 in the base URL?
Do I include /v1 in the base URL?
For the OpenAI SDK and most OpenAI-compatible tools, yes:
https://api.xhuoapi.ai/v1. For the Anthropic SDK and Claude Code, no: https://api.xhuoapi.ai. A few clients (Chatbox, Cherry Studio) add /v1 themselves; their setup guides say which.Is streaming supported?
Is streaming supported?
Yes. Set
"stream": true on /v1/chat/completions and read the server-sent events.Why do I get 'model not available' for a model that is listed?
Why do I get 'model not available' for a model that is listed?
The model is probably not in your token’s tier. Qwen models and image models are only in Standard and Official. Check the tiers page.
Do I need a Chinese phone number?
Do I need a Chinese phone number?
No. Sign-up needs an email address only.
Where are my usage and charges?
Where are my usage and charges?
In the console: top-ups and the usage of each request.