Library / Building Blocks & Utilities
Building Blocks & Utilities
Run DeepSeek V3 Chat and R1 Reasoning Models via OpenAI-Compatible API
Manually sends test prompts to DeepSeek V3 chat and R1 reasoning models through an OpenAI-compatible endpoint, serving as a starter template for first API calls.
What it does
# Your First DeepSeek API Call The DeepSeek API uses an API format compatible with OpenAI. By modifying the configuration, you can use the OpenAI SDK or softwares compatible with the OpenAI API to access the DeepSeek API. {{ $env.API_BASE_URL }} ## Configuration Parameters | Parameter | Value | |-----------|--------| | base_url | {{ $env.API_BASE_URL }} | | api_key | {{ $env.API_BASE_URL }} | ## Important Notes - To be compatible with OpenAI, you can also use {{ $env.API_BASE_URL }} as the base_url. Note that the v1 here has NO relationship with the model's version. - The deepseek-chat model has been upgraded to DeepSeek-V3. The API remains unchanged. You can invoke DeepSeek-V3 by specifying model='deepseek-chat'. - deepseek-reasoner is the latest reasoning model, DeepSeek-R1, released by DeepSeek. You can invoke DeepSeek-R1 by specifying model='deepseek-reasoner'.
The steps
- Manual Trigger
- When chat message received
- AI Agent
- DeepSeek
- Window Buffer Memory
- Basic LLM Chain2
- Ollama DeepSeek
- DeepSeek JSON Body
- DeepSeek Raw Body
Similar automations
AI Agents & AssistantsCall DeepSeek V3 Chat and R1 Reasoning Models via OpenAI-Compatible API9 stepsChatbots & Messaging BotsChat with DeepSeek V3 and R1 Models Quick Start8 stepsChatbots & Messaging BotsChat with DeepSeek V3 and R1 Reasoning Models29 stepsChatbots & Messaging BotsChat with DeepSeek V3 and R1 Reasoning Models29 steps