- Home
- Resources
- Integrations
- DeepSeek Chat Model
n8n DeepSeek Chat Model nodeConfigure DeepSeek Chat Model in n8n.
An AI Agent in n8n does nothing until a chat model is wired to it. The n8n DeepSeek Chat Model node is that model: a sub-node, meaning a helper node that plugs into a port of a bigger node instead of running on its own. It exposes 9 parameters and connects through the ai_languageModel port.
Verified Trustpilot reviews · AI, automation & growth agency
What does the n8n DeepSeek Chat Model node actually do?
It supplies the language model that a root node uses to generate text. In n8n's AI setup, a root node such as an AI Agent or a chain receives workflow items on its main input, and sub-nodes attach to its ports: one chat model, one memory, as many tools as you need. The DeepSeek Chat Model node fills the model slot, and nothing else. On its own, it never runs.
Think of it as the engine you drop into a chassis. Three shapes come up again and again once you start building.
The first is a conversational assistant. You wire DeepSeek Chat Model into the AI Agent node, give the agent a memory sub-node so it remembers the thread, and hand it tools so it can act. The agent decides what to do, DeepSeek writes the words. The second is structured extraction: you set Response Format to json_object, so the model returns valid JSON that the next node can read field by field, then push the result into Google Sheets or post it to Slack. The third is quiet background classification: a summarization or classifier chain calls the model once per item, with Sampling Temperature low so two identical inputs give the same answer twice.
When is another node the better call? If you already run everything on OpenAI credentials and want the same provider across a workflow, the OpenAI node covers that ground. If the model keeps returning JSON that breaks your parser, the Auto-fixing Output Parser takes a model of its own and repairs the output instead of you tightening prompts forever.
The limits are worth knowing before you build. This node has no main input and no main output: you cannot place it in the middle of a workflow and expect items to flow through it. It only attaches to a root node's model port. It carries no prompt of its own either, since the prompt belongs to the root node. And the model list is loaded live from DeepSeek using your credential, so you see the models your account can call, not a hardcoded list.
Cost sits with DeepSeek, not with n8n. The node ships with n8n, the API calls are billed by the provider under its own terms. Teams that want to compare platforms before committing usually read the n8n review first.
How do you connect DeepSeek to n8n?
- 01
Open the Credentials menu
In n8n, credentials live in their own menu, separate from any workflow. Create the DeepSeek credential there once and every workflow on that instance can reuse it. This is the same on n8n Cloud and on a self-hosted instance, so a workflow you export from one runs on the other once the credential exists on both sides.
- 02
Attach it to the node
Drop a DeepSeek Chat Model node on the canvas and pick the credential in the node panel. There is no Authentication selector to choose from on this node, so the credential is the only thing standing between you and a working model. Save the workflow before you test, otherwise n8n runs the version it last stored.
- 03
Check the model list loads
Open the Model dropdown. n8n queries DeepSeek with your credential and fills the list with the models your account can reach. If the list comes back empty, the credential is the suspect, not the node. Pick a model, then attach the node to a root node before you run anything.
Where does this node plug in?
n8n splits AI work between a root node that runs in the workflow and sub-nodes that hang off its ports. This node has no input port of its own: it exposes one output, and that output goes into a root node's model slot.
Output (what it plugs into)
- Model
ai_languageModel
01Model
This is the only port the node uses, and it points outward: you drag from the node up into the model slot of whatever root node is doing the work.
Key parameters
- Required: a root node cannot generate anything without a model on this port, so the connection is not optional.
- AI Agent: the usual destination when the model has to reason, pick a tool and answer.
- Basic LLM Chain: the simpler route when you just want a prompt in and text out, with no tool selection.
- Summarization Chain: takes the model to condense long documents item by item.
- Text Classifier: uses the model to sort each incoming item into one of your categories.
Which parameters change what the model does?
The DeepSeek Chat Model node has 9 parameters. For each one: the node as you configure it in n8n, what the parameter changes, and our field notes.
Parameters index
Model
modelWhat you see in n8n
Notes & use cases
Picks which DeepSeek model generates the completion. The dropdown is not a static list: n8n calls DeepSeek with your credential and shows only the models your account can use, so two people on the same instance can see different options.
Key parameters
- Model: the model that will generate the completion, chosen from the list n8n loads from DeepSeek.
Frequency Penalty
options.frequencyPenaltyWhat you see in n8n
Notes & use cases
Pushes the model away from repeating itself. Positive values penalize tokens based on how often they have already appeared in the text so far, which lowers the odds of the model repeating the same line verbatim.
Key parameters
- Frequency Penalty: a number; the higher it goes, the less the model repeats itself.
Maximum Number of Tokens
options.maxTokensWhat you see in n8n
Notes & use cases
Caps how long the answer can get. A token is a chunk of text, roughly a word fragment, and this setting fixes the completion length. Most models carry a context length of 2048 tokens, except for the newest ones, which support 32768.
Key parameters
- Maximum Number of Tokens: a number, the ceiling on tokens generated in the completion.
Response Format
options.responseFormatWhat you see in n8n
Notes & use cases
Decides whether the answer comes back as prose or as machine-readable data. Switch it the moment a later node has to read fields rather than display a paragraph.
Key parameters
- Text (
text): a regular text response, the default shape for anything a human reads. - JSON (
json_object): enables JSON mode, which should guarantee the message the model generates is valid JSON.
{{ $json.amount }} in the next node.Presence Penalty
options.presencePenaltyWhat you see in n8n
Notes & use cases
Steers the model toward new ground. Positive values penalize tokens based on whether they have appeared in the text at all, which raises the likelihood of the model talking about new topics.
Key parameters
- Presence Penalty: a number; higher values increase the chance the model moves to new topics.
Sampling Temperature
options.temperatureWhat you see in n8n
Notes & use cases
Controls randomness. Lowering it results in less random completions, and as the temperature approaches zero the model becomes deterministic and repetitive. Raise it for more diverse sampling, at the cost of a higher risk of hallucinations.
Key parameters
- Sampling Temperature: a number; near zero the answers stop varying, higher values loosen them.
Timeout
options.timeoutWhat you see in n8n
Notes & use cases
Sets the maximum amount of time a request is allowed to take, in milliseconds. Past that, the request stops instead of holding the execution open.
Key parameters
- Timeout: a number in milliseconds, so
2000means two seconds, not two thousand.
Max Retries
options.maxRetriesWhat you see in n8n
Notes & use cases
Says how many times n8n retries a request that failed before it gives up and the execution errors out.
Key parameters
- Max Retries: a number, the maximum count of retry attempts per request.
Top P
options.topPWhat you see in n8n
Notes & use cases
Controls diversity through nucleus sampling: 0.5 means half of all likelihood-weighted options are considered. A lower value tells the model to ignore the less probable options.
Key parameters
- Top P: a number between zero and one, the slice of probable options the completion draws from.
Need help automating DeepSeek Chat Model with n8n?
A person reads every message.
Common questions
01Is the n8n DeepSeek Chat Model node included with n8n Cloud and self-hosted?
02What do you need for the DeepSeek Chat Model node to work?
03What are the limits of this node?
04What is the minimum to plug in, and which node should a beginner start with?
05n8n or Make for this kind of AI workflow?
Get our weekly integration tips.
No spam. Unsubscribe anytime.



