The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.
TypeScript agentai-chatai-studioall-in-onecoding-agentdesktop-appfluximage-generationlinuxllmlocal-ailocal-llmopen-sourceprivacyself-hostedstable-diffusionuncensoreduncensored-aivideo-generationwindows
<!DOCTYPE html>
<html lang="en" data-theme="dark">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>DeepSeek V4 Flash in the Cloud: LU Labs, API, OpenRouter</title>
<meta name="description" content="Every cloud route to DeepSeek V4 Flash: the official API with working code and cache pricing, LU Labs hosted plans with EU billing, and OpenRouter.">
<meta name="keywords" content="deepseek v4 flash api, deepseek v4 flash cloud, deepseek v4 flash pricing, deepseek api setup, deepseek v4 flash openrouter, deepseek v4 flash hosted, lu labs deepseek">
<meta property="og:title" content="DeepSeek V4 Flash in the Cloud: LU Labs, API, OpenRouter">
<meta property="og:description" content="Every cloud route to DeepSeek V4 Flash: the official API with working code and cache pricing, LU Labs hosted plans with EU billing, and OpenRouter.">
<meta property="og:image" content="https://raw.githubusercontent.com/PurpleDoubleD/locally-uncensored/master/docs/social-preview.png">
<meta property="og:url" content="https://locallyuncensored.com/blog/deepseek-v4-flash-cloud.html">
<meta property="og:type" content="article">
<meta property="article:published_time" content="2026-07-31">
<meta property="article:author" content="PurpleDoubleD">
<meta property="article:tag" content="Model Guide">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="DeepSeek V4 Flash in the Cloud: LU Labs, API, OpenRouter">
<meta name="twitter:description" content="Every cloud route to DeepSeek V4 Flash: the official API with working code and cache pricing, LU Labs hosted plans with EU billing, and OpenRouter.">
<meta name="twitter:image" content="https://raw.githubusercontent.com/PurpleDoubleD/locally-uncensored/master/docs/social-preview.png">
<link rel="canonical" href="https://locallyuncensored.com/blog/deepseek-v4-flash-cloud.html">
<meta name="robots" content="index, follow">
<meta name="theme-color" content="#0a0a0a">
<link rel="icon" href="../favicon.png">
<script type="application/ld+json">
{"@context":"https://schema.org","@type":"BlogPosting","headline":"DeepSeek V4 Flash in the Cloud: LU Labs, API, OpenRouter","description":"Practical cloud guide for DeepSeek V4 Flash: official DeepSeek API setup with code and cache hit pricing, LU Labs hosted plans and credit packs for open weight models, and OpenRouter as the one line switch.","image":"https://raw.githubusercontent.com/PurpleDoubleD/locally-uncensored/master/docs/social-preview.png","datePublished":"2026-07-31","dateModified":"2026-07-31","inLanguage":"en","author":{"@type":"Person","name":"PurpleDoubleD","url":"https://github.com/PurpleDoubleD"},"publisher":{"@type":"Organization","name":"Locally Uncensored","url":"https://locallyuncensored.com/"},"mainEntityOfPage":{"@type":"WebPage","@id":"https://locallyuncensored.com/blog/deepseek-v4-flash-cloud.html"},"keywords":"deepseek v4 flash api, deepseek v4 flash cloud, deepseek v4 flash pricing, deepseek v4 flash openrouter"}
</script>
<script type="application/ld+json">
{"@context":"https://schema.org","@type":"FAQPage","mainEntity":[{"@type":"Question","name":"How much does the DeepSeek V4 Flash API cost?","acceptedAnswer":{"@type":"Answer","text":"On the official API: $0.14 per million input tokens on a cache miss, $0.0028 per million on a cache hit, and $0.28 per million output tokens. Both V4 models support 1M input context and up to 384K output tokens. DeepSeek has announced that peak hour pricing (Beijing business hours) will run at 2x once it takes effect."}},{"@type":"Question","name":"What is the easiest way to use DeepSeek V4 Flash without an API key?","acceptedAnswer":{"@type":"Answer","text":"A hosted plan or a credit pack. LU Labs offers monthly plans from 19 EUR, each with a credit balance, and credit packs from 15 EUR with no subscription, and you pick DeepSeek V4 Flash from a model picker without managing keys, tokens, or billing spreadsheets. V4 Flash and V4 Pro are in that picker on every plan and on every pack."}},{"@type":"Question","name":"Does DeepSeek V4 Flash work with Codex style coding agents?","acceptedAnswer":{"@type":"Answer","text":"Yes. The 0731 build natively supports the Responses API format and is adapted for Codex, so tools that expect the OpenAI Responses interface work against the official API without a shim."}},{"@type":"Question","name":"Is my data private when I use DeepSeek V4 Flash in the cloud?","acceptedAnswer":{"@type":"Answer","text":"Depends on the route. The official API processes prompts on DeepSeek's servers under DeepSeek's terms. LU Labs serves open weights with European billing and no training on your prompts. Fully private means local: the weights are MIT licensed, so you can run the model on your own hardware."}}]}
</script>
<script type="application/ld+json">
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://locallyuncensored.com/"},{"@type":"ListItem","position":2,"name":"Blog","item":"https://locallyuncensored.com/blog/"},{"@type":"ListItem","position":3,"name":"DeepSeek V4 Flash in the Cloud: LU Labs, API, OpenRouter","item":"https://locallyuncensored.com/blog/deepseek-v4-flash-cloud.html"}]}
</script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&family=Space+Grotesk:wght@500;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="/assets/lu.css">
<script defer src="/assets/lu.js"></script>
<script data-goatcounter="https://purple47.goatcounter.com/count" async src="//gc.zgo.at/count.js"></script>
</head>
<body>
<nav class="lu-nav">
<a class="lu-nav-brand" href="/" aria-label="Locally Uncensored">
<span class="lu-mono" data-mono="nav" data-size="40" aria-hidden="true"></span>
<span class="lu-nav-word">Locally <span class="accent">Uncensored</span></span>
</a>
<div class="lu-nav-links" id="lu-nav-links">
<a class="lu-nav-link" href="/">Home</a>
<a class="lu-nav-link" href="/pricing/">Pricing</a>
<a class="lu-nav-link" href="/blog/">Blog</a>
<a class="lu-nav-link" href="/guide/">Guide</a>
<a class="lu-nav-link" href="/remote-access/">Remote</a>
</div>
<div class="lu-nav-right">
<a class="lu-nav-icon" href="https://github.com/PurpleDoubleD/locally-uncensored" title="GitHub" aria-label="GitHub"><svg width="17" height="17" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M12 .5C5.37.5 0 5.87 0 12.5c0 5.3 3.44 9.8 8.21 11.39.6.11.82-.26.82-.58 0-.29-.01-1.04-.02-2.05-3.34.73-4.04-1.61-4.04-1.61-.55-1.39-1.33-1.76-1.33-1.76-1.09-.75.08-.73.08-.73 1.2.08 1.84 1.24 1.84 1.24 1.07 1.83 2.81 1.3 3.5.99.11-.78.42-1.3.76-1.6-2.67-.3-5.47-1.33-5.47-5.93 0-1.31.47-2.38 1.24-3.22-.13-.3-.54-1.52.11-3.18 0 0 1.01-.32 3.3 1.23a11.5 11.5 0 0 1 6.01 0c2.29-1.55 3.3-1.23 3.3-1.23.65 1.66.24 2.88.12 3.18.77.84 1.23 1.91 1.23 3.22 0 4.61-2.8 5.63-5.48 5.92.43.37.81 1.1.81 2.22 0 1.6-.01 2.9-.01 3.29 0 .32.21.7.82.58A12.01 12.01 0 0 0 24 12.5C24 5.87 18.63.5 12 .5Z"/></svg><span class="lu-nav-badge">4200+ ⭐</span></a>
<a class="lu-nav-icon discord" href="https://locallyuncensored.com/discord" target="_blank" rel="noopener" title="Discord" aria-label="Discord"><svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M20.32 4.37A19.8 19.8 0 0 0 15.45 3c-.2.36-.44.85-.6 1.23a18.3 18.3 0 0 0-5.7 0c-.16-.38-.4-.87-.6-1.23a19.7 19.7 0 0 0-4.87 1.37C.55 8.9-.32 13.3.11 17.63a19.9 19.9 0 0 0 6 3.03c.48-.66.9-1.36 1.27-2.1-.7-.26-1.36-.58-1.99-.96.17-.12.33-.25.49-.38a14.2 14.2 0 0 0 12.24 0c.16.13.32.26.49.38-.63.38-1.3.7-2 .96.37.74.8 1.44 1.27 2.1a19.8 19.8 0 0 0 6-3.03c.5-5.03-.85-9.39-3.55-13.26ZM8.02 15c-1.18 0-2.15-1.09-2.15-2.42 0-1.34.95-2.43 2.15-2.43 1.2 0 2.17 1.09 2.15 2.43 0 1.33-.95 2.42-2.15 2.42Zm7.96 0c-1.18 0-2.15-1.09-2.15-2.42 0-1.34.95-2.43 2.15-2.43 1.2 0 2.17 1.09 2.15 2.43 0 1.33-.94 2.42-2.15 2.42Z"/></svg><span class="lu-nav-badge">1700+ <span style="font-size:0.715em">🟢</span></span></a>
<span class="lu-nav-sep"></span>
<div class="switch" id="theme-switch" role="button" aria-label="Toggle theme"></div>
<a class="he-cta" href="/pricing/" aria-label="LU Cloud plans and what they include"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z"/></svg>Cloud</a>
<a class="lu-nav-dl" href="https://github.com/PurpleDoubleD/locally-uncensored/releases/latest"><svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M12 3v12m0 0 4-4m-4 4-4-4"/><path d="M4 17v2a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2"/></svg>Download</a>
<button type="button" class="lu-nav-toggle" aria-label="Menu"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" aria-hidden="true"><path d="M4 7h16M4 12h16M4 17h16"/></svg></button>
</div>
</nav>
<div class="container lu-doc">
<div class="breadcrumb"><a href="../">Locally Uncensored</a> / <a href="./">Blog</a> / This Post</div>
<div class="post-meta">
<span class="post-tag">Model Guide</span>
<span>July 31, 2026</span>
<span>·</span>
<span>8 min read</span>
</div>
<article>
<h1>DeepSeek V4 Flash in the Cloud: LU Labs, API, OpenRouter</h1>
<p>The official <strong>DeepSeek-V4-Flash-0731</strong> build went live today, and not everyone wants to download 155 GB of weights to try it (that path is covered in the <a href="how-to-run-deepseek-v4-flash-locally.html">local guide</a>). Here is every cloud route that works right now, with real prices and working code.</p>
<h2>Your Options at a Glance</h2>
<table>
<thead><tr><th>Option</th><th>Cost</th><th>Setup effort</th><th>Best for</th></tr></thead>
<tbody>
<tr><td>LU Labs hosted plans</td><td>A plan from 19€/mo with monthly credits, or a credit pack from 15€ with no subscription</td><td>Sign up, pick model, go</td><td>Chat and agents without key management</td></tr>
<tr><td>Official DeepSeek API</td><td>$0.14 / M input, $0.28 / M output</td><td>API key + three lines of code</td><td>Developers, agents, Codex style tools</td></tr>
<tr><td>OpenRouter</td><td>Provider price + margin</td><td>Change one model string</td><td>Apps already on OpenRouter</td></tr>
</tbody>
</table>
<h2>Option 1: LU Labs (one credit balance, no key juggling)</h2>
<p><a href="https://lu-labs.ai/?src=luc-b-deepseek-v4-flash-cloud" target="_blank" rel="noopener">LU Labs</a> is the hosted layer from the team behind Locally Uncensored: the same studio experience (chat, code, image, video), with the heavy models running on rented GPUs instead of yours. The model picker includes the whole DeepSeek line, and <strong>V3.2, V4 Flash and V4 Pro are all in it on every plan and on a credit pack from 15€</strong>, metered in credits against one balance. A few reasons people pick this over raw API keys:</p>
<ul>
<li><strong>One balance you can see.</strong> A plan comes with monthly credits and a pack with a fixed amount, and a long agent loop draws on that balance.</li>
<li><strong>Open weights, EU billing.</strong> Served for the plan price, billed in the EU, and no training on your prompts.</li>
<li><strong>One picker, whole lineup.</strong> V4 Flash next to Qwen, GLM, Kimi and the unfiltered community builds, switchable per conversation.</li>
<li><strong>Works with the desktop app.</strong> Run small models locally in Locally Uncensored and borrow cloud muscle for the big ones, same interface.</li>
</ul>
<h2>Option 2: The Official DeepSeek API</h2>
<p>The direct route. OpenAI compatible, so any client works with a changed base URL, key, and model name:</p>
<pre><code>from openai import OpenAI
client = OpenAI(
api_key="YOUR_DEEPSEEK_KEY",
base_url="https://api.deepseek.com",
)
resp = client.chat.completions.create(
model="deepseek-v4-flash",
messages=[{"role": "user", "content": "Refactor this function and explain the change."}],
)
print(resp.choices[0].message.content)</code></pre>
<p>Pricing as of today: <strong>$0.14 per million input tokens</strong> (cache miss), a remarkable <strong>$0.0028 per million on cache hits</strong>, and <strong>$0.28 per million output</strong>. Both V4 models take 1M tokens of input context and can emit up to 384K output tokens. Two fine print items worth knowing: DeepSeek has announced 2x pricing during Beijing peak hours (not yet in effect, date pending), and thinking mode is the default (the model reasons before answering; you can switch it off per request).</p>
<p>The 0731 build also <strong>natively supports the Responses API format and is adapted for Codex</strong>, which is a first for DeepSeek: agent tools that speak OpenAI's Responses interface run against <code>deepseek-v4-flash</code> without a compatibility shim. Given the agent benchmarks this build posts (82.7 on Terminal Bench 2.1), that pairing is the headline feature. Details in the <a href="deepseek-v4-flash-0731-explained.html">0731 explainer</a>.</p>
<h2>Option 3: OpenRouter</h2>
<p>OpenRouter lists <code>deepseek/deepseek-v4-flash</code>, so apps already wired to it switch with one model string. You get unified billing and fallbacks; you pay the routing margin, and with open weights now published, expect independent hosts to appear under the same listing and push prices around. For a single model, the official API or a plan with credits is usually the simpler deal.</p>
<h2>Which Cloud Route for Whom</h2>
<table>
<thead><tr><th>You are</th><th>Take</th></tr></thead>
<tbody>
<tr><td>A chat or agent user who wants zero setup</td><td>LU Labs, on any plan or a credit pack</td></tr>
<tr><td>A developer building on the model</td><td>Official API (cache discount is huge for agent loops)</td></tr>
<tr><td>Already on OpenRouter</td><td>Change the model string, done</td></tr>
<tr><td>Privacy absolutist</td><td>None of the above: <a href="how-to-run-deepseek-v4-flash-locally.html">run it locally</a>, the weights are MIT</td></tr>
</tbody>
</table>
<h2>And V4 Pro?</h2>
<p>Everything here applies to the big sibling too, at higher prices ($0.435 / $0.87 per million on the official API) and with no realistic local escape hatch: V4 Pro is a 1.6T parameter MoE. We wrote up its options in <a href="how-to-run-deepseek-v4-pro.html">How to Run DeepSeek V4 Pro</a> and the head to head in <a href="deepseek-v4-flash-vs-v4-pro.html">V4 Flash vs V4 Pro</a>.</p>
<h2>In the handbook</h2>
<ul>
<li><a href="/deepseek/">All DeepSeek guides</a>, every generation on one page</li>
<li><a href="/guide/install/">Install and update</a>, the SmartScreen warning and how updates arrive</li>
<li><a href="/guide/chat/">Chat</a>, the model picker, the context window and thinking mode</li>
<li><a href="/guide/faq-and-glossary/">FAQ and glossary</a>, answers to the questions people really ask</li>
</ul>
</article>
<div class="post-footer">
<p>Want one app that runs local models for private work and borrows cloud muscle when you want it?</p>
<a href="https://github.com/PurpleDoubleD/locally-uncensored" class="cta-btn" target="_blank">
<svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor"><path d="M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0 0 24 12c0-6.63-5.37-12-12-12z"/></svg>
Get Started on GitHub
</a>
<p style="margin-top:14px;margin-bottom:0">No GPU? LU Cloud runs in a browser, paid from credit packs that start at 15 EUR and need no subscription. <a href="/pricing/">See what it costs</a>.</p>
</div>
</div>
<footer>
<div class="footer-row footer-meta"><span>© 2026 · Locally Uncensored · AGPL-3.0</span></div>
<div class="footer-row footer-links">
<a href="https://locallyuncensored.com/blog/">Blog</a>
<a href="https://locallyuncensored.com/guide/">Guide</a>
<a href="https://locallyuncensored.com/pricing/">Pricing</a>
<a href="https://locallyuncensored.com/cloud/">LU Cloud</a>
<a href="https://locallyuncensored.com/uncensored-ai-chat-online/">Uncensored AI chat online</a>
<a href="https://locallyuncensored.com/uncensored-ai-image-generator-online/">Image generator online</a>
<a href="https://locallyuncensored.com/uncensored-ai-video-generator-online/">Video generator online</a>
<a href="https://locallyuncensored.com/unrestricted-ai/">Unrestricted AI</a>
<a href="https://locallyuncensored.com/uncensored-ai-coding-agent/">AI coding agent</a>
<a href="https://locallyuncensored.com/alternatives/">Alternatives</a>
<a href="https://locallyuncensored.com/is-locally-uncensored-safe/">Is it safe?</a>
<a href="https://locallyuncensored.com/remote-access/">Remote access</a>
<a href="https://locallyuncensored.com/discord" target="_blank" rel="noopener">Discord</a>
<a href="https://github.com/PurpleDoubleD/locally-uncensored">GitHub</a>
<a href="https://github.com/PurpleDoubleD/locally-uncensored/discussions">Discussions</a>
<a href="https://github.com/PurpleDoubleD/locally-uncensored/issues">Issues</a>
<a href="https://reddit.com/user/GroundbreakingMall54">Reddit</a>
<a href="https://www.linkedin.com/in/david-drobnitza-locallyuncensored/" rel="me noopener" target="_blank">LinkedIn</a>
<a href="https://locallyuncensored.com/privacy/">Privacy</a>
<a href="https://locallyuncensored.com/terms/">Terms</a>
<a href="https://locallyuncensored.com/impressum/">Impressum</a>
</div>
</footer>
</body>
</html>