n8n
Editor's pickFair-code workflow automation with AI agent nodes and your own keys.
Overview
n8n is a workflow automation platform with hundreds of integrations and AI agent nodes built on LangChain. You can self-host it and plug in credentials for OpenAI, Anthropic, Gemini, Mistral, Ollama and more.
- AI agent nodes
- 400+ integrations
- Visual workflow editor
- Code nodes
- Self-hosting
Our verdict
What we like
- Extremely versatile
- Strong self-hosting story
Watch out for
- Sustainable Use License, not OSI open source
Works with these providers
Keys from these providers work in this app. Usage is billed by the provider at its list price.
BYOK Key Safety Score
Key handling in n8n
Grade B
Your key is stored by the service (usually encrypted) and requests may route through its servers.
- Key storage18/40
Key is held by the vendor, so you rely on their security.
- Auditable code25/25
Open source: anyone can verify how keys are handled.
- Self-hosting15/15
Can run entirely on your own infrastructure.
- Offline option10/10
Supports local models, so no key is needed at all for private work.
- Provider choice10/10
14 provider options, which lets you pick the provider whose data terms you trust.
Whatever the score, give each app its own key, set a monthly spend limit with your provider, and revoke keys you no longer use. Read the key-safety checklist.
n8n FAQ
- Does n8n support bring your own key?
- Yes. n8n accepts your own API key from OpenAI, Anthropic, Google Gemini, OpenRouter, Mistral, Groq, DeepSeek, xAI, Ollama, Azure OpenAI, AWS Bedrock, Perplexity, Cohere and OpenAI-compatible. Usage is billed by the provider at its API rates.
- Where does n8n store my API key?
- On the vendor's servers, and requests may be routed through them. Its BYOK Tools Key Safety Score is 78/100.
- Is n8n free?
- Freemium: Self-host free; cloud from ~$20/mo. API usage is billed separately by your model provider.
- Is n8n open source?
- Yes. The source code is at https://github.com/n8n-io/n8n. It can also be self-hosted.
- Can n8n run local models?
- Yes. It can connect to local runtimes such as Ollama or LM Studio, so no API key is needed for private or offline use.
- Which platforms does n8n support?
- Web, Self-hosted.
Community reviews
No reviews yet.
Alternatives to n8n
All automation & agents →Dify
Automation & Agents
Open-source platform for building LLM apps, agents and RAG pipelines.
Langflow
Automation & Agents
Visual framework for building multi-agent and RAG applications.
LiteLLM
Automation & Agents
Open-source gateway that calls 100+ LLMs with one OpenAI-style API.
Flowise
Automation & Agents
Drag-and-drop builder for LLM agents and chatflows.
CrewAI
Automation & Agents
Framework for orchestrating role-playing multi-agent teams.
Sim
Automation & Agents
Open-source visual builder for AI agent workflows with BYOK and local models.