n8n Setup Guide
Point the n8n OpenAI credential at UnoRouter and run any model in AI Agent workflows.
Overview
The OpenAI credential in n8n has a Base URL field. Set it to UnoRouter, and the OpenAI Chat Model node can drive AI Agent and Basic LLM Chain nodes with any model.
Quick Config
Paste these into the client. Your key auto-fills when signed in.
Base URL: https://api.unorouter.com/v1
API Key: YOUR_API_KEYCompatibility
Step-by-step setup
- 1Create the credential
Go to Credentials, create an OpenAI credential and fill in API Key and Base URL. Leave Organization ID empty. Saving tests the connection against the model list.
textAPI Key: YOUR_API_KEY Base URL: https://api.unorouter.com/v1 - 2Add an OpenAI Chat Model
On an AI Agent or Basic LLM Chain node, add the OpenAI Chat Model sub node and select the new credential.
- 3Choose the model
Pick a model From List, or switch to ID and type the model id.
textglm-5.3-flash:free claude-sonnet-5-5 - 4Turn off the Responses API
Turn off Use Responses API on the OpenAI Chat Model node so it calls Chat Completions, which every UnoRouter chat model supports.
Best free models for n8n
Free models that work here. Paste any model id into the client.
Gotchas
- The Message a Model operation of the OpenAI app node always calls the Responses API, which most UnoRouter models do not serve. Use AI Agent or Basic LLM Chain with OpenAI Chat Model instead.
- Built-in OpenAI tools such as Web Search, File Search and Code Interpreter need the Responses API and do not work here. Tools you connect to the AI Agent node work with any model that supports tool calling.