{
"error": {
"message": "The model 'primalabs-ai/does-not-exist' does not exist or you do not have access to it.",
"type": "invalid_request_error",
"param": "model",
"code": "model_not_found"
}
}
Models
Retrieve a model
One entry of List models. Model IDs contain a slash
(primalabs-ai/DeepSeek-V4.1-Flash-1017), so the path is the ID as is:
/models/primalabs-ai/DeepSeek-V4.1-Flash-1017.
{
"error": {
"message": "The model 'primalabs-ai/does-not-exist' does not exist or you do not have access to it.",
"type": "invalid_request_error",
"param": "model",
"code": "model_not_found"
}
}
Authorizations
Authorization
string
header
required
Your PrimaLabs API key, sent as Authorization: Bearer <key>.
Path Parameters
owner
string
required
The part of the model ID before the slash.
Example:
"primalabs-ai"
model
string
required
The part of the model ID after the slash.
Example:
"DeepSeek-V4.1-Flash-1017"
Response
The model.
A model your key can call. The capability fields (supports_*, input_modalities,
reasoning_*, max_output_tokens) are present only once they have been checked
against the live model; see Model capabilities.
id
string
Example:
"primalabs-ai/DeepSeek-V4.1-Flash-1017"
object
string
Example:
"model"
created
integer
owned_by
string
Example:
"primalabs-ai"
context_length
integer | null
The context window in tokens, or null when it is not known.
Example:
1048576
pricing
object
USD per token, as decimal strings. A price that is not set is null. The
example values are placeholders, not current rates.
Show child attributes
mode
string | null
The model's mode, when one is set. null for the chat models in the catalog.
supported_endpoints
string[] | null
The endpoints you can call this model on. One that failed its check is left out. null when the model has no endpoint list.
Per endpoint, the effort values that endpoint's own parameter accepts without a 400 (reasoning_effort on chat completions, reasoning.effort on responses).