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.

CapabilityPublic routesStreamingDynamic configurationLimitations
claude-messages/v1/messages, /v1/messages/count_tokensYesYesClaude models and tool support depend on the current console configuration.
codex-responses/v1/responsesYesYesModels and advanced capabilities depend on the current console configuration.
openai-chat-completions/v1/chat/completionsYesYesNot every model supports the same parameters; query Models first.
openai-embeddings/v1/embeddingsNoYesEmbeddings are available only for models enabled in the current configuration.
models-and-usage/v1/models, /v1/usageNoYesModels, multipliers, quota, and usage depend on the current key and console data.
gemini-v1beta/v1beta/models, /v1beta/models/{model}, /v1beta/models/{model}:{action}YesYesAvailable actions and model capabilities depend on Models responses and current configuration.