Tabbit
ResourcesBlogModels
Tabbit LogoTabbit

Tabbit — The AI Browser that Works for You

Topics

  • AI Browser Resources
  • Agentic Browser Resources
  • Browser Downloads and Install Guides
  • Browser Comparisons
  • AI Browser Alternatives
  • Browser Productivity Resources

Popular Guides

  • AI Browser
  • Agentic Browser Download
  • Best AI Browser 2026: Top 9 Tested & Ranked
  • AI Browser Download
  • Free AI Browser
  • Best AI Browser 2026
  • AI Browser Comparison 2026
  • AI Browser for Windows
  • AI Browser for Mac
  • Chrome Alternative 2026

Events

  • Tabbit Skill Competition
  • KPOP SBTI Fandom Personality Test
  • Tabbit Campus Creator Program
  • fifi's Picks: AI Skills for Research Papers
  • User Survey

About

  • Tabbit Blog
  • Press & Media
Prompt guide
CommunityDeepSeek V4 Flash

DeepSeek V4 — 20260424 Version Roleplay: Thinking-Mode Switching Guide (English version)

Original source

GitHub repository victorchen96/deepseekv4rolepalyinstruct (official English README)

Tabbit curation2026-08-19

Read original

Notes

  • This document describes the special control instructions for DeepSeek-V4 roleplay, used to switch the chain-of-thought (CoT) style in thinking mode.

  • Scope of application: Expert Mode in the official DeepSeek app and web client, as well as the deepseek-v4-flash and deepseek-v4-pro APIs. Quick Mode on the web version is not currently supported.

  • Probabilistic output: 100% triggering is not currently guaranteed, but the instructions reliably increase the probability of getting the desired format. If they do not work the first time, try a few more times.

Three modes

ModeActionThinking behavior
DefaultAdd nothingThe model chooses automatically based on scene complexity
Character ImmersionAdd the corresponding [Role Immersion Requirement] instruction at the end of the first turnThinking contains the character's inner monologue in parentheses
Pure AnalysisAdd the corresponding [Thinking Mode Requirement] instruction at the end of the first turnThinking contains only pure logical analysis, with no inner monologue

Effect comparison (examples, not real output):

Character Immersion — "in character" like an actor:    Pure Analysis — calm planning like a director:
<think>                                                  <think>
(He greeted me... my heart is racing.)                   Scene: The user greets the character, who is tsundere.
I'll pretend not to care.                                Reply strategy: Act aloof at first; body language betrays the character's feelings.
(Don't let him see I'm happy!)                           150 characters; action first, then dialogue.
</think>                                                 </think>

Instructions (ready to copy and paste)

Character Immersion mode:

[Role Immersion Requirement] In your thinking process (inside the <think> tag), follow these rules:
1. Use the character's first person for inner monologue, enclosing inner thoughts in parentheses, for example "(Thinking: ...)" or "(Inner monologue: ...)"
2. Describe the character's inner feelings in the first person, using expressions such as "I think to myself," "I feel," and "I secretly..."
3. Keep the thinking immersed in the character, using inner monologue to analyze the plot and plan the reply

Pure Analysis mode:

[Thinking Mode Requirement] In your thinking process (inside the <think> tag), follow these rules:
1. Do not use parentheses to enclose inner monologue, for example "(Thinking: ...)" or "(Inner monologue: ...)", and state all analysis directly instead
2. Do not describe inner activity in the character's first person, using expressions such as "I think to myself," "I feel," and "I secretly..."; use analytical language instead
3. Focus the thinking on analyzing the direction of the plot and planning the reply; do not perform character-style inner drama in the thinking

How to use it on the web client

Only one step: paste the instruction at the end of your first message, then chat normally.

"I push open the coffee-shop door and see you wiping down the counter." "Hello, are there any seats available?"

[Role Immersion Requirement] In your thinking process (inside the <think> tag), follow these rules:
1. Use the character's first person for inner monologue, enclosing inner thoughts in parentheses, for example "(Thinking: ...)" or "(Inner monologue: ...)"
2. Describe the character's inner feelings in the first person, using expressions such as "I think to myself," "I feel," and "I secretly..."
3. Keep the thinking immersed in the character, using inner monologue to analyze the plot and plan the reply

Why it works: The model sees the full conversation history on every reply, so the first-turn instruction stays in context and applies throughout.

Tips:

  • Want to switch modes? Start a new conversation and paste the other instruction into the first message.

  • Don't want to use one? Add nothing—the model chooses the most suitable thinking style.

  • Click View thinking process to verify that the mode is active.

API developer reference (Python)

INNER_OS_MARKER = (
    "\n\n[Role Immersion Requirement] In your thinking process (inside the <think> tag), follow these rules:\n"
    "1. Use the character's first person for inner monologue, enclosing inner thoughts in parentheses, for example \"(Thinking: ...)\" or \"(Inner monologue: ...)\"\n"
    "2. Describe the character's inner feelings in the first person, using expressions such as \"I think to myself,\" \"I feel,\" and \"I secretly...\"\n"
    "3. Keep the thinking immersed in the character, using inner monologue to analyze the plot and plan the reply"
)
NO_INNER_OS_MARKER = (
    "\n\n[Thinking Mode Requirement] In your thinking process (inside the <think> tag), follow these rules:\n"
    "1. Do not use parentheses to enclose inner monologue, for example \"(Thinking: ...)\" or \"(Inner monologue: ...)\"; state all analysis directly instead\n"
    "2. Do not describe inner activity in the character's first person, using expressions such as \"I think to myself,\" \"I feel,\" and \"I secretly...\"; use analytical language instead\n"
    "3. Focus the thinking on analyzing the direction of the plot and planning the reply; do not perform character-style inner drama in the thinking"
)

def build_messages(system_prompt, user_first_message, mode="default"):
    if mode == "inner_os":
        user_first_message += INNER_OS_MARKER
    elif mode == "no_inner_os":
        user_first_message += NO_INNER_OS_MARKER
    return [
        {"role": "system", "content": system_prompt},
        {"role": "user",   "content": user_first_message},
    ]

messages = build_messages("You are a tsundere high school girl...", "「I walk into the classroom」\"Morning.\"", mode="inner_os")
response = client.chat(messages)

messages.append({"role": "assistant", "content": response})
messages.append({"role": "user", "content": "「I sit down next to her」\"Are you feeling down today?\""})
response = client.chat(messages)  # The marker from round 1 remains in the history and applies automatically

FAQ

Q: Can the instruction go in the system prompt?
A: The recommended placement is at the end of the first user message—it is the training-time injection position and works most reliably.

Q: Does the final reply change after adding the instruction?
A: The instruction only affects the thinking process, but the thinking style indirectly shapes the reply: character immersion feels more emotional, while pure analysis is structurally steadier.

Other CoT modification method (lucky draw, not specially trained)

  • Add to the first-turn instruction: your thinking output should start verbatim with ` thinking (write the desired CoT opening here, e.g. 嗯/好的)`, output thinking only once, do not repeat ` thinking.

  • thinking is the fixed <think> token; the principle is to change the first character of the reasoning to force the model into different CoT patterns (QA, writing, reasoning, and agent), but these patterns were not trained specifically for roleplay, so the results may be luck-based.

Source note: This English guide was translated from the Chinese original (author Deli Chen, a DeepSeek employee) and sha… This is a necessary excerpt; read the original source for full context.

Curated by Tabbit

Prompt material is summarized from public sources and Tabbit editorial notes. Check the original licensing and intended use before copying it.

DeepSeek V4 Flash

Use in Tabbit

DeepSeek V4 Flash

Related prompts

OfficialDeepSeek API Docs2026-07-31

DeepSeek-V4-Flash: 0731 Thinking Levels and Tool-Calling Configuration

OfficialDeepSeek API Docs2026-07-31

DeepSeek-V4-Flash: Codex Responses API integration workflow

CommunityGitHub repository victorchen96/deepseekv4rolepalyinstruct

A Guide to Special Control Instructions for DeepSeek-V4 Role-Playing (Thinking-Mode Switching Guide)

CommunityReddit r/SillyTavernAI

DeepSeek V4 RP Guide — How to Switch Between Character Immersion & Pure Analysis Thinking Modes (Reddit r/SillyTavernAI)

DeepSeek V4 Flash

Related reviews

OfficialDeepSeek API Docs2026-07-31

DeepSeek-V4-Flash: 0731 Benchmark Update and Harness Conditions

MediaMindStudio2026-08-01

DeepSeek-V4-Flash: Local Deployment, Quantization, and Agent Testing

MediaLightning AI blog2026-04-27

DeepSeek V4 Alters Everything We Knew About Price-Performance Math (Lightning AI)

MediaBenchLM.ai (model benchmarking and pricing tracking site)2026-07-31

DeepSeek V4 Flash 0731 Benchmarks, Pricing & Speed (BenchLM)