List models
Lists the available models, with basic information about each one, such as the owner.
Use the optional type query parameter to filter results by model category:
llm: large language models (chat completions)embedding: text embedding modelsimage_generation: image generation modelsrerank: reranking modelstranscription: speech-to-text models
Omitting type returns all models. An unknown type value is rejected with a 400.
Please provide header value as 'Bearer ' and don't forget to add 'Bearer' HTTP Authorization Scheme before the token.
Filter models by type. When omitted, all models are returned.
Supported values: llm, embedding, image_generation, rerank,
transcription.
llmPossible values: A list of model objects.
Invalid type query parameter.
Unauthorized
The request is missing authorization information or the authorization information provided are expired.
Forbidden
The user issuing the request does not have the needed permissions.
Your contract's rate limit is exhausted. Wait the number of seconds in Retry-After
before retrying, rather than a delay of your own. The OpenAI SDKs do this
automatically. This endpoint answers in the OpenAI error format, like its 400.
Internal Server Error
The request could not be completed because of an internal error. The request was
not necessarily rejected, so a retry is safe for idempotent calls. If it persists,
quote the value of the X-Request-Id response header when contacting support.
GET /v1/models HTTP/1.1
Host: openai.inference.de-txl.ionos.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"object": "list",
"data": [
{
"id": "meta-llama/Llama-3.3-70B-Instruct",
"object": "model",
"created": 1700000000,
"owned_by": "ionos"
},
{
"id": "multilingual-e5-large-instruct",
"object": "model",
"created": 1700000001,
"owned_by": "ionos"
}
]
}Last updated
Was this helpful?