AcademyWorkflowsDevelopment

AI Orchestrator: routes chat requests to the right model

Operations and development teams that run a chat assistant and want each request matched to a suitable model.

  • Recommendedour rating
  • 5,438views on n8n
Open on n8n.io ↗

Paste it straight onto an n8n canvas with Ctrl+V or Cmd+V.

ai-orchestrator-dynamically-selects-models-based-on-input-type.json

Loading the file...

What it does

An n8n workflow that receives a chat message with its session ID, then uses a small model to classify it as general, reasoning, coding or search. Each category goes to a model chosen for that kind of task, so lighter models handle simpler requests. The session ID can also keep a separate memory for each user.

Use cases

  1. 01Sending simple questions to a lighter, cheaper model
  2. 02Routing code requests to a model suited to coding
  3. 03Keeping a separate conversation memory per session

Connects

AI Agent · Basic LLM Chain · Anthropic Chat Model · OpenAI Chat Model · Simple Memory · Structured Output Parser · Google Gemini Chat Model · OpenRouter Chat Model · Model Selector

Questions about
AI Orchestrator: routes chat requests to the right model.

What is AI Orchestrator: routes chat requests to the right model used for?

Operations and development teams that run a chat assistant and want each request matched to a suitable model. An n8n workflow that receives a chat message with its session ID, then uses a small model to classify it as general, reasoning, coding or search. Each category goes to a model chosen for that kind of task, so lighter models handle simpler requests. The session ID can also keep a separate memory for each user.

How do I import AI Orchestrator: routes chat requests to the right model into n8n?

Copy the workflow JSON from this page and paste it onto the n8n canvas with Ctrl+V or Cmd+V. Then connect your credentials in each node.

Is AI Orchestrator: routes chat requests to the right model safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.