Get Model By Author And Slug
Retrieves one model in OpenRouter's public model shape, for OpenRouter's models.get({author, slug}). Model IDs have no author, so the slug is matched against the model ID and any author is accepted (vultr is the documented one). The whole author/slug also matches a model ID that holds a slash, a model's Hugging Face ID (case-insensitively) and a legacy model ID that redirects to the model that replaced it. A :variant suffix on the slug is accepted and ignored. A slug that holds a slash can be percent-encoded. Public like GET /v1/models, which lists the same entry. An unknown model, one that is not currently served and a private model are a 404 in the error envelope.
Path parameters
-
author string required
The model's organization. Any value is accepted; use
vultr. -
slug string required
The model ID, optionally with a
:variantsuffix.
Responses
OK
application/json · openrouter-public-model-response
Empty variant after the colon
application/json · error-payload
Not Found
application/json · error-payload
The model catalog cannot be read right now. Retry shortly; an empty list is never sent in its place.
application/json · error-payload
curl https://api.vultrinference.com/v1/model/vultr/glm-5.3import requests
response = requests.get(
"https://api.vultrinference.com/v1/model/vultr/glm-5.3",
)
print(response.json())const response = await fetch("https://api.vultrinference.com/v1/model/vultr/glm-5.3");
console.log(await response.json());{
"data": {
"id": "glm-5.3",
"canonical_slug": "string",
"name": "string",
"created": 0,
"context_length": 0,
"architecture": {
"input_modalities": [
"text"
],
"output_modalities": [
"text"
],
"modality": "text+image->text",
"tokenizer": "Other"
},
"pricing": {
"prompt": "0.00000055",
"completion": "0.00000275"
},
"top_provider": {
"is_moderated": false
},
"per_request_limits": {},
"supported_parameters": [
"temperature",
"top_p",
"max_tokens",
"tools"
],
"default_parameters": {
"temperature": 0.0,
"top_p": 0.0,
"top_k": 0,
"frequency_penalty": 0.0,
"presence_penalty": 0.0,
"repetition_penalty": 0.0
},
"supported_voices": [
"string"
],
"links": {
"details": "/v1/model/vultr/glm-5.3"
}
}
}