Docs
Get an API key
API reference›Models

Get Model

GET /v1/models/{id} View .md

Retrieves one model: the same entry GET /v1/models lists for it, returned on its own as OpenAI's retrieve does. With an anthropic-version header the answer is Anthropic's model object, for the chat models Anthropic's list shows (including the vultr/claude-code/ aliases). A model ID with a slash can be sent as path segments (/v1/models/zai-org/GLM-5) or percent-encoded (/v1/models/zai-org%2FGLM-5). IDs are case-sensitive. An unknown ID, or a model that is not currently served, is a 404 in the error envelope.

  • id string required

    The model id, as GET /v1/models lists it. An id with a slash is sent as it is (zai-org/GLM-5, which the path takes as more segments) or percent-encoded (zai-org%2FGLM-5).

OK

application/json

curl https://api.vultrinference.com/v1/models/{id} \
  -H "Authorization: Bearer $VULTR_INFERENCE_API_KEY"
Response · 200
{
    "schema_version": "2.4",
    "id": "string",
    "name": "string",
    "created": 0,
    "description": "string",
    "datacenters": [
        {
            "country_code": "string",
            "region": "string"
        }
    ],
    "input_modalities": [
        {
            "type": "text"
        }
    ],
    "output_modalities": [
        {
            "type": "text"
        }
    ]
}