v1

latestOpenAPI 3.0.02026-07-262088144.5 KB
ModelService

List models

List all available models along with their capabilities, pricing, and specifications.

get/llm/v1alpha/models

Response

A successful response.

Example response

{
  "models": [
    {
      "model": "gpt-4o",
      "provider": "openai",
      "modelCreator": "OpenAI",
      "pricing": {
        "prompt": 0.0000025,
        "completion": 0.00001
      },
      "spec": {
        "inputModalities": [
          "text",
          "image"
        ],
        "outputModalities": [
          "text"
        ],
        "contextLength": 128000,
        "maxCompletionTokens": 16384,
        "supportedParameters": [
          "max_tokens",
          "temperature",
          "top_p",
          "stop",
          "tools",
          "tool_choice"
        ]
      }
    }
  ]
}