Skip to main content
View source

Deepseek

View as Markdown

A RocketRide LLM node that connects DeepSeek models to a pipeline, via the DeepSeek cloud API, locally through Ollama, or through OpenRouter.

What it does​

Provides DeepSeek language models as an llm invoke connection for agents and other nodes that need an LLM. It can also be used directly via lanes: send a question in, receive a generated answer out.

Built on LangChain's ChatOpenAI client (DeepSeek exposes an OpenAI-compatible API), so the same node works against the DeepSeek cloud endpoint, a local Ollama server, or OpenRouter. Requests are made with temperature 0, and max_tokens is capped at the selected profile's output-token limit.

At save time, the node validates cloud configurations (deepseek-reasoner and deepseek-chat only) by sending a minimal 1-token probe to https://api.deepseek.com/v1. Local/Ollama profiles are intentionally not validated at save time: a misconfigured local server only surfaces at runtime.

Lanes​

Lane inLane outDescription
questionsanswersSend a question directly, receive a generated answer

Profiles​

Default: Cloud Reasoner (cloud-reasoner).

ProfileModelContext tokensOutput tokens
Cloud Reasoner (default)deepseek-reasoner128,0004,096
DeepSeek: DeepSeek V4 Prodeepseek-v4-pro1,048,576384,000
DeepSeek: DeepSeek V4 Flashdeepseek-v4-flash1,048,576384,000
DeepSeek: DeepSeek V3.2deepseek-v3.2163,84065,536
DeepSeek: DeepSeek V3.2 Expdeepseek-v3.2-exp163,84065,536
View 25 more models
ProfileModelContext tokensOutput tokens
Cloud Chatdeepseek-chat163,84016,384
DeepSeek R1 1.5B (deepseek-r1-1_5b)deepseek-r1:1.5b128,0004,096
DeepSeek R1 7B (deepseek-r1-7b)deepseek-r1:7b128,0004,096
DeepSeek R1 8B (deepseek-r1-8b)deepseek-r1:8b128,0004,096
DeepSeek R1 14B (deepseek-r1-14b)deepseek-r1:14b128,0004,096
DeepSeek R1 32B (deepseek-r1-32b)deepseek-r1:32b128,0004,096
DeepSeek R1 70B (deepseek-r1-70b)deepseek-r1:70b128,0004,096
DeepSeek R1 671B (deepseek-r1-671b)deepseek-r1:671b128,0004,096
DeepSeek V3 (deepseek-v3)deepseek-v3128,0004,096
DeepSeek: DeepSeek V3 0324deepseek-chat-v3-0324163,840147,456
DeepSeek: DeepSeek V3.1deepseek-chat-v3.1163,840144,900
DeepSeek: R1deepseek-r164,00016,000
DeepSeek: R1 0528deepseek-r1-0528163,84032,768
DeepSeek: R1 Distill Llama 70Bdeepseek-r1-distill-llama-70b8,1927,372
DeepSeek: R1 Distill Qwen 32Bdeepseek-r1-distill-qwen-32b32,76832,768
TNG: DeepSeek R1T2 Chimeradeepseek-r1t2-chimera163,840163,840
Nex AGI: DeepSeek V3.1 Nex N1deepseek-v3.1-nex-n1131,072163,840
DeepSeek: DeepSeek V3.1 Terminusdeepseek-v3.1-terminus163,84032,768
DeepSeek: DeepSeek V3.2 Specialedeepseek-v3.2-speciale163,840163,840
deepseek-v4-flash-0731deepseek-v4-flash-07311,310,720131,072
deepseek-v4-flash-0731-batchdeepseek-v4-flash-0731:batch1,048,576943,718
deepseek-v4-flash-latestdeepseek-v4-flash-latest1,310,720393,216
deepseek-v4-flash-vision-expdeepseek-v4-flash-vision-exp1,048,576384,000
deepseek-v4-pro-0813deepseek-v4-pro-08131,048,576384,000
deepseek-v4-pro-0813-batchdeepseek-v4-pro-0813:batch1,048,576943,718

Cloud profiles use the DeepSeek API, local profiles use an Ollama-compatible endpoint, and OpenRouter profiles use OpenRouter credentials.

Configuration​

Choose a profile for the provider and deployment you intend to use. Each profile sets the model, model source, context and output limits, and—where applicable—the endpoint; most users only need to provide the corresponding API key.

Endpoint​

Local profiles use the OpenAI-compatible serverbase, which defaults to http://localhost:11434/v1 for Ollama. The selected model must already be pulled into Ollama. An empty endpoint raises DeepSeek serverbase is required. Cloud and OpenRouter profiles supply their own endpoints.

Authentication​

DeepSeek cloud profiles require a key beginning with sk-; another format raises Invalid DeepSeek API key format at startup. OpenRouter profiles require an OpenRouter API key. Local profiles need no credential, so the node supplies the placeholder sk-local-dummy-key required by the OpenAI client.

Notes​

Save-time validation​

When a pipeline is saved, validateConfig runs a 1-token probe ("Hi") against the DeepSeek cloud API using the official openai SDK, but only when the configured model is deepseek-reasoner or deepseek-chat. Provider errors are surfaced as warnings with the HTTP status, error type, and message preserved (e.g. Error 401: authentication_error - ...); they do not block the save. All other profiles (local and OpenRouter) are skipped at save time and will only fail at runtime if misconfigured.

Upstream docs​


Schema​

FieldTypeDescriptionDefault
deepseek.profilestringModel
Deepseek LLM model
"cloud-reasoner"
modelstringModel
Deepseek model

Dependencies​

  • openai
  • langchain-openai
  • langchain-core
  • langchain