The /v1/models endpoint returns every model your key can use.
curl https://devsaio.lol/v1/models -H "Authorization: Bearer $DEVSAIO_API_KEY"{
"object": "list",
"data": [
{ "id": "claude-sonnet-4-6", "object": "model", "owned_by": "..." },
{ "id": "gpt-5.6-luna", "object": "model", "owned_by": "..." }
]
}In Python
models = [m.id for m in client.models.list().data]
print(len(models), "models")
print([m for m in models if "claude" in m])Why use it
- Build a model picker in your app that's always up to date.
- Validate configuration at startup: fail fast if a configured model id doesn't exist.
- Avoid typos. Model ids are exact strings;
claude-sonnetisn't the same as the full id.
Choosing from the list
The endpoint tells you what exists, not what it costs or what it's good at. For prices, context sizes and capabilities, use the model explorer and the pricing page, or read how to choose a model for your task.
Claude, GPT, Gemini, DeepSeek, image and video models through one OpenAI- and Anthropic-compatible endpoint. Prepaid, pay only for what you use.