Use n8n with Shannon
Give n8n an OpenAI credential with Shannon's base URL, and the OpenAI Chat Model node runs your chains and AI agents on Shannon models.
- Tested Nov 7, 2026
- OpenAI Chat Completions
- About 3 min
About n8n
n8n is a workflow automation tool you can self-host or use in the cloud. Its AI Agent and chat model nodes add language models to workflows, with tools, memory and hundreds of app integrations. An OpenAI credential with Shannon's base URL lets those nodes run on Shannon models.
What you need
- A Shannon API key
- Keys & usage
- Base URL
-
https://api.shannon-ai.com/v1Endpoint:/v1/chat/completions - Every snippet below follows your choice.
Set it up
-
Create an OpenAI credential for Shannon
In n8n go to Credentials → Create credential → OpenAI. Enter your Shannon key as API Key and change Base URL to Shannon's. Name it "Shannon".
OpenAI credentialAPI Key: YOUR_API_KEY Base URL: https://api.shannon-ai.com/v1 -
Add a chat model to your workflow
Add a Basic LLM Chain or an AI Agent node. As its chat model, add OpenAI Chat Model, select the Shannon credential, and set Model to By ID with a Shannon id (the From list option lists them too, from
GET /v1/models).OpenAI Chat ModelCredential: Shannon Model: By ID → Kimi-K3-uncensored-NVFP4 -
Run it
Execute the workflow. The chain's output holds the answer in
text.Output[{ "text": "Cats can be black, white, and orange." }]
Check that it works
Send: A Basic LLM Chain with the prompt "Name three colours a cat can be, in one short sentence."
You should see: text: "Cats can be black, white, and orange." (our run on n8n 2.46.6).
Models that fit n8n
Every id below meets what n8n needs. The first one is the default in the snippets.
| Model id | Context window | Max output | Image input |
|---|---|---|---|
Kimi-K3-uncensored-NVFP4 | 1,022,976 | 262,144 | Yes |
Kimi-K3-uncensored-3BIT-REAP | 225,280 | 225,280 | Yes |
shannon-3 | 196,608 | 65,536 | Yes |
shannon-coder-1 | 131,072 | 65,536 | No |
Good to know
- The AI Agent node calls tools; every model in the picker supports them.
- Nodes that need embeddings (vector stores, "Embeddings OpenAI") need a separate embedding provider: Shannon has no embeddings endpoint.
- The OpenAI app node's image, audio and file actions call endpoints Shannon does not serve; use the chat model nodes.
Tips
- Use the Chat Trigger node to test an agent from the editor's chat panel before you connect it to a real trigger.
- Attach a Simple Memory node to the AI Agent so it remembers the earlier turns of a conversation.
- Set Maximum Number of Tokens and Sampling Temperature in the chat model node's options to keep automated replies short and steady.
- One credential serves every workflow: change the model in a node without touching the credential.
Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
| The model list is empty or shows OpenAI's models | The credential still has OpenAI's base URL. | Set Base URL to https://api.shannon-ai.com/v1, save, and reselect the credential. |
404 from the model node | The Base URL lacks /v1 or has a trailing path. | Use exactly https://api.shannon-ai.com/v1. |
401 Unauthorized | The key is missing, mistyped or rotated. | Copy the key again from Keys & usage; it starts with sk-. |
context_length_exceeded / "prompt is too long" | The conversation is longer than the model's window. | Start a new chat, let the tool compact it, or pick a model with a larger window. |
insufficient_quota | Your balance cannot pay for the request. | Top up or change plan; the request is not retried by itself. |
Questions
Does n8n work with Shannon?
Yes: an OpenAI credential with Shannon's Base URL, used by the OpenAI Chat Model node.
Does the n8n AI Agent node work?
Yes, with a model that calls tools; all models in the picker do.