n8n-nodes-custom-provider-fixed
v0.2.0
Published
n8n custom LLM provider sub-node (OpenAI-compatible or Anthropic-compatible)
Downloads
117
Maintainers
Readme
n8n-nodes-custom-provider
An n8n community node that lets you use any OpenAI-compatible or Anthropic-compatible LLM provider as a chat model in your n8n AI workflows.
Supported Providers
- OpenAI-compatible: OpenAI, Groq, Together AI, llm7.io, OpenRouter, Ollama, LiteLLM, vLLM, and any API that follows the OpenAI chat completions format
- Anthropic-compatible: Anthropic, Minimax, and any API that follows the Anthropic messages format
Installation
In n8n, go to Settings > Community Nodes > Install and enter:
n8n-nodes-custom-providerConfiguration
- Add the Custom Provider Chat Model node to your AI Agent
- Create a Custom LLM Provider API credential with:
- API Key (optional): your provider's API key. Leave empty if the provider doesn't require one.
- Base URL: your provider's API base URL (e.g.
https://api.openai.com/v1) - Compatible Type:
OpenAIorAnthropic
- Set the Model name (e.g.
gpt-4o,claude-3-5-sonnet-20241022)
Quick Setup Examples
llm7.io (free, no API key required)
- Base URL:
https://api.llm7.io/v1 - API Key: leave empty (or enter
unused) - Compatible Type:
OpenAI - Model:
gpt-4o-mini,gpt-oss-20b,default,fast, orpro
OpenRouter
- Base URL:
https://openrouter.ai/api/v1 - API Key: your OpenRouter key
- Compatible Type:
OpenAI - Model:
openai/gpt-4o,anthropic/claude-3.5-sonnet, etc.
Groq
- Base URL:
https://api.groq.com/openai/v1 - API Key: your Groq API key
- Compatible Type:
OpenAI - Model:
llama-3.3-70b-versatile,mixtral-8x7b-32768
Ollama (local)
- Base URL:
http://localhost:11434/v1 - API Key: leave empty
- Compatible Type:
OpenAI - Model:
llama3,mistral, etc.
Options
- Temperature: Controls randomness (0-2)
- Max Tokens: Maximum tokens in the response
- Strip Anthropic-Specific Params: For Anthropic-compatible providers that don't support all Anthropic params
License
MIT
