XuanShu API

Models API

List models visible to the current key.

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>"

Models API

GET /v1/models returns models visible to the current key and group; do not hard-code a marketing model list.

Models, multipliers, quota, and usage depend on the current key and console data.

Next steps

Available models, multipliers, quotas, and some advanced capabilities depend on the current key and console configuration.