Vigyata.AI
Is this your channel?

How to Use ANY LLM in n8n with Open Router & Model Selector

860 views· 25 likes· 14:47· Feb 9, 2026

🛍️ Products Mentioned (2)

💼 Business owner or operator with a team? We build AI automation systems that cut costs and scale ops — done for you: https://ryanandmattdatascience.com/ai-consultant/ 🚀 Want to make money with AI skills? Join our free community — real projects, real client strategies, and the exact stack we use: https://www.skool.com/data-and-ai 🍿 WATCH NEXT n8n Playlist: https://www.youtube.com/watch?v=MYsr7EIbDG0&list=PLcQVY5V2UY4K0mpuJ-oYO_LI25w5VDUD5 Stop overpaying for simple AI tasks and eliminate single-point failures in your N8N workflows. In this comprehensive tutorial, I show you three powerful approaches to working with multiple AI models in N8N using OpenRouter, model selectors, and fallback models. Learn how to access hundreds of AI models through a single API key with OpenRouter, dynamically choose the best model for each task using model selectors based on your input data, and set up automatic fallback models to keep your workflows running even when your primary provider goes down. We start by setting up OpenRouter to access models from Anthropic Claude, OpenAI GPT, Google Gemini, and hundreds of other providers with just one API key. Then I demonstrate building a model selector that automatically routes SQL queries to Anthropic while using OpenAI for other tasks. Finally, we implement fallback models as a backup plan for when providers experience outages. By the end of this video, you'll know exactly when to use each approach and how to build more robust, cost-effective AI workflows that never stop running. All workflow JSONs are available in our free School community, where we also host live calls every Wednesday. Whether you're optimizing costs, improving reliability, or just want more flexibility in your AI automations, this tutorial will help you master multiple model workflows in N8N. TIMESTAMPS 00:00 Introduction - Why You're Overpaying for AI Tasks 00:59 Setting Up Open Router Account 02:10 Creating and Configuring API Key in n8n 02:52 Finding Open Router in n8n Chat Models 03:55 Exploring Available Models (Claude, OpenAI, Google) 05:17 Benefits of Single API Key Access 06:02 Exploring Open Router's Model Marketplace 07:04 Model Selector Introduction 08:15 Setting Up Model Selector Logic 09:40 Testing Model Selection with SQL Queries 11:07 Advanced Model Selector Configuration 11:33 Fallback Models Setup 12:48 Recap of Three Approaches 13:22 Homework Assignment OTHER SOCIALS: Ryan’s LinkedIn: https://www.linkedin.com/in/ryan-p-nolan/ Matt’s LinkedIn: https://www.linkedin.com/in/matt-payne-ceo/ Twitter/X: https://x.com/RyanMattDS *This is an affiliate program. We receive a small portion of the final sale at no extra cost to you.

About This Video

If you’re running the same prompt through Claude for every task in n8n—whether it’s analyzing a complex doc or just extracting a date—you’re probably overpaying, you’re locked into one provider, and you’re setting yourself up for a single-point failure when that model rate-limits or goes down. In this video, I show three practical ways to use multiple LLMs in n8n so your workflows are cheaper, more flexible, and don’t randomly stop running. First, I walk through setting up OpenRouter so you can access hundreds of models (Claude, OpenAI, Gemini, and more) with one API key inside n8n. Then I build a simple model selector that routes SQL/code-like inputs to Anthropic (because it tends to be better for that) while sending other inputs to an OpenAI model—based purely on workflow data and conditions like “contains select” and “contains from.” Finally, I show how to enable fallback models directly in your AI Agent node so if your primary provider is down, n8n automatically switches to your second-choice model and keeps the automation alive. The takeaway: stop paying premium model prices for low-value tasks, and design your workflows with routing + redundancy from day one.

Frequently Asked Questions

🎬 More from Ryan & Matt Data Science