DeepSeek-V4.1-Flash: Give a model a million tokens of text and images at once
Added · Updated
Made by DeepSeek
View profile on Hugging Face (opens in a new tab)Give a model up to a million tokens of text and images in one go, such as a long agent session or a large pile of input, and get text back.
DeepSeek-V4.1-Flash is for teams that run large models on their own GPU servers. It is a mixture-of-experts model (only a slice of it works on each word) with 552 billion backbone parameters, activating about 8 billion per token while reading and 16 billion while writing. A reasoning-effort setting from 1 to 100 trades cost for accuracy. DeepSeek says its long-context memory per token is roughly a quarter of DeepSeek-V4-Flash’s.
Model details
Original model deepseek-ai/DeepSeek-V4.1-Flash
Input Image or text Output Text
Ways to use it Run locally
What it does
It takes images and text in the same prompt and writes text back. The work behind it is mostly about the memory a model needs to hold a very long conversation: the creator restructured the model so the running memory of a long context is a fraction of what its previous version needed, and describes activating around 8 billion parameters while reading a prompt and 16 billion while writing the answer, rather than all 552 billion. That is what makes a million-token context practical rather than theoretical.
How to use it
Download the weights from Hugging Face and follow the inference folder: pip install its requirements, run convert.py to split the checkpoint into one file per GPU rank (the example uses 8, with FP4 experts), then start generate.py through torchrun in interactive chat mode, or run run.sh on the example two-image prompt. The release has no ready-made chat template; the encoding folder and the deepseek-recipe library format prompts, tool calls and images.
Common use cases
- Start interactive chat with torchrun and generate.py, type a prompt that mixes two images with text, and get a text answer about them.
- Use it as the model behind your own agent: send the conversation, tool definitions and a reasoning-effort level in the documented prompt format, and get back its thinking, a reply or a tool call.
You could use it to…
- Hand it a whole contract bundle plus scanned appendices
- Ask which clauses changed since last year, in one pass
- Feed it a million tokens of text and images at once
Can I use this?
Requirements Several GPUs: the reference inference splits the converted model across 8 tensor-parallel ranks and supports multiple machines, but the card does not name GPU models or memory. You need Python with the inference folder’s requirements, PyTorch’s torchrun, and storage for both the downloaded weights and the converted copy. DeepSeek recommends a 1M-token context and at least 256K output tokens.
Caveat The inference folder is a readable reference implementation, not a production serving engine. All benchmark and efficiency figures are DeepSeek’s own, and its instruct results use the maximum reasoning-effort setting.
Worth knowing This is very large; the creator gives 552 billion parameters in the backbone, so running it yourself needs serious hardware. DeepSeek also links a hosted chat at chat.deepseek.com. The efficiency claims are the creator’s own and come from its technical report. Licensed under MIT (repository and model weights).
Why it's here
Getting attention on Hugging Face
- 4,899 people have liked it on Hugging Face.
- It was downloaded 1,842,868 times in the last 30 days.
Numbers as of 8 November 2026, from BuildTube’s latest daily refresh.
Behind it
View model pageBuildTube has not run or verified this project. Everything above is written from what the creator published.
Made this?
Quick questions
- What is DeepSeek-V4.1-Flash?
- It takes images and text in the same prompt and writes text back.
- What can I use DeepSeek-V4.1-Flash for?
- Start interactive chat with torchrun and generate.py, type a prompt that mixes two images with text, and get a text answer about them; Use it as the model behind your own agent: send the conversation, tool definitions and a reasoning-effort level in the documented prompt format, and get back its thinking, a reply or a tool call
- Can I run DeepSeek-V4.1-Flash on my computer?
- At about 552 billion parameters in total, it needs a multi-GPU server or the hosted API, not a desktop or laptop. Several GPUs: the reference inference splits the converted model across 8 tensor-parallel ranks and supports multiple machines, but the card does not name GPU models or memory. This is very large; the creator gives 552 billion parameters in the backbone, so running it yourself needs serious hardware.
- What do I need to use DeepSeek-V4.1-Flash?
- It is published in the standard Transformers format, so it works with the usual serving tools, but the hardware is the real requirement. For most people the practical route is a hosted provider that runs it for you.
- What license does DeepSeek-V4.1-Flash use?
- Licensed under MIT (repository and model weights).
More from this week
- Idol Turn one picture of an object into a 3D Gaussian splat
Idol turns one photo, render or generated image of an object into a 3D Gaussian splat file.
- P-H3-Image-Comfy Make and edit 8-megapixel images in ComfyUI
Turn short text requests into 8-megapixel images and edit pictures on your own graphics card.
- agent-desktop Let AI agents read and click desktop apps
For developers building computer-use agents: agent-desktop lets an AI agent read and operate desktop apps on Mac, Windows or Linux from a command line.
Explore by topic
Post this
Download share imageFor makers
Made this? Show it’s on BuildTube — add the badge to your README or embed the card on your site.
README badge (Markdown)
[](https://buildtube.app/p/hf-deepseek-ai-deepseek-v4-1-flash/)Embed card (HTML)
<iframe src="https://buildtube.app/embed/hf-deepseek-ai-deepseek-v4-1-flash/" width="560" height="240" style="border:0;max-width:100%" loading="lazy" title="DeepSeek-V4.1-Flash on BuildTube"></iframe>