Chat
Get available models
Deprecated: Use GET /v2/ai/openai/models instead.
Returns the same ModelsResponse payload as the OpenAI-compatible endpoint — open-source LLMs hosted on Telnyx (e.g. moonshotai/Kimi-K2.6, zai-org/GLM-5.1-FP8, MiniMaxAI/MiniMax-M2.7), embedding models, and fine-tuned models — kept around for backwards compatibility. New integrations should use /v2/ai/openai/models.
Model ids follow the {organization}/{model_name} convention from Hugging Face.
get/ai/models
Response
Successful Response
Example response
{
"data": [
{
"context_length": 262144,
"id": "moonshotai/Kimi-K2.6",
"organization": "moonshotai",
"owned_by": "Telnyx",
"parameters": 1000000000000,
"parameters_str": "1.0T",
"pricing": {
"cached_prompt": "0.060000",
"completion": "1.200000",
"currency": "USD",
"prompt": "0.300000",
"unit": "1M_tokens"
},
"regions": [
"us-central-1",
"us-east-1"
],
"task": "text-generation"
}
]
}