Models
Get a model
Changed onReturns one model, in the same format as the model list.
Returns 404 if the model does not exist or your project cannot use it.
get/api/v1/models/{model}
Request
- Base URLhttps://api.respan.ai
- URLhttps://api.respan.ai/api/v1/models/{model}
- Auth
- none
- or HTTP bearer
Path parameters
modelstring required
The model ID, as returned in id. IDs can contain slashes, such as openrouter/openai/gpt-4o.
Response
The model.
Example response
{
"id": "gpt-4o-mini",
"object": "model",
"created": 1721260800,
"owned_by": "openai",
"context_length": 128000,
"pricing": {
"input_cost": 0.15,
"output_cost": 0.6,
"input_price_unit": "token",
"output_price_unit": "token"
}
}Changes
- info
endpoint added
- info