# DeepSeek

**URL:** <https://forum.seocontentmachine.com/t/deepseek/588>\
**Category:** feature\
**Tags:** done\
**Created:** [January 18, 2025, 8:09am UTC](https://forum.seocontentmachine.com/t/deepseek/588 "2025-01-18T08:09:55Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![SeoPulse](https://forum.seocontentmachine.com/user_avatar/forum.seocontentmachine.com/seopulse/32/1108_2.png) [@SeoPulse](https://forum.seocontentmachine.com/u/SeoPulse)\
**Post date:** [January 18, 2025, 8:09am UTC](https://forum.seocontentmachine.com/t/deepseek/588/1 "2025-01-18T08:09:55Z")

</div>

Hello Is it possible to insert DeepSeeck API ?

---

<div class="post-metadata">

**Author:** ![Tim](https://forum.seocontentmachine.com/user_avatar/forum.seocontentmachine.com/tim/32/486_2.png) [@Tim](https://forum.seocontentmachine.com/u/Tim)\
**Post date:** [January 18, 2025, 9:46am UTC](https://forum.seocontentmachine.com/t/deepseek/588/2 "2025-01-18T09:46:10Z")

</div>

I assume its this one?

> **[Your First API Call | DeepSeek API Docs](https://api-docs.deepseek.com/)**
>
> 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.

---

<div class="post-metadata">

**Author:** ![SeoPulse](https://forum.seocontentmachine.com/user_avatar/forum.seocontentmachine.com/seopulse/32/1108_2.png) [@SeoPulse](https://forum.seocontentmachine.com/u/SeoPulse)\
**Post date:** [January 18, 2025, 10:07am UTC](https://forum.seocontentmachine.com/t/deepseek/588/3 "2025-01-18T10:07:37Z")

</div>

Yes sorry for mistake : [deepseek.com](https://api-docs.deepseek.com/)

---

<div class="post-metadata">

**Author:** ![Vseo](https://forum.seocontentmachine.com/letter_avatar_proxy/v4/letter/v/43a26b/32.png) [@Vseo](https://forum.seocontentmachine.com/u/Vseo)\
**Post date:** [January 27, 2025, 8:58am UTC](https://forum.seocontentmachine.com/t/deepseek/588/4 "2025-01-27T08:58:27Z")

</div>

When will deepseek be added to KM Or how to add it now?

---

<div class="post-metadata">

**Author:** ![Tim](https://forum.seocontentmachine.com/user_avatar/forum.seocontentmachine.com/tim/32/486_2.png) [@Tim](https://forum.seocontentmachine.com/u/Tim)\
**Post date:** [January 27, 2025, 12:38pm UTC](https://forum.seocontentmachine.com/t/deepseek/588/5 "2025-01-27T12:38:20Z")

</div>

I will add straico first, then I can come back and look at this.

But since this is openAI compatible, you can just enter in API urls into open ai - alt 1

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/9/9d9b851c947564fdcc3619a550b2b73e3f1681c8.png)

---

<div class="post-metadata">

**Author:** ![Tim](https://forum.seocontentmachine.com/user_avatar/forum.seocontentmachine.com/tim/32/486_2.png) [@Tim](https://forum.seocontentmachine.com/u/Tim)\
**Post date:** [January 27, 2025, 11:25pm UTC](https://forum.seocontentmachine.com/t/deepseek/588/6 "2025-01-27T23:25:51Z")

</div>

[https://www.deepseek.com](https://www.deepseek.com) registrations are being restricted, so its going be sometime for API to be implemented.

I need a test account in order to implement the API.

---

<div class="post-metadata">

**Author:** ![Tim](https://forum.seocontentmachine.com/user_avatar/forum.seocontentmachine.com/tim/32/486_2.png) [@Tim](https://forum.seocontentmachine.com/u/Tim)\
**Post date:** [January 29, 2025, 2:06am UTC](https://forum.seocontentmachine.com/t/deepseek/588/7 "2025-01-29T02:06:41Z")

</div>

Added deep seek model

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/1/116ab06f4a82a97bf2414cbef5832e8d3f554453.png)

Deep seek appears as selection

![image](https://forum.seocontentmachine.com/uploads/default/original/2X/9/9957a9325f2f12f2a0b28d5b09d64fcf4b9f72a1.png)

I am unable to test the API as their service is under some considerable load.

![image](https://forum.seocontentmachine.com/uploads/default/original/2X/1/1bbd5986fb5cd12411b9d34b1d506884b9b4c61e.png)

However, it uses the openAI spec, so I just copied the current openai implementation for deep seek.

Please report any bugs!

---

<div class="post-metadata">

**Author:** ![SeoPulse](https://forum.seocontentmachine.com/user_avatar/forum.seocontentmachine.com/seopulse/32/1108_2.png) [@SeoPulse](https://forum.seocontentmachine.com/u/SeoPulse)\
**Post date:** [January 29, 2025, 8:54am UTC](https://forum.seocontentmachine.com/t/deepseek/588/8 "2025-01-29T08:54:44Z")

</div>

Awesome thank you

---

<div class="post-metadata">

**Author:** ![Devebder](https://forum.seocontentmachine.com/letter_avatar_proxy/v4/letter/d/b3f665/32.png) [@Devebder](https://forum.seocontentmachine.com/u/Devebder)\
**Post date:** [January 31, 2025, 6:15pm UTC](https://forum.seocontentmachine.com/t/deepseek/588/9 "2025-01-31T18:15:35Z")

</div>

HI @Tim

I am using R1 in local and connected as **openAI Alt 1**

It is working fine but it also print the as content output

How to avoid it?

---

<div class="post-metadata">

**Author:** ![Tim](https://forum.seocontentmachine.com/user_avatar/forum.seocontentmachine.com/tim/32/486_2.png) [@Tim](https://forum.seocontentmachine.com/u/Tim)\
**Post date:** [January 31, 2025, 6:28pm UTC](https://forum.seocontentmachine.com/t/deepseek/588/10 "2025-01-31T18:28:51Z")

</div>

Can you provide screenshot of the error?

---

<div class="post-metadata">

**Author:** ![Devebder](https://forum.seocontentmachine.com/letter_avatar_proxy/v4/letter/d/b3f665/32.png) [@Devebder](https://forum.seocontentmachine.com/u/Devebder)\
**Post date:** [January 31, 2025, 6:31pm UTC](https://forum.seocontentmachine.com/t/deepseek/588/11 "2025-01-31T18:31:58Z")

</div>

I just checked my previous reply, the forum changed my words

I meant, it is also printing the **thinking** part of response

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/5/5e16646b2933c51ebdeec3322276d95342e66912.png)

---

<div class="post-metadata">

**Author:** ![Tim](https://forum.seocontentmachine.com/user_avatar/forum.seocontentmachine.com/tim/32/486_2.png) [@Tim](https://forum.seocontentmachine.com/u/Tim)\
**Post date:** [January 31, 2025, 7:10pm UTC](https://forum.seocontentmachine.com/t/deepseek/588/12 "2025-01-31T19:10:54Z")

</div>

Might have to use regex to remove it.

It can remove the tags, but I think need extra processing to remove everything inbetween the think tags.

Are the think tags closed with `</think>`

In the screenshot you provided the think tag is never closed, so SCM won’t know where the thinking stops and content starts.

---

<div class="post-metadata">

**Author:** ![Devebder](https://forum.seocontentmachine.com/letter_avatar_proxy/v4/letter/d/b3f665/32.png) [@Devebder](https://forum.seocontentmachine.com/u/Devebder)\
**Post date:** [January 31, 2025, 7:28pm UTC](https://forum.seocontentmachine.com/t/deepseek/588/13 "2025-01-31T19:28:27Z")

</div>

It Supposed to close and it does sometimes but not always … I am using same thing in AnythinLLM as well and they managed to identify the thinking part and show it best suiatable way.

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/9/937cec78b2bab78fe7db529623a00732e860b715.png)

in SCM case, not sure why `<think>` wont close sometimes.

---

<div class="post-metadata">

**Author:** ![Tim](https://forum.seocontentmachine.com/user_avatar/forum.seocontentmachine.com/tim/32/486_2.png) [@Tim](https://forum.seocontentmachine.com/u/Tim)\
**Post date:** [January 31, 2025, 8:50pm UTC](https://forum.seocontentmachine.com/t/deepseek/588/14 "2025-01-31T20:50:31Z")

</div>

You don’t have any content filters enabled right?

So just raw output from deepseek is not closing the tag?

---

<div class="post-metadata">

**Author:** ![Tim](https://forum.seocontentmachine.com/user_avatar/forum.seocontentmachine.com/tim/32/486_2.png) [@Tim](https://forum.seocontentmachine.com/u/Tim)\
**Post date:** [February 1, 2025, 7:14am UTC](https://forum.seocontentmachine.com/t/deepseek/588/15 "2025-02-01T07:14:18Z")

</div>

I was able to run it via LM Studio to test the output.

![image](https://forum.seocontentmachine.com/uploads/default/original/2X/2/213e04b8e1defd2b1f12d53a177b5882ea0ea341.png)

I added a regex to remove all the think content.

Now it returns only the answer.

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/8/8908f9beb92a8f8eb72d5ecb917330faafb9768e.png)

---

<div class="post-metadata">

**Author:** ![Tim](https://forum.seocontentmachine.com/user_avatar/forum.seocontentmachine.com/tim/32/486_2.png) [@Tim](https://forum.seocontentmachine.com/u/Tim)\
**Post date:** [February 1, 2025, 7:18am UTC](https://forum.seocontentmachine.com/t/deepseek/588/16 "2025-02-01T07:18:28Z")

</div>

Added now and working

> [@How to run DeepSeek locally on your PC](https://forum.seocontentmachine.com/t/how-to-run-deepseek-locally-on-your-pc/598/1):
>
> You can run DeepSeek locally on your PC very easily using LM Studio. Get LM Studio [https://lmstudio.ai/download](https://lmstudio.ai/download)Configure LM Studio Click discover [image] Search for deepseek [image] Choose 7B or 8B model [image] Download [image] Load [image] [image] Start DeepSeek model Click developer [image] Start server [image] [image] Configure SCM Find API model name and server address details. [image] [image] Use full path to API url. (add v1/chat/completions) Eg: [http://127.0.0.1:…](http://127.0.0.1:1234/v1/chat/completions)
