Chapter 11 of 211 min

11. Models#

GET /v1/models — returns the list of models the current API Key may access (OpenAI-compatible structure).

cURL
curl http://183.240.79.21:52099/v1/models \
  -H "Authorization: Bearer sk-你的YiTuoToken-Key"

We recommend calling this endpoint early in your integration to confirm which model names your key can actually use, and avoid 404 errors from nonexistent model names.