Zum Hauptinhalt springen
GET
/
openai
/
v1
/
models
Modellliste abrufen
curl --request GET \
  --url https://api.highwayapi.ai/openai/v1/models \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>'
{
  "data": [
    {
      "id": "<string>",
      "created": 123,
      "object": "<string>",
      "input_token_price_per_m": 123,
      "output_token_price_per_m": 123,
      "title": "<string>",
      "description": "<string>",
      "context_size": 123
    }
  ]
}
Ruft die Liste der aktuell für die LLM API verfügbaren Modelle ab und stellt grundlegende Informationen zu jedem Modell bereit. Dieser Endpoint ist mit der OpenAI API kompatibel.

Anfrage-Header

Content-Type
string
erforderlich
Enumerationswert: application/json
Authorization
string
erforderlich
Bearer-Authentifizierungsformat: Bearer {{API Key}}.

Antwortinformationen

data
array
erforderlich
Array von Modellobjekten mit den folgenden Eigenschaften: