OpenAI Chat

Get available models (OpenAI-compatible)

Lists every model currently available to your account on Telnyx Inference, including SOTA open-source LLMs hosted on Telnyx GPUs (for example moonshotai/Kimi-K2.6, zai-org/GLM-5.1-FP8, and MiniMaxAI/MiniMax-M2.7), embedding models, and any fine-tuned models you have created.

Each entry is a ModelMetadata object describing the model id, owner, task, context length, supported languages, billing tier, pricing per 1M tokens, deployment regions, and whether the model supports vision or fine-tuning. Use this endpoint to discover model ids you can pass to POST /v2/ai/openai/chat/completions.

Model ids follow the {organization}/{model_name} convention from Hugging Face (for example moonshotai/Kimi-K2.6). This endpoint is OpenAI-compatible: clients pointed at https://api.telnyx.com/v2/ai/openai can call client.models.list() to retrieve the same payload.

get/ai/openai/models

Response

Successful Response

objectstring

Example response

{
  "data": [
    {
      "id": "moonshotai/Kimi-K2.6",
      "owned_by": "Telnyx",
      "organization": "moonshotai",
      "task": "text-generation",
      "context_length": 262144,
      "parameters": 1000000000000,
      "parameters_str": "1.0T",
      "pricing": {
        "prompt": "0.300000",
        "completion": "1.200000",
        "cached_prompt": "0.060000",
        "currency": "USD",
        "unit": "1M_tokens"
      },
      "regions": [
        "us-central-1",
        "us-east-1"
      ]
    }
  ]
}

Changes

Changed in 2 of the 47 revisions of this API.117

  • 6e906ca0dcb6116See the full diff
    • the data/items/created response's property type/format changed from integer/ to string/date-time for status 200

      response-property-type-changed

    • added the optional property data/items/base_model to the response with the 200 status

      response-optional-property-added

    • added the optional property data/items/description to the response with the 200 status

      response-optional-property-added

    • added the optional property data/items/is_fine_tunable to the response with the 200 status

      response-optional-property-added

    • added the optional property data/items/is_vision_supported to the response with the 200 status

      response-optional-property-added

    • added the optional property data/items/max_completion_tokens to the response with the 200 status

      response-optional-property-added

    • added the optional property data/items/parameters_str to the response with the 200 status

      response-optional-property-added

    • added the optional property data/items/pricing to the response with the 200 status

      response-optional-property-added

    • added the optional property data/items/recommended_for_assistants to the response with the 200 status

      response-optional-property-added

    • added the optional property data/items/regions to the response with the 200 status

      response-optional-property-added

    • added the optional property data/items/task to the response with the 200 status

      response-optional-property-added

    • added the required property data/items/context_length to the response with the 200 status

      response-required-property-added

    • added the required property data/items/languages to the response with the 200 status

      response-required-property-added

    • added the required property data/items/license to the response with the 200 status

      response-required-property-added

    • added the required property data/items/organization to the response with the 200 status

      response-required-property-added

    • added the required property data/items/parameters to the response with the 200 status

      response-required-property-added

    • added the required property data/items/tier to the response with the 200 status

      response-required-property-added

    • endpoint added

      endpoint-added

    This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog