Models endpoint

The models your key can use. For specifications, prices and limits, see the model cards.

Every response on this page was returned by the API when the page was built.

GET /v1/models

List models.

Lists the models your key can use. With an anthropic-version header, the list is in the messages format's shape.

GET /v1/modelscurl
curl https://api.znsi.ai/v1/models \
  -H "Authorization: Bearer $ZNSI_API_KEY"
ResponseJSON
HTTP/1.1 200 OK
content-type: application/json
request-id: req_2812ee1ad551368df1aaabd6
x-ratelimit-remaining-requests: 11

{
  "data": [
    {
      "created": 1781773200,
      "id": "mugen-5",
      "object": "model",
      "owned_by": "znsi"
    },
    {
      "created": 1781773200,
      "id": "mugen-5-swift",
      "object": "model",
      "owned_by": "znsi"
    },
    {
      "created": 1781773200,
      "id": "mugen-5-deep",
      "object": "model",
      "owned_by": "znsi"
    },
    {
      "created": 1772442000,
      "id": "kirin-embed-2",
      "object": "model",
      "owned_by": "znsi"
    }
  ],
  "object": "list"
}

Errors

  • 400 Invalid request: a missing or invalid parameter, named in param.
  • 401 No key, or a key that is malformed, expired or revoked.
  • 404 Unknown route or model.
  • 413 Request body larger than 10 MB.
  • 429 Rate limited, or MUGEN is declining this caller for a while. See retry-after.

GET /v1/models/{model}

Retrieve a model.

One model. mugen-4 resolves to mugen-5; retired names return 404 with a pointer to their successor.

GET /v1/models/mugen-5curl
curl https://api.znsi.ai/v1/models/mugen-5 \
  -H "Authorization: Bearer $ZNSI_API_KEY"
ResponseJSON
HTTP/1.1 200 OK
content-type: application/json
request-id: req_d7f43b051544f9088fa7bbf1
x-ratelimit-remaining-requests: 10

{
  "created": 1781773200,
  "id": "mugen-5",
  "object": "model",
  "owned_by": "znsi"
}

Errors

  • 400 Invalid request: a missing or invalid parameter, named in param.
  • 401 No key, or a key that is malformed, expired or revoked.
  • 404 Unknown route or model.
  • 413 Request body larger than 10 MB.
  • 429 Rate limited, or MUGEN is declining this caller for a while. See retry-after.