DeepSeek-V4: How New Compression Algorithms Made a One-Million-Token Context Real

Chinese lab DeepSeek has released preview versions of its V4 models: the flagship DeepSeek-V4-Pro (1.6 trillion parameters) and the fast DeepSeek-V4-Flash (284 billion). The headline feature is support for a context window of one million tokens. Such volumes previously demanded enormous computing power, but the engineers tackled the problem with new mechanisms: compressed sparse attention and deeply compressed attention. The technology sharply cuts inference costs, making it possible to load entire code libraries and hundreds of books into memory at once, while the Mixture-of-Experts architecture keeps speeds high.

AI-processed from MarkTechPost; edited by Hamidun News
DeepSeek-V4: How New Compression Algorithms Made a One-Million-Token Context Real
Source: MarkTechPost. Collage: Hamidun News.
Listen to article

Dominance in the AI industry is no longer determined solely by how well a model can reason. Working memory is moving to the foreground: the ability of a neural network to hold huge volumes of information in mind without astronomical spending on server hardware. For the past several years, a context window of one million tokens, equivalent to dozens of thick books or large corporate codebases, was considered the preserve of the most expensive and resource-hungry systems. Now the DeepSeek lab is once again rewriting the rules of the game with the preview release of its DeepSeek-V4 series. Its main innovation is not a simple scaling-up of compute, but a radical rethinking of the fundamental memory mechanisms.

To grasp the scale of the achievement, it helps to understand the technical barrier developers faced. In traditional transformer architectures, every newly generated token forces the model to look back over all the preceding text. This entire conversation history is stored in the so-called KV cache, which at one million tokens balloons to gigantic size and devours expensive GPU memory. That made widespread commercial use of long context economically impractical at the output stage, that is, inference. Most companies worked around the problem by building complex retrieval systems that pulled out only the relevant fragments of text, but such crutches inevitably lost important nuances and logical connections within documents.

DeepSeek's engineers decided to eliminate the root cause of the problem by introducing two new architectural approaches: compressed sparse attention and deeply compressed attention. Put in plain language, the new model stops storing a photographically exact copy of every word it has read. Instead, its algorithms archive the information into dense clusters of meaning and pay attention only to the fragments that are critical for the current computation. It resembles how a person reads a long novel: we do not remember every comma in the first chapter, but we firmly retain the characters' motives and the way the world works, instantly retrieving that knowledge when needed.

The technical elegance of DeepSeek-V4 also lies in its masterful use of a mixture-of-experts architecture. The flagship DeepSeek-V4-Pro has a colossal total of 1.6 trillion parameters, yet only forty-nine billion of them are activated to generate a single word. The lighter DeepSeek-V4-Flash contains 284 billion parameters, of which a laughably small share, just thirteen billion, is used. This approach preserves the model's remarkable depth of knowledge and analytical ability while requiring computing resources comparable to running systems of previous generations.

The implications of this release for the industry are hard to overstate. The ability to load millions of tokens at minimal cost threatens whole business segments built on developing infrastructure for vector databases and retrieval-augmented generation systems. Enterprise customers no longer need to fragment their financial reports, legal contracts or source code. They can simply place the entire context into the model's working memory and converse with it in real time. This dramatically speeds up software development, the analysis of scientific papers and security audits, making these tools accessible even to small startups.

Moreover, the move strengthens DeepSeek's reputation as the chief disruptor of an established market. While large technology corporations have long competed in building closed systems with high subscription prices, independent researchers show that intelligent algorithmic optimization can beat brute computing force. This will inevitably force competitors to revisit their pricing and speed up architectural innovation in neural networks so as not to fall behind in the race for efficiency.

Ultimately, the release of DeepSeek-V4 marks the transition to a new era of generative AI. An era in which boundless memory becomes a standard feature rather than a premium option. When the computational cost of analyzing giant data sets falls to historic lows, the focus of development shifts from trying to retain information in context to building more sophisticated autonomous agents capable of processing that knowledge for weeks and months, changing our understanding of what machine intelligence can do.

Story
ZK
Zhemal Khamidun — CPO at Alpina Digital, product manager of AlpinaGPT. Building AI products since 2019. Hamidun News is a pet project that grew into a production aggregator with 6,000+ readers.
✦ Unified AI Workspace · Nomad

Test Frontier LLMs & Autonomous Agents in One Workspace

Run Claude Opus 5.5, GPT-6, Gemini 3.1, and DeepSeek side-by-side in Nomad AI (nomadnet.ai) — unified model routing, deep research, and multimodal workflows under one subscription.

Try Nomad AI →Launch Nomad Agent
What do you think?
Loading comments…