节点 / builtin / ai / aidependencies / llm
Chat DeepSeek
Use DeepSeek chat and reasoning models.
此内容尚不支持你的语言。
Give an AI node access to DeepSeek’s chat and reasoning models, using your own DeepSeek API key.
What it does
Section titled “What it does”Chat DeepSeek is a model you plug into the Model slot of an AI node, such as the Tools Agent or Basic LLM Chain. It does not run on its own and has no output. When the AI node runs, it sends its messages to DeepSeek with your key and gets the reply back.
- Temperature is 0 when you leave it empty, so answers are focused and repeatable.
- Replies are capped at Max Tokens (4096 by default).
- A failed request is retried up to Max Retries times (2 by default). A request that gets no answer within 60 seconds fails.
When to use it
Section titled “When to use it”- Everyday text jobs at a low price per token: use
deepseek-chat. - Problems that need step-by-step thinking, such as maths or logic: use
deepseek-reasoner. - You want an alternative to OpenAI or Anthropic with your own DeepSeek account.
Inputs and settings
Section titled “Inputs and settings”| 设置项 | 类型 | 作用 |
|---|---|---|
| Model (必填) | Text | The DeepSeek model to use, e.g. deepseek-chat or deepseek-reasoner. |
| Authentication (必填) | Credential | Use your DeepSeek API key as a Bearer token. |
| Options | Group | The options to use with the model. |
| Options › Temperature | Number | The temperature to use for the model. |
| Options › Max Retries | Number | The maximum number of retries to use for the model. 默认值:2 |
| Options › Max Tokens | Number | The most tokens the model may generate in one reply. Defaults to 4096, which keeps providers from reserving credit for the whole output window. 默认值:4096 |
Type the Model id as DeepSeek names it: deepseek-chat or deepseek-reasoner. A reasoning model takes longer to answer and uses more tokens, so raise Max Tokens if its answers get cut off.
Outputs
Section titled “Outputs”This node has no output port. It plugs into a slot on another node instead of passing items along.
- Model slot of Tools Agent, Q&A Agent, RAG Agent, Basic LLM Chain, Indexer, Text Classifier, Sentiment Analysis, Summarization, Information Extractor, Guardrails, Auto-fixing Output Parser
The AI node you connect it to produces the output. Chat DeepSeek only decides which model answers.
Dependencies and credentials
Section titled “Dependencies and credentials”- Authentication (connection): required. See Connect DeepSeek.
In Authentication, use a Bearer Token credential that holds your DeepSeek API key. Create the key on the API keys page of the DeepSeek platform. See Create a credential.
Example workflow
Section titled “Example workflow”- A Context Menu trigger on selected text.
- Basic LLM Chain with Prompt
Check this calculation step by step and give the correct result: {{ $input.selectionText }}. - Chat DeepSeek in its Model slot, Model
deepseek-reasoner, Max Tokens8000. - Clipboard Write with Text
{{ $input.response }}.
Common issues
Section titled “Common issues”- “Model parameter is required and cannot be empty”. Fill in Model.
- A 401 error. The key is wrong or revoked. Create a new key and update the credential.
- A 402 or “insufficient balance” error. Top up your DeepSeek account.
- The request times out. A reasoning model can think for a long time. Try
deepseek-chat, or a shorter prompt.
Related nodes
Section titled “Related nodes”- Basic LLM Chain: send one prompt and get a reply.
- Tools Agent: an agent that can use tools and memory.
- Chat OpenRouter: DeepSeek and many other models with one key.