Build AI Agents for $0.014 with DeepSeek V3 in n8n

Nate Herk | AI Automation · Beginner ·🛠️ AI Tools & Apps ·1y ago

Key Takeaways

The video demonstrates how to connect to DeepSeek V3 in n8n, an open-source model that outperforms leading closed-source alternatives, and use it for AI automation tasks such as generating Facebook posts and building AI agents. The video covers the use of DeepSeek V3 with n8n, Open Router, and other tools to achieve these tasks.

Full Transcript

today we're going to be walking through how to use deep seek V3 in n8n for a fraction of what it costs to use something like gbt 40 or clae 35 Sonet but real quick what is deep seek V3 it's an open source model that was recently released and it pretty much outperforms every other open source model out there and it also performs pretty comparable to the leading closed Source models like GPT 40 now I'm not an expert on models and fine-tuning and training and all that kind of stuff but I've got a couple Graphics that I'll walk through here and I'll also include the link to the technical report in the description if you guys want to check it out for yourself so as you can see right here in the blue We've Got Deep seek and then we've got other models like llama GPT and Claw 35 and it's pretty much outperforming all of them in these six metrics but why did I decide to make this video and why did you probably click on it because of the price so as you can see here in the green we've got 0014 per a million tokens so you can just throw something like $2 in there and it's going to get you a really really long way here's another graphic from that report that I was talking about this is the needle in the Hast stack test um as you can see the whole board is green so perfect 10 out of 10 score across everything this basically tells us that deep seek V3 is really really good with its context length and understanding everything that's going through and not missing out any information the way that some other models might so something really interesting about deep seek V3 is that it uses a mixture of experts model rather than having one model across all the parameters this one has sub models that it can sort of send out based on expertise in certain areas um which is pretty cool once again it's not something I fully understand as far as all the technicalities go check out that report if you want to read more about it but um you know this isn't me recommending that it's better or recommending that you should use it and of course you should be careful with the data that you're putting into something like deep SE Q3 but um I just kind of wanted to bring you the facts of what I know and um how to actually plug it into nadn and just get in there and play around with it a little bit so let's get into nadn so today I'm going to be talking about two ways to connect deep seek fe3 into nadn so the first one is hooking it up as the brain for your AI agent the chat model for your AI agent as you can see right here it looks like we're connect in to an open AI chat model but if you click in you can see that we're actually using an open router base URL to point us to deep seek chat so that's what's going on here and then the second way is to use it as um sort of its own node like a open AI message and model node so as you can see here we're doing a post request to deep seek and we're sending in information for it to come back with a response so I'll real quickly show off these two methods and then we'll get into how you actually do it so first we'll do this one as you can see here it's a post request to deep seek um we have stuff that I'll show you guys how to configure and then pretty much in here what we're asking it to do is we're sending write me a Facebook post about the following topic um the topics Dynamic based on what we put into this set node right here which is Health and Fitness in 2025 so let's fire this off real quick um as you can see it's hitting deep seek and then it's going to come back to us with a result which should be a formatted Facebook post with emo with Emojis and probably um hashtags at the end as you can see health and fitness the future is here it's got a couple points and then it ends with a nice little motivational message um and if this is confusing to you it's the exact same way that you would set up an open ey message in model node and you've probably done that multiple times you've got a system role right here which is we're defining what this node is going to do we're just saying you're helpful assistant and then we have the actual user role which is what we want it to take and do which is writing a Facebook post about health and fitness in 2025 so if that's confusing just look at it like this right in open AI usually your set up your different messages we've got a system roll and then a user rle so right here helpful assistant write me a Facebook post and it's pretty much the exact same thing coming through so um that's pretty much all that's going on here I just wanted to let this finish so we can see the difference there we go so this was using 40 um and this one again is a little bit different because it used a different model but same aspect of Facebook post anyways now we'll come up here and we'll pretty much do that same thing so um this is connected to um what's it called Deep seek V3 and we'll do the same thing make a Facebook post about health and fitness 2025 and okay so we actually didn't connect our credential real quick we were connected to our openi account but as you can see I have a different credential here which is the Deep seek one so I'll show you guys how to set this up but now this should work fine um let's go back in here send that off and I know it's a little confusing because it looks like it's still an open AI chat model but like I said we all we have to do is grabb a API key from open router and then we'll be good to go to set everything up okay there we go so now we got our Facebook post back um very similar with its um hashtags at the end with its different emojis for different sections and yeah so those are the two use cases that we're going to walk over real quick um so let's hop into deep seek and set everything up okay so you're going to go to deep seek.com you'll come into the screen you'll sign in or you create an account and then you're going to click on access API so this is going to take you straight to your API settings so um it took me to my usage as you can see I put in $2 I've got over 7 million tokens you're going to click on API Keys create new key um we'll call this one demo and then you want to copy that and paste it somewhere safe because you won't be able to re access it and you could always just create a new one but best practice is to paste it somewhere safe then you need to make sure you have some tokens available so just add in like two bucks and then you want to click on docs down here on the left side this is going to bring you to this API documentation um and we have to do is scroll down right here we've got a Curl we're going to copy this curl and it's going to be super easy we'll hop back into n8n as you can see there's currently no deep seek integration so what we have to do is grab an HTTP request and all we have to do is import curl and paste that right in there so as you can see it's going to change it to a post request it put in the correct endpoint and it has our header already which is our authorization um and then it has our Json already filled out so super easy now what you want to do is you got to go grab that API key and then you want to get get rid of this it's going to be Bearer space your API key and then make sure there's no extra leading or trailing white space as well and that should work so right now what we're sending over is the prompt is hello to a helpful assistant we'll just hit test step to make sure everything's working um and as you can see we got back hello how can I assist you today so it was responding to the message which was hello so that's pretty much it at this point you would set up you know you could prompt this um this deep seek node a little differently if you wanted it to do something more specific and then you could dynamically give the information that you want it to respond to okay now to set up a chat model so let's delete this one we're going to add another one which is an open AI chat model and this is like the default way that it pretty much opens up um and we need to create a new credential but before that we need to set up everything with open router so we're going to click add option and we're going to add a base URL default of course it points to open AI because that's the um model we're we're grabbing but we're going to go to open router you'll create an account and then all we need to do is go to deep seek V3 what we want to do here is click on API and we're looking for a base URL to point to to grab deep seek so we're going to grab this right here base URL within the quotations copy that go back into nidn paste that in there so now we're accessing the base URL of open router and then up here instead of accessing GPT 40 mini or whatever model you're using change it to an expression you're going to get rid of that go back into open router and make sure you're on deep seek fe3 you're going to copy that right here deep seek deep seek Das chat and then you're going to paste that in there so now we're pointing to open router URL which is grabbing this model of deep seek and now before we hit out of here we need to create new credential so you can see I've got a deep seat credential I'm going to create a new one but first we need to um create an API key so you're already in this page you're going to click create API key you're going to create key name it whatever you want and then same thing as always copy this into somewhere safe and then you're pretty much just going to go back into NN hit create new credential and paste your API key right into here once you do that you're going to hit save in the bottom right it's going to go green and say your credential is currently private to you and right here it's going to go red not exactly sure why it does that but you're connected if if you get the green down here um that might just be a bug but we're good to go so we've got our API key from open router set up right here where we have the Deep seek model that we want and then we have open router um being able to access this uh model for us so now we just want to test to make sure it's working um we're going to open up a chat and we'll do this again but instead of health and fitness we will do um Sports and we'll see what it says here and as you can see it's hitting the model right now which is obviously deep seek even though it looks like open Ai and we know that it's working because it would have already failed by now if we didn't have it set up as you saw earlier it failed really quick okay so it just popped through we've got Sports in 2025 where Innovation meets passion again emojis little things and remember this is zero prompting at all um but then it ends with some hashtags but yeah like I said there's no prompting going on in here but this is of course the chat input that I got and our output so um that's pretty much going to be it for this one I know it wasn't too complex but I just wanted to show you guys how you can access this stuff so you can get in there and start playing around with it I'm definitely going to play around with a little bit more you know some complex agents with our deep seek model and just seeing how it reacts to them um you know using different tools and stuff but um you know two credits in deep seek five credits in open router an open router you have a ton of different models you can access as well but those credits will get you a long way for sure but yeah as always if you found this one helpful please give it a like definitely helps me out great to be back um hope you guys all had a happy New Year I'm really excited to see what 2025 brings as far as you know the channel the AI space all that kind of stuff and definitely let me know in the comments what else you guys are looking to see in the next few weeks in the next few months and in the next year so um thanks for making it the end of this one guys

Original Description

Today, I'm walking through how to connect to DeepSeek V3 in n8n, the first open-source model to outperform leading closed-source alternatives. Not only is it arguably more powerful, but it’s also cheaper to use, making it a game-changer for AI automation. Whether you’re looking to integrate DeepSeek V3 into your workflows or just exploring cost-effective AI solutions, this tutorial has you covered. Watch now to learn how to leverage this incredible tool in your own n8n automation setups! If you're passionate about no-code AI automations, don’t forget to like, comment, and subscribe for more content like this! Your support helps me keep bringing you valuable tutorials and tips. 🚀 📌 Join my free Skool community for access to a learning community and the workflows shows in my videos! 👇 https://www.skool.com/ai-automation-society/about 🌟 Join my paid Skool community if you want to go deeper with n8n and AI Automations👇 https://www.skool.com/ai-automation-society-plus/about 🚧 Start Building with n8n! (I get kickback if you sign up here - thank you!) https://n8n.partnerlinks.io/22crlu8afq5r 📊The technical report I mentioned in this video: https://arxiv.org/html/2412.19437v1#s2h Sponsorship Inquiries: 📧 sponsorships@nateherk.com WATCH NEXT: https://youtu.be/u2Tuu02r7QI TIMESTAMPS 00:00 What is DeepSeek V3? 01:49 Quick Demos 04:48 DeepSeek API 05:30 DeepSeek HTTP Request 06:34 OpenRouter Setup for DeepSeek Chat Model 08:38 Final Test Gear I Used: Camera: Razer Kiyo Pro Microphone: HyperX SoloCast Background Music: https://www.youtube.com/watch?v=Q7HjxOAU5Kc&t=0s Don't forget to like, subscribe, and hit the notification bell to stay updated with my latest videos on AI agents and automations!
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from Nate Herk | AI Automation · Nate Herk | AI Automation · 42 of 60

1 How I Wish Someone Explained AI Agents To Me (as a beginner)
How I Wish Someone Explained AI Agents To Me (as a beginner)
Nate Herk | AI Automation
2 How to Create an AI Email Agent with n8n (No Code, Step-by-Step Tutorial)
How to Create an AI Email Agent with n8n (No Code, Step-by-Step Tutorial)
Nate Herk | AI Automation
3 How to Create an RAG Chatbot AI Agent with n8n (No Code, Step-by-Step Tutorial)
How to Create an RAG Chatbot AI Agent with n8n (No Code, Step-by-Step Tutorial)
Nate Herk | AI Automation
4 Build your first NO CODE AI Agent in n8n (for beginners)
Build your first NO CODE AI Agent in n8n (for beginners)
Nate Herk | AI Automation
5 *LIVE BUILD* Personalized Outreach AI Agent in n8n (No Code)
*LIVE BUILD* Personalized Outreach AI Agent in n8n (No Code)
Nate Herk | AI Automation
6 *LIVE BUILD* Inbox Management AI Agent with n8n (NO CODE, Step-by-Step Tutorial)
*LIVE BUILD* Inbox Management AI Agent with n8n (NO CODE, Step-by-Step Tutorial)
Nate Herk | AI Automation
7 How to Build a Google Scraping AI Agent with n8n (Step By Step Tutorial)
How to Build a Google Scraping AI Agent with n8n (Step By Step Tutorial)
Nate Herk | AI Automation
8 How to Build a Client Onboarding AI Agent with n8n (Step-by-Step Tutorial, No Code)
How to Build a Client Onboarding AI Agent with n8n (Step-by-Step Tutorial, No Code)
Nate Herk | AI Automation
9 I Built a Personal Assistant AI Agent with No Code in n8n
I Built a Personal Assistant AI Agent with No Code in n8n
Nate Herk | AI Automation
10 Build a No-Code AI Chatbot (Step-by-Step Tutorial)
Build a No-Code AI Chatbot (Step-by-Step Tutorial)
Nate Herk | AI Automation
11 I Built an AI Agent that Automated my Inbox with n8n (No Code)
I Built an AI Agent that Automated my Inbox with n8n (No Code)
Nate Herk | AI Automation
12 Step-By-Step: Add 100+ Files to Pinecone for RAG AI Agent with n8n
Step-By-Step: Add 100+ Files to Pinecone for RAG AI Agent with n8n
Nate Herk | AI Automation
13 n8n Masterclass: Build AI Agents & Automate Workflows (Beginner to Pro)
n8n Masterclass: Build AI Agents & Automate Workflows (Beginner to Pro)
Nate Herk | AI Automation
14 Scrape Google for LinkedIn Profiles in Seconds with n8n
Scrape Google for LinkedIn Profiles in Seconds with n8n
Nate Herk | AI Automation
15 Step By Step: Automating Lead Nurturing with No Code in n8n
Step By Step: Automating Lead Nurturing with No Code in n8n
Nate Herk | AI Automation
16 n8n AI Agent Masterclass | AI Nodes Made Simple
n8n AI Agent Masterclass | AI Nodes Made Simple
Nate Herk | AI Automation
17 AI Personal Assistant 2.0 | This Agent Calls Other Agents (No Code) in n8n
AI Personal Assistant 2.0 | This Agent Calls Other Agents (No Code) in n8n
Nate Herk | AI Automation
18 The Best Way to Give AI Agents Tools in n8n
The Best Way to Give AI Agents Tools in n8n
Nate Herk | AI Automation
19 I Scraped, Researched, and Created Outreach for 16,846 Leads using Godmode HQ
I Scraped, Researched, and Created Outreach for 16,846 Leads using Godmode HQ
Nate Herk | AI Automation
20 AI Agent Prompting Masterclass: Beginner to Advanced
AI Agent Prompting Masterclass: Beginner to Advanced
Nate Herk | AI Automation
21 How to Build an AI Slack Assistant in 5 Minutes (Chatbase)
How to Build an AI Slack Assistant in 5 Minutes (Chatbase)
Nate Herk | AI Automation
22 Step by Step: Scrape UNLIMITED Emails for FREE with n8n
Step by Step: Scrape UNLIMITED Emails for FREE with n8n
Nate Herk | AI Automation
23 Chains vs AI Agents in n8n #artificialintelligence #shorts
Chains vs AI Agents in n8n #artificialintelligence #shorts
Nate Herk | AI Automation
24 Step by Step: RAG AI Agents Got Even Better
Step by Step: RAG AI Agents Got Even Better
Nate Herk | AI Automation
25 n8n vs Make.com #artificialintelligence #coding #agentgpt #techtok
n8n vs Make.com #artificialintelligence #coding #agentgpt #techtok
Nate Herk | AI Automation
26 How to Build a Personal Assistant AI Agent in n8n (Step-by-Step, No Code)
How to Build a Personal Assistant AI Agent in n8n (Step-by-Step, No Code)
Nate Herk | AI Automation
27 Personal Assistant AI Agent in n8n  #n8n #coding #agentgpt #artificialintelligence
Personal Assistant AI Agent in n8n #n8n #coding #agentgpt #artificialintelligence
Nate Herk | AI Automation
28 Set up Google Credentials in n8n in 5 minutes (2025)
Set up Google Credentials in n8n in 5 minutes (2025)
Nate Herk | AI Automation
29 5 n8n Tips You NEED to Know
5 n8n Tips You NEED to Know
Nate Herk | AI Automation
30 Build this Multi AI Agent System for Research and Content Creation in n8n
Build this Multi AI Agent System for Research and Content Creation in n8n
Nate Herk | AI Automation
31 Vector Database Optimization with n8n: Metadata, Text Splitting, & Embeddings
Vector Database Optimization with n8n: Metadata, Text Splitting, & Embeddings
Nate Herk | AI Automation
32 Are you doing these things to optimize your Vector Database?  #artificialintelligence #n8n
Are you doing these things to optimize your Vector Database? #artificialintelligence #n8n
Nate Herk | AI Automation
33 This AI Agent Extracts Text From Images in n8n
This AI Agent Extracts Text From Images in n8n
Nate Herk | AI Automation
34 This Invoice Agent Analyzes Images in n8n  #techtok #agentgpt #artificialintelligence #n8n
This Invoice Agent Analyzes Images in n8n #techtok #agentgpt #artificialintelligence #n8n
Nate Herk | AI Automation
35 The Best RAG System On YouTube (Steal This!)
The Best RAG System On YouTube (Steal This!)
Nate Herk | AI Automation
36 RAG System 2.0 | Effortless RAG in n8n  #artificialintelligence #n8n #aiagent #RAG
RAG System 2.0 | Effortless RAG in n8n #artificialintelligence #n8n #aiagent #RAG
Nate Herk | AI Automation
37 Understanding APIs in n8n (as a beginner)
Understanding APIs in n8n (as a beginner)
Nate Herk | AI Automation
38 Understanding APIs in n8n #n8n #artificialintelligence #api
Understanding APIs in n8n #n8n #artificialintelligence #api
Nate Herk | AI Automation
39 How I Built an AI Agent to Automate my Emails in n8n (Step by Step, No Code)
How I Built an AI Agent to Automate my Emails in n8n (Step by Step, No Code)
Nate Herk | AI Automation
40 This AI Agent automates my customer support emails. #n8n #aiagent #artificialintelligence
This AI Agent automates my customer support emails. #n8n #aiagent #artificialintelligence
Nate Herk | AI Automation
41 Everything I Learned About AI Agents in 2024 in 19 Minutes
Everything I Learned About AI Agents in 2024 in 19 Minutes
Nate Herk | AI Automation
Build AI Agents for $0.014 with DeepSeek V3 in n8n
Build AI Agents for $0.014 with DeepSeek V3 in n8n
Nate Herk | AI Automation
43 Having an Actual Conversation with Data Using an ElevenLabs Voice Agent and n8n
Having an Actual Conversation with Data Using an ElevenLabs Voice Agent and n8n
Nate Herk | AI Automation
44 Having an ACTUAL conversation with my data using ElevenLabs Voice Agent #aiagent #elevenlabs
Having an ACTUAL conversation with my data using ElevenLabs Voice Agent #aiagent #elevenlabs
Nate Herk | AI Automation
45 ElevenLabs Voice Agents Are So Easy to Build (No Code!)
ElevenLabs Voice Agents Are So Easy to Build (No Code!)
Nate Herk | AI Automation
46 How I'd Teach a 10 Year Old to Build AI Agents (No Code, n8n)
How I'd Teach a 10 Year Old to Build AI Agents (No Code, n8n)
Nate Herk | AI Automation
47 How I Built A Technical Analyst AI Agent in n8n With No Code
How I Built A Technical Analyst AI Agent in n8n With No Code
Nate Herk | AI Automation
48 This AI Agent Analyzes Stock Indicators! #n8n #artificialintelligence  #coding #agentgpt #techtok
This AI Agent Analyzes Stock Indicators! #n8n #artificialintelligence #coding #agentgpt #techtok
Nate Herk | AI Automation
49 I Built a Team of Research Agents for Newsletter Automation in n8n (No Code)
I Built a Team of Research Agents for Newsletter Automation in n8n (No Code)
Nate Herk | AI Automation
50 This Team of AI Research Agents Automated My Newsletters! #n8n #artificialintelligence #aiagent
This Team of AI Research Agents Automated My Newsletters! #n8n #artificialintelligence #aiagent
Nate Herk | AI Automation
51 The Ultimate n8n Starter Kit (2025) (Free)
The Ultimate n8n Starter Kit (2025) (Free)
Nate Herk | AI Automation
52 Two Ways to Save 96% of Your Money Using DeepSeek R1 in n8n
Two Ways to Save 96% of Your Money Using DeepSeek R1 in n8n
Nate Herk | AI Automation
53 How to Actually Build Agents with DeepSeek R1 in n8n (Without OpenRouter)
How to Actually Build Agents with DeepSeek R1 in n8n (Without OpenRouter)
Nate Herk | AI Automation
54 This Voice Agent Sends Emails for You #artificialintelligence #n8n #aiagent  #coding #agentgpt
This Voice Agent Sends Emails for You #artificialintelligence #n8n #aiagent #coding #agentgpt
Nate Herk | AI Automation
55 Best Model for RAG? GPT-4o vs Claude 3.5 vs Gemini Flash 2.0 (n8n Experiment Results)
Best Model for RAG? GPT-4o vs Claude 3.5 vs Gemini Flash 2.0 (n8n Experiment Results)
Nate Herk | AI Automation
56 How to Locally Host DeepSeek R1 for FREE in Under 10 Minutes in n8n
How to Locally Host DeepSeek R1 for FREE in Under 10 Minutes in n8n
Nate Herk | AI Automation
57 OpenAI Fires Back at DeepSeek With a New Reasoning Model: o3-mini (n8n AI Agent)
OpenAI Fires Back at DeepSeek With a New Reasoning Model: o3-mini (n8n AI Agent)
Nate Herk | AI Automation
58 Run DeepSeek R1 Locally in Under a Minute  #coding #artificialintelligence #n8n #deepseek
Run DeepSeek R1 Locally in Under a Minute #coding #artificialintelligence #n8n #deepseek
Nate Herk | AI Automation
59 I Built the Ultimate Team of AI Agents in n8n With No Code (Free Template)
I Built the Ultimate Team of AI Agents in n8n With No Code (Free Template)
Nate Herk | AI Automation
60 I Built the Ultimate Team of Agents in n8n  #artificialintelligence #n8n #agentgpt  #techtok #coding
I Built the Ultimate Team of Agents in n8n #artificialintelligence #n8n #agentgpt #techtok #coding
Nate Herk | AI Automation

This video teaches how to connect to DeepSeek V3 in n8n and use it for AI automation tasks such as generating Facebook posts and building AI agents. The video covers the use of DeepSeek V3 with n8n, Open Router, and other tools to achieve these tasks. By following this video, viewers can learn how to use DeepSeek V3 for AI automation and build their own AI agents.

Key Takeaways
  1. Connect DeepSeek V3 to n8n as a chat model
  2. Use DeepSeek V3 as a node in n8n
  3. Configure DeepSeek V3 to generate a Facebook post
  4. Connect to Open Router for API key
  5. Create a Facebook post about health and fitness in 2025
  6. Set up DeepSeek V3 API key and use it in n8n
  7. Use HTTP request in n8n to send API request to DeepSeek V3
  8. Use curl to send API request to DeepSeek V3
  9. Create API key in Open Router
  10. Create credential in n8n
💡 DeepSeek V3 is an open-source model that outperforms leading closed-source alternatives and can be used for AI automation tasks at a lower cost.

Related Reads

📰
10 AI Image Prompts Every Content Creator Can Use for Urdu/English Quotes
Learn 10 AI image prompts for creating Urdu/English quotes, enhancing your content creation skills
Medium · Machine Learning
📰
The Best AI Course Generator in 2026? I Tested 7 to Find Out.
Discover the best AI course generator through a comparison of 7 platforms, and learn how to choose the right one for your needs
Dev.to AI
📰
Automate Spotify and YouTube Playlists - Chapter 2: Setting Up Spotify
Automate Spotify playlists by setting up a Spotify account and preparing for API integration, crucial for music lovers and developers alike
Dev.to · Tawanda Nyahuye
📰
Use a model route manifest before Dify, Cursor, and Node.js share Vector Engine
Learn to reduce inconsistencies in shared API gateways by using a model route manifest with Node.js, Dify, and Cursor
Dev.to AI

Chapters (6)

What is DeepSeek V3?
1:49 Quick Demos
4:48 DeepSeek API
5:30 DeepSeek HTTP Request
6:34 OpenRouter Setup for DeepSeek Chat Model
8:38 Final Test
Up next
✨ 12 Best AI Tools for Resume Writing in 2026 🔥 | Save Hours Every Week
Adewale Ogunsina
Watch →