Text modelsAPI referenceList text models

List text models

List the text models you can call, with context window, output limit and credits per million tokens. The response is compatible with the OpenAI model list.

Authentication

API Key: X-API-Key: <API Key> or Authorization: Bearer <API Key>.

Credentials in the examples are placeholders. Replace them and run the examples on your server.

Code examples

curl -X GET 'https://shixux.com/api/v1/models' \  -H 'X-API-Key: yb_xxx_yyy'
{  "object": "list",  "data": [    {      "id": "example",      "object": "model",      "created": 1,      "display_name": "example",      "context_window": 1,      "max_output_tokens": 1,      "supports_stream": true,      "supports_thinking": true,      "pricing": {        "input_credits_per_million": null,        "cached_input_credits_per_million": null,        "output_credits_per_million": null      }    }  ]}

Response Body

Request succeeded

application/json
  1. response
object*string
data*array<>

On this page