AcademyWorkflowsDevelopment

Private Local Ollama Dynamic LLM Router

Technical and privacy-conscious teams that run local models and want requests sent to the right one automatically.

  • Recommendedour rating
  • 11,663views on n8n
Open on n8n.io ↗

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

private-local-ollama-self-hosted-dynamic-llm-router.json

Loading the file...

What it does

This n8n workflow runs on a local Ollama setup and picks the most suitable model for each incoming prompt. Text questions go to general models, programming requests to a code model and image questions to vision models. Conversation memory is kept and everything is processed locally, so data stays on your machine.

Use cases

  1. 01Route coding questions to a code-specific local model
  2. 02Send image questions to a vision-capable local model
  3. 03Keep sensitive prompts on local infrastructure

Connects

AI Agent · Ollama Chat Model · Simple Memory

Questions about
Private Local Ollama Dynamic LLM Router.

What is Private Local Ollama Dynamic LLM Router used for?

Technical and privacy-conscious teams that run local models and want requests sent to the right one automatically. This n8n workflow runs on a local Ollama setup and picks the most suitable model for each incoming prompt. Text questions go to general models, programming requests to a code model and image questions to vision models. Conversation memory is kept and everything is processed locally, so data stays on your machine.

How do I import Private Local Ollama Dynamic LLM Router 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 Private Local Ollama Dynamic LLM Router 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.