I’ve developed an n8n community node called n8n-nodes-pollinations-ai-chat-model that lets you plug the Pollinations AI Chat Model directly into n8n’s AI Agent and Chain nodes.
It’s built for people who want to learn n8n and experiment with AI models completely free or at very low cost, before committing to paid providers.
What this node does
This node exposes Pollinations’ chat capabilities as an AI Chat Model sub‑node inside n8n, so you can drop it into Agentic workflows the same way you would with other Chat Model nodes.
Behind the scenes it talks to Pollinations.ai, which supports anonymous requests and personal API keys for higher limits and more stable usage.
Key features
According to the npm package, the node includes:
-
Dynamic model discovery: it queries the Pollinations API to auto‑populate available text models, with a static fallback if the API is offline.
-
Auto-insert support: the class name starts with
Model, so n8n can wire it into AI nodes easily. -
Zero-dependency architecture: it’s packaged to avoid version conflicts in n8n installations.
-
Glow ring & execution checkmark fix: it patches the prototype so the editor shows correct execution feedback.
-
Advanced options: Temperature, Max Tokens, JSON Mode, Seed, Safe Mode (content filter), and Reasoning Effort for reasoning-heavy models.
How to install the node in n8n
For self‑hosted n8n, you can install it from the Community Nodes panel:
-
Go to Settings → Community Nodes.
-
Click Install a new node.
-
Enter:
n8n-nodes-pollinations-ai-chat-model. -
Accept the risk notice and click Install.
Make sure the environment variable N8N_COMMUNITY_PACKAGES_ENABLED=true is set on your instance so community nodes can be loaded.
Get your Pollinations API key (optional but recommended)
Pollinations supports anonymous requests, but they’re rate‑limited. To unlock full capability and bandwidth, you can create your own API key:
-
Go to
https://enter.pollinations.ai. -
Click Login with GitHub and authorize the app.
-
After logging in, open the Key section in the menu.
-
Click Add Key to create a new key.
-
Copy the generated key (it starts with
sk_...) and keep it private.
How to configure credentials in n8n
Once you have your sk_... key, connect Pollinations to n8n:
-
In n8n, go to Credentials → Add Credential.
-
Search for Pollinations API and select it.
-
Paste your
sk_...key into the API Key field and click Save. -
Open the Pollinations Chat Model node in your workflow.
-
In Credential for Pollinations API, choose the credential you just created.
From there, you can attach this Chat Model to an AI Agent or Chain node and start testing AI‑powered workflows without needing a paid OpenAI, Claude, or Gemini key.
