LLMs
List LLMs
Retrieve every large language model DialNexa supports for powering agents, with provider and capability information.
GET
List LLMs
Returns every large language model available to power DialNexa agents. Each entry includes the model’s stable
id, display name, upstream provider (such as OpenAI, Google, Groq, or DeepSeek), the supported context window, and the conversational features the model exposes (function calling, JSON mode). Use the id field as the value for llm.id when creating or updating an agent. The catalogue evolves continually as providers ship new models, so always call this endpoint at deploy time rather than hard-coding the list.
When to use this
- Agent build UIs: populate the LLM selector when creating or editing an agent.
- Provider diversification: choose models from multiple providers so an upstream incident with one provider does not take down every agent.
- Cost optimization: switch high-volume agents to smaller models when conversational quality stays acceptable.
- Capability filtering: find models that support function calling for agents that need tool use, or models with large context windows for long conversations.
How to choose an LLM
The right LLM depends on the use case:- Simple, high-volume agents (appointment reminders, opt-in confirmations): smaller and cheaper models like GPT-4o Mini or DeepSeek V3 typically suffice.
- Conversational quality matters (consultative sales, sensitive support): larger models like GPT-4o or GPT-4.1 typically perform better on tone, recovery, and multi-turn reasoning.
- Latency-sensitive flows: Groq-hosted models offer extremely low first-token latency at the cost of some conversational quality.
- Multilingual or India-first: confirm the model handles your target language well by testing with the LLM Playground before publishing.
Errors
401 Unauthorizedis returned when the API key is missing or revoked.
Request
Response
The model list is dynamic. New models are added without a breaking API change. Always call
GET /v1/llms to retrieve the current list rather than hard-coding model IDs.Related endpoints
- Get LLM: fetch a single model’s detail.
- Update Agent: change the LLM assigned to an existing agent.
- LLM Playground: sandbox for testing model behavior on your prompts.
- LLMs and conversation behavior: choosing the right model.
List LLMs