XuanShu API
Model and capability matrix
Compare public capabilities across Messages, Responses, Chat Completions, Embeddings, and Gemini v1beta.
Last verified:
Connection and authentication
Unified OpenAI-compatible Base URL: https://www.xuanshuapi.com/v1
OpenAI-compatible APIs use Authorization: Bearer <YOUR_API_KEY>; Claude Messages also accepts x-api-key: <YOUR_API_KEY>; Gemini v1beta uses x-goog-api-key: <YOUR_API_KEY>.
curl https://www.xuanshuapi.com/v1/models -H "Authorization: Bearer <YOUR_API_KEY>"Model and capability matrix
The matrix describes protocol-level capabilities and does not promise permanent availability of any model; use Models and the console for current availability.
Models, multipliers, quota, and usage depend on the current key and console data.
Model capability matrix
Available models, multipliers, quotas, and some advanced capabilities depend on the current key and console configuration.
| Capability | Public routes | Streaming | Dynamic configuration | Limitations |
|---|---|---|---|---|
| claude-messages | /v1/messages, /v1/messages/count_tokens | Yes | Yes | Claude models and tool support depend on the current console configuration. |
| codex-responses | /v1/responses | Yes | Yes | Models and advanced capabilities depend on the current console configuration. |
| openai-chat-completions | /v1/chat/completions | Yes | Yes | Not every model supports the same parameters; query Models first. |
| openai-embeddings | /v1/embeddings | No | Yes | Embeddings are available only for models enabled in the current configuration. |
| models-and-usage | /v1/models, /v1/usage | No | Yes | Models, multipliers, quota, and usage depend on the current key and console data. |
| gemini-v1beta | /v1beta/models, /v1beta/models/{model}, /v1beta/models/{model}:{action} | Yes | Yes | Available actions and model capabilities depend on Models responses and current configuration. |