Models
List models
Changed onReturns the models available through the Respan gateway, in the OpenAI model list format.
Without an API key, the response lists every public model. With an API key, it lists the models your project can use.
get/api/v1/models
Request
- Base URLhttps://api.respan.ai
- URLhttps://api.respan.ai/api/v1/models
- Auth
- none
- or HTTP bearer
Response
The model list.
Example response
{
"object": "list",
"data": [
{
"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