{"id":444,"date":"2026-11-11T10:01:35","date_gmt":"2026-11-11T02:01:35","guid":{"rendered":"https:\/\/qoraapi.com\/blog\/sillytavern-deepseek-v4-1-flash\/"},"modified":"2026-11-11T10:01:35","modified_gmt":"2026-11-11T02:01:35","slug":"sillytavern-deepseek-v4-1-flash","status":"publish","type":"post","link":"https:\/\/qoraapi.com\/blog\/sillytavern-deepseek-v4-1-flash\/","title":{"rendered":"SillyTavern DeepSeek V4.1 Flash: Setup, Settings &#038; Price"},"content":{"rendered":"<p>DeepSeek V4.1 Flash has become the default &#8220;cheap but good&#8221; model for SillyTavern: a 1M-token context window, fast replies and a price low enough that a long roleplay evening costs cents. This guide shows exactly how to connect <strong>SillyTavern to DeepSeek V4.1 Flash<\/strong> through an OpenAI-compatible endpoint (Qora API), which settings to change on day one, how the thinking mode affects your sliders and your bill, and how to fix the errors people hit most often.<\/p>\n<p><strong>Quick answer:<\/strong> in SillyTavern open <em>API Connections<\/em> (the plug icon) and enter:<\/p>\n<pre><code>API:                      Chat Completion\nChat Completion Source:   Custom (OpenAI-compatible)\nCustom Endpoint (Base URL): https:\/\/qoraapi.com\/v1\nCustom API Key:           sk-... (your Qora API key)\nModel ID:                 deepseek\/deepseek-v4.1-flash<\/code><\/pre>\n<p>Click <em>Connect<\/em>, then <em>Test Message<\/em>. Before your first real chat, raise <em>Context Size<\/em> from 4,095 and <em>Max Response Length<\/em> from 300 (details below).<\/p>\n<h2>Why use DeepSeek V4.1 Flash in SillyTavern?<\/h2>\n<p>DeepSeek V4.1 Flash (released September 2026) replaced V4 Flash as DeepSeek&#8217;s low-cost model. According to <a href=\"https:\/\/api-docs.deepseek.com\/quick_start\/pricing\" rel=\"noopener\" target=\"_blank\">DeepSeek&#8217;s Models &amp; Pricing page<\/a>, it has a 1M-token context, up to 384K output tokens, tool calls, JSON output and a thinking mode that is <em>on by default<\/em>. For SillyTavern users three things matter most:<\/p>\n<ul>\n<li><strong>Long memory for little money.<\/strong> A big context lets you keep more of the chat, the character card and lorebook entries in every request without the bill exploding.<\/li>\n<li><strong>Speed.<\/strong> With thinking turned off, replies start almost immediately, which suits casual one-on-one chats.<\/li>\n<li><strong>A thinking mode when you want it.<\/strong> For campaigns with stats, inventory or strict rules, letting the model reason first helps it keep track.<\/li>\n<\/ul>\n<p>You can connect to DeepSeek directly with SillyTavern&#8217;s built-in DeepSeek source, or through an OpenAI-compatible gateway such as Qora API. The gateway route means one key for DeepSeek, Claude, GPT, Gemini and GLM, so you can switch the model behind the same character without new accounts.<\/p>\n<h2>DeepSeek V4.1 Flash price: Qora vs official<\/h2>\n<p>Prices per 1M tokens. Qora prices come from the live <a href=\"https:\/\/qoraapi.com\/pricing\">Qora pricing page<\/a> (default group, checked November 11, 2026). Official prices are from DeepSeek&#8217;s pricing page on the same day; DeepSeek charges half price off-peak (all hours except 01:00\u201304:00 and 06:00\u201310:00 UTC, Monday to Friday).<\/p>\n<table>\n<thead>\n<tr>\n<th>Model (SillyTavern Model ID on Qora)<\/th>\n<th>Qora input \/ output<\/th>\n<th>DeepSeek official, peak<\/th>\n<th>DeepSeek official, off-peak<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>DeepSeek V4.1 Flash<br \/><code>deepseek\/deepseek-v4.1-flash<\/code><\/td>\n<td>$0.15 \/ $0.45<\/td>\n<td>$0.30 \/ $1.20<\/td>\n<td>$0.15 \/ $0.60<\/td>\n<\/tr>\n<tr>\n<td>DeepSeek V4 Pro<br \/><code>deepseek\/deepseek-v4-pro<\/code><\/td>\n<td>$0.51 \/ $1.05<\/td>\n<td>$1.32 \/ $3.96<\/td>\n<td>$0.66 \/ $1.98<\/td>\n<\/tr>\n<tr>\n<td>DeepSeek V4 Flash (0731 snapshot)<br \/><code>deepseek\/deepseek-v4-flash-0731<\/code><\/td>\n<td>$0.15 \/ $0.45<\/td>\n<td>Retired; DeepSeek routes the old name to V4.1 Flash<\/td>\n<td>\u2014<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Honest reading of the table: on Flash, Qora&#8217;s input price equals DeepSeek&#8217;s off-peak price and is half the peak price, while output is cheaper at every hour. V4 Pro is cheaper on Qora at any time of day. DeepSeek direct is very cheap for <em>cache hits<\/em> ($0.006 per 1M at peak), so if you chat mostly off-peak with a prompt that rarely changes at the top, the official API can come out ahead. Where Qora wins is output-heavy use (long replies, thinking mode, since reasoning is billed as output), peak-hour chatting, V4 Pro, and having every other model on the same key. More detail is on the <a href=\"https:\/\/qoraapi.com\/models\/deepseek-v4-1-flash-api\">DeepSeek V4.1 Flash API page<\/a> and the <a href=\"https:\/\/qoraapi.com\/models\/deepseek-v4-pro-api\">DeepSeek V4 Pro API page<\/a>.<\/p>\n<h3>What a SillyTavern message actually costs<\/h3>\n<p>Every turn sends the card, your persona, lorebook entries and as much chat history as your Context Size allows, then gets one reply. With DeepSeek V4.1 Flash on Qora:<\/p>\n<table>\n<thead>\n<tr>\n<th>Context Size used<\/th>\n<th>Reply length<\/th>\n<th>Cost per message<\/th>\n<th>Messages per $1<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>16,000 tokens<\/td>\n<td>500 tokens<\/td>\n<td>\u2248 $0.0026<\/td>\n<td>\u2248 380<\/td>\n<\/tr>\n<tr>\n<td>32,000 tokens<\/td>\n<td>500 tokens<\/td>\n<td>\u2248 $0.0050<\/td>\n<td>\u2248 200<\/td>\n<\/tr>\n<tr>\n<td>32,000 tokens<\/td>\n<td>500 + 1,000 reasoning tokens<\/td>\n<td>\u2248 $0.0055<\/td>\n<td>\u2248 180<\/td>\n<\/tr>\n<tr>\n<td>64,000 tokens<\/td>\n<td>500 tokens<\/td>\n<td>\u2248 $0.0098<\/td>\n<td>\u2248 100<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>These are worst-case figures once the context is full; early in a chat you send far fewer tokens. The lesson: <strong>Context Size drives your bill much more than the model&#8217;s list price.<\/strong><\/p>\n<h2>Step-by-step: connect SillyTavern to DeepSeek V4.1 Flash<\/h2>\n<h3>Step 1: Get an API key<\/h3>\n<ol>\n<li><a href=\"https:\/\/qoraapi.com\/register\">Create a Qora API account<\/a> and top up (pay as you go in USD, no subscription).<\/li>\n<li>In the console, open the API keys (tokens) page and create a key named &#8220;SillyTavern&#8221;, so you can revoke it later without breaking other tools.<\/li>\n<li>Copy the key (it starts with <code>sk-<\/code>) and keep it private; anyone holding it can spend your balance.<\/li>\n<\/ol>\n<p>New users can ask for <strong>$5 of trial credit<\/strong> by messaging <a href=\"https:\/\/x.com\/QoraAPI\" rel=\"noopener\">@QoraAPI on X<\/a> or emailing support@qoraapi.com (it is not added automatically). Qora API serves users outside mainland China only.<\/p>\n<h3>Step 2: Fill in API Connections<\/h3>\n<ol>\n<li>Click the plug icon to open <strong>API Connections<\/strong>.<\/li>\n<li>Set <strong>API<\/strong> to <em>Chat Completion<\/em>.<\/li>\n<li>Set <strong>Chat Completion Source<\/strong> to <em>Custom (OpenAI-compatible)<\/em>.<\/li>\n<li>In <strong>Custom Endpoint (Base URL)<\/strong> enter <code>https:\/\/qoraapi.com\/v1<\/code>. SillyTavern&#8217;s own docs say to add <code>\/v1<\/code> if needed but <em>not<\/em> to add <code>\/chat\/completions<\/code>, because SillyTavern appends the path itself. (Janitor AI is the opposite and needs the full path; see our <a href=\"https:\/\/qoraapi.com\/blog\/janitor-ai-deepseek-proxy\/\">Janitor AI DeepSeek proxy guide<\/a>.)<\/li>\n<li>Paste your key into <strong>Custom API Key<\/strong>.<\/li>\n<li>Click <strong>Connect<\/strong>. SillyTavern then asks the endpoint&#8217;s <code>\/v1\/models<\/code> list for your key, and you can pick <code>deepseek\/deepseek-v4.1-flash<\/code> from the dropdown, or type it into the Model ID field.<\/li>\n<li>Click <strong>Test Message<\/strong>. A short reply means the connection works.<\/li>\n<\/ol>\n<p>Model IDs differ between providers: on DeepSeek direct the name is <code>deepseek-flash<\/code>, on Qora it is <code>deepseek\/deepseek-v4.1-flash<\/code>. Always use the ID of the service whose key you pasted.<\/p>\n<h3>Step 3: Change two defaults before you chat<\/h3>\n<p>Open the <strong>AI Response Configuration<\/strong> panel (the sliders icon) and change:<\/p>\n<table>\n<thead>\n<tr>\n<th>Setting<\/th>\n<th>SillyTavern default<\/th>\n<th>Suggested for V4.1 Flash<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Context Size (tokens)<\/td>\n<td>4,095<\/td>\n<td>16,000\u201364,000 (tick <em>Unlocked Context Size<\/em> to go past the default cap)<\/td>\n<\/tr>\n<tr>\n<td>Max Response Length (tokens)<\/td>\n<td>300<\/td>\n<td>Your desired reply length with thinking off (e.g. 500\u2013800); at least 1,024 with thinking on<\/td>\n<\/tr>\n<tr>\n<td>Streaming<\/td>\n<td>Depends on preset<\/td>\n<td>On, so you see text (and reasoning) arrive<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>At 4,095 tokens a detailed character card and a few lorebook entries leave room for only the last handful of messages, which is the most common cause of &#8220;the bot forgot what just happened&#8221;. A 300-token limit is the most common cause of empty or cut-off replies when thinking is on, because the reasoning uses up the budget first.<\/p>\n<h2>Thinking mode, temperature and presets<\/h2>\n<p>DeepSeek&#8217;s <a href=\"https:\/\/api-docs.deepseek.com\/guides\/thinking_mode\" rel=\"noopener\" target=\"_blank\">Thinking Mode guide<\/a> says thinking is enabled by default at &#8220;high&#8221; effort, and that in thinking mode <code>temperature<\/code>, <code>presence_penalty<\/code> and <code>frequency_penalty<\/code> are accepted but have no effect. For V4.1 Flash, <code>top_p<\/code> only works in thinking mode (range 0.95\u20131.0) and is fixed at 1.0 when thinking is off. In practice that means:<\/p>\n<ul>\n<li><strong>Thinking on:<\/strong> your temperature and penalty sliders do nothing. Style comes from the prompt and preset text, not the samplers.<\/li>\n<li><strong>Thinking off:<\/strong> temperature and penalties work again. DeepSeek&#8217;s own guidance is 1.0 by default, 1.3 for general conversation and 1.5 for creative writing.<\/li>\n<\/ul>\n<h3>Turning thinking off on a Custom endpoint<\/h3>\n<p>With SillyTavern&#8217;s built-in DeepSeek source, the <em>Request model reasoning<\/em> checkbox switches thinking on and off at DeepSeek. On a Custom (OpenAI-compatible) source, that checkbox mainly controls whether reasoning is requested and shown, so the reliable switch is DeepSeek&#8217;s own parameter. In the Custom source&#8217;s <strong>Additional Parameters<\/strong> dialog, add this under <em>Include Body Parameters<\/em>:<\/p>\n<pre><code>thinking:\n  type: disabled<\/code><\/pre>\n<p>To keep thinking but make it cheaper and faster, use <code>enabled<\/code> and add <code>reasoning_effort: low<\/code> instead. Then send a test message: if a reasoning block still appears above the reply, thinking is still on. If you prefer to check outside SillyTavern, this request does the same thing:<\/p>\n<pre><code>curl https:\/\/qoraapi.com\/v1\/chat\/completions \\\n  -H \"Authorization: Bearer $QORA_API_KEY\" \\\n  -H \"Content-Type: application\/json\" \\\n  -d '{\n    \"model\": \"deepseek\/deepseek-v4.1-flash\",\n    \"messages\": [{\"role\": \"user\", \"content\": \"Say hi in character as a grumpy innkeeper.\"}],\n    \"thinking\": {\"type\": \"disabled\"},\n    \"max_tokens\": 300\n  }'<\/code><\/pre>\n<h3>Suggested starting settings<\/h3>\n<table>\n<thead>\n<tr>\n<th>Setting<\/th>\n<th>Fast, casual chat<\/th>\n<th>Rules-heavy campaign<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Model ID<\/td>\n<td><code>deepseek\/deepseek-v4.1-flash<\/code><\/td>\n<td><code>deepseek\/deepseek-v4.1-flash<\/code> or <code>deepseek\/deepseek-v4-pro<\/code><\/td>\n<\/tr>\n<tr>\n<td>Thinking<\/td>\n<td>Disabled<\/td>\n<td>Enabled, effort low<\/td>\n<\/tr>\n<tr>\n<td>Temperature<\/td>\n<td>1.3 (1.5 for more creative prose)<\/td>\n<td>Ignored<\/td>\n<\/tr>\n<tr>\n<td>Frequency \/ Presence Penalty<\/td>\n<td>0 to start<\/td>\n<td>Ignored<\/td>\n<\/tr>\n<tr>\n<td>Context Size<\/td>\n<td>16K\u201332K<\/td>\n<td>32K\u201364K<\/td>\n<\/tr>\n<tr>\n<td>Max Response Length<\/td>\n<td>500\u2013800<\/td>\n<td>1,024\u20132,048<\/td>\n<\/tr>\n<tr>\n<td>Prompt Post-Processing<\/td>\n<td>Semi-strict<\/td>\n<td>Semi-strict<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Why Semi-strict: SillyTavern&#8217;s built-in DeepSeek source applies it automatically, but on a Custom source you choose it yourself. It merges consecutive roles and keeps one optional system message, which avoids format problems when lorebook entries or Author&#8217;s Notes are inserted mid-chat as extra system messages.<\/p>\n<h3>Do you need a &#8220;DeepSeek V4 preset&#8221;?<\/h3>\n<p>&#8220;sillytavern deepseek v4 preset&#8221; is one of the most searched phrases for this model. A Chat Completion preset is two things: sampler values and prompt text. With thinking on, most of the sampler values are ignored, so what you are really importing is the prompt. Community presets written for V4 Flash are a reasonable starting point for V4.1 Flash too, but start small: import one preset, test it with one card and a short scene, then add optional blocks one at a time. Long chain-of-thought prompts often clash with the model&#8217;s own thinking mode; if replies become stiff or repetitive, try a short system prompt with thinking off before stacking more rules.<\/p>\n<h2>Troubleshooting<\/h2>\n<h3>401 \/ invalid token<\/h3>\n<p>The key is wrong, revoked or has a stray space. Re-copy it from the Qora console, and make sure the key, endpoint and model ID all belong to the same provider.<\/p>\n<h3>404 or &#8220;connection failed&#8221;<\/h3>\n<p>Check the endpoint is exactly <code>https:\/\/qoraapi.com\/v1<\/code>, with no <code>\/chat\/completions<\/code> and no trailing space. If SillyTavern warns about the API status but replies work, tick <em>Bypass API status check<\/em>.<\/p>\n<h3>Model not found<\/h3>\n<p>Use the exact ID <code>deepseek\/deepseek-v4.1-flash<\/code>. <code>deepseek-flash<\/code> is DeepSeek-direct naming and <code>deepseek-chat<\/code> \/ <code>deepseek-reasoner<\/code> were retired by DeepSeek in July 2026.<\/p>\n<h3>Empty or cut-off replies<\/h3>\n<p>Raise Max Response Length to 1,024+ or disable thinking. If it persists, check your balance in the console.<\/p>\n<h3>Sliders change nothing \/ the bot repeats itself<\/h3>\n<p>Thinking is probably still on, so temperature and penalties are ignored. Disable thinking as shown above, or fix repetition in the prompt instead of the samplers.<\/p>\n<h2>FAQ<\/h2>\n<h3>What is the model name for DeepSeek V4.1 Flash in SillyTavern?<\/h3>\n<p>It depends on the provider. On Qora API it is <code>deepseek\/deepseek-v4.1-flash<\/code>; on DeepSeek&#8217;s own API it is <code>deepseek-flash<\/code> (the old <code>deepseek-v4-flash<\/code> name is still accepted there and served by V4.1 Flash).<\/p>\n<h3>Is DeepSeek V4.1 Flash free in SillyTavern?<\/h3>\n<p>No. SillyTavern is free, but the model is paid per token. On Qora it costs $0.15 per 1M input and $0.45 per 1M output tokens, so a typical message with 16K tokens of context costs about a quarter of a cent.<\/p>\n<h3>Should I use V4.1 Flash or V4 Pro for roleplay?<\/h3>\n<p>Start with Flash for everyday chats. Try V4 Pro ($0.51 \/ $1.05 on Qora) for long campaigns where character consistency matters more than speed, using the same card and scene to compare.<\/p>\n<h3>What Context Size should I use?<\/h3>\n<p>16K\u201332K covers most chats; 64K helps long campaigns. The model supports 1M, but every extra token is paid on every turn, so bigger is not automatically better.<\/p>\n<h3>Can I use Claude or GPT with the same SillyTavern setup?<\/h3>\n<p>Yes. Keep the same endpoint and key and change only the Model ID. See our <a href=\"https:\/\/qoraapi.com\/blog\/sillytavern-claude-api-cheap\/\">SillyTavern Claude API guide<\/a> for Claude-specific settings.<\/p>\n<h2>Get started<\/h2>\n<p>Connecting SillyTavern to DeepSeek V4.1 Flash takes about two minutes: one endpoint, one key, one model ID, then two defaults changed. <a href=\"https:\/\/qoraapi.com\/register\">Create your Qora API account<\/a>, paste the values from the quick answer above, and compare Flash, V4 Pro and other models on the same character card. Questions or trial credit: <a href=\"https:\/\/x.com\/QoraAPI\" rel=\"noopener\">@QoraAPI<\/a> or support@qoraapi.com.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>DeepSeek V4.1 Flash has become the default &#8220;cheap but good&#8221; model for SillyTavern: a 1M-token context window, fast replies and a price low enough that a long roleplay evening costs cents. This guide shows exactly how to connect SillyTavern to DeepSeek V4.1 Flash through an OpenAI-compatible endpoint (Qora API), which settings to change on day [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-444","post","type-post","status-publish","format-standard","hentry","category-ai-api"],"_links":{"self":[{"href":"https:\/\/qoraapi.com\/blog\/wp-json\/wp\/v2\/posts\/444","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/qoraapi.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/qoraapi.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/qoraapi.com\/blog\/wp-json\/wp\/v2\/comments?post=444"}],"version-history":[{"count":0,"href":"https:\/\/qoraapi.com\/blog\/wp-json\/wp\/v2\/posts\/444\/revisions"}],"wp:attachment":[{"href":"https:\/\/qoraapi.com\/blog\/wp-json\/wp\/v2\/media?parent=444"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/qoraapi.com\/blog\/wp-json\/wp\/v2\/categories?post=444"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/qoraapi.com\/blog\/wp-json\/wp\/v2\/tags?post=444"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}