# How to remove the \<think\> tag in reasoning model DeepSeek responses

**URL:** <https://forum.seocontentmachine.com/t/how-to-remove-the-think-tag-in-reasoning-model-deepseek-responses/601>\
**Category:** faq\
**Created:** [February 3, 2025, 12:32pm UTC](https://forum.seocontentmachine.com/t/how-to-remove-the-think-tag-in-reasoning-model-deepseek-responses/601 "2025-02-03T12:32:29Z")\
**Posts on this page:** 1\
**Page:** 1

<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 3, 2025, 12:32pm UTC](https://forum.seocontentmachine.com/t/how-to-remove-the-think-tag-in-reasoning-model-deepseek-responses/601/1 "2025-02-03T12:32:29Z")

</div>

## What is the `<think>` tag?

When you are using any DeepSeek reasoning model, the responses will include its thinking process.

It looks something like this…

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/7/78101b3fc76d9eb20d385fb42b38558048fdebeb.png)

The responses of the AI assistant has content in `<think>` tags.

The actual answer is provided after the tags.

## How to remove the tag and its content?

SCM implementation of the DeepSeek API supports removal of `<think>` via regex.

Go to API Logins

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

Find DeepSeek

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

There is a `<think>` regex input box.

![image](https://forum.seocontentmachine.com/uploads/default/original/2X/0/0059b4ba0c5197647a70ccd6d63b237f83ae2a2e.png)

By default, SCM is pre-configured out of the box to remove the `<think>` tag and its content.

The regex is:  
`<think>.*<\/think>`

## Output of DeepSeek without the `<think>` tag

Here is a sample of what it looks like with the `<think>` content removed.

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

You just get the final answer.

## How to force `<think>` content to appear

If you want the `<think>` to appear just clear the regex.

 ![image](https://forum.seocontentmachine.com/uploads/default/original/2X/3/354f4e41430e4295453fc0f8147bd2fa4b5588c1.png)

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

## Related guides

- [DeepSeek API key for writing articles at 0.25c each with thinking on or off](https://forum.seocontentmachine.com/t/deepseek-api-key-for-writing-articles-at-0-25c-each-with-thinking-on-or-off/1088)
- [DeepInfra AI API key for 100 open source models from 0.01c an article](https://forum.seocontentmachine.com/t/deepinfra-ai-api-key-for-100-open-source-models-from-0-01c-an-article/1091)
- [One OpenRouter API key for hundreds of AI models including free ones](https://forum.seocontentmachine.com/t/one-openrouter-api-key-for-hundreds-of-ai-models-including-free-ones/1072)
