Dashboard

What Is a Causal Encoder-Decoder Model?

A causal encoder-decoder model splits reading from writing. Here is what that changes, using the DeepSeek V4.1-Flash release as the worked example.

Cecilia Iona
Cecilia Iona
Senior Editor, AI & Product
5 October 20261 min read

A causal encoder-decoder model splits reading from writing. One component, the encoder, reads your prompt and builds a representation of it. A second component, the decoder, writes the reply from that representation. The "causal" part means the decoder can only look backwards as it generates, one token at a time, exactly as the models you already use do.

Most models you call today are decoder-only: a single stack of layers that runs the same machinery over the prompt and the reply alike. The split version is the older idea and the less fashionable one, which is why it was mildly surprising when a frontier-class model shipped on it.

This stopped being a textbook distinction in September 2026, when DeepSeek shipped a flagship-class model built on one.

The division of labour

Reading and writing are genuinely different tasks, and the economics of each differ.

When a model reads your prompt, it can process every token at once, because the whole input already exists. When it writes, it must produce one token, look at what it produced, then produce the next. Reading is parallel. Writing is serial, and serial work is where latency and cost pile up.

A decoder-only model runs one set of weights for both jobs. An encoder-decoder can size each side for the work it does.

Phase

What happens

Can it be parallelised

Encoding the prompt

The input is read in full

Yes

Decoding the reply

Tokens are produced one at a time

No

What the causal encoder-decoder model buys you

The split matters most when combined with a mixture-of-experts design, where only a fraction of the model's parameters activate for any given token.

DeepSeek V4.1-Flash, released on 10 September 2026, is the concrete case. It has 552 billion total parameters. During reading, roughly 8 billion are active. During generation, roughly 16 billion. The model stores its key-value cache in a four-bit floating-point format, which is the other half of the efficiency story, because the cache is what grows as a conversation gets longer.

Put those together and you get an unusual result: the smaller, cheaper model outperformed the larger flagship it replaced. On DeepSWE v1.1, a software engineering benchmark, V4.1-Flash resolved 74.2% of tasks against 62.7% for the bigger V4-Pro, and 74% for Opus 5. DeepSeek began routing V4-Pro API requests to V4.1-Flash on 14 September, billed at the smaller model's rates.

The pricing gap is the part a builder feels. Off-peak, V4.1-Flash is 15 cents per million uncached input tokens and 60 cents per million output tokens, with rates doubling during weekday peak windows. Against V4-Pro's $3.96 per million output tokens at peak, V4.1-Flash's $1.20 is roughly a 70% reduction.

What changes for you, and what does not

If you call an API, nothing changes

This is worth saying plainly, because architecture news reads as though it demands a response. It does not. You send tokens, you get tokens back, you are billed per token. The architecture behind the endpoint is the provider's concern. What you notice, if anything, is a different price and a different latency profile, and both are measurable without knowing why.

The one thing worth doing is the thing worth doing on any model release: test it against your own tasks before switching, because benchmark wins do not transfer reliably to your workload.

If you self-host, it changes a great deal

Active parameter counts, not total parameter counts, drive what hardware you need. A 552 billion parameter model sounds unservable on anything you own. A model activating 8 to 16 billion parameters per token is a different conversation, and the four-bit cache format means long contexts cost less memory than they otherwise would.

This is why how much VRAM you need to run a local LLM depends on numbers that total parameter count does not tell you. The weights are published on Hugging Face under the MIT license, which makes it a question you can actually test rather than argue about.

Why bigger stopped meaning better

The long-running assumption was that parameter count tracked capability. The honest version was always that parameter count tracked capability *per unit of training and data quality*, and the per-unit part has been improving fast.

A split architecture that activates a small slice of a large model for each token breaks the link between model size and inference cost. That is the structural reason bigger models cost more per token remains true as a statement about dense models while becoming a weak predictor across architectures.

FAQ

Is encoder-decoder a new idea?

No. The original transformer was an encoder-decoder, and translation models used the shape for years. Decoder-only became dominant for general chat models. What is new is seeing the split applied at frontier scale with mixture-of-experts routing.

Does this mean decoder-only models are obsolete?

No. One model shipping successfully with a different architecture is evidence that the design space is wider than assumed, not that the incumbent design lost.

How do I tell which architecture a model uses?

Read the model card or the technical report. Providers who build something unusual tend to say so, because it is a selling point. What model weights are is the background if those documents read as noise.

Should I switch models because of this?

Only if your own testing says so. Benchmark results tell you a model is worth a trial, not that it is worth a migration.

Sources: the architecture, parameter counts, pricing and benchmark figures come from SiliconANGLE's coverage of the V4.1-Flash release on 10 September 2026.

How did this land?

About the author

Cecilia Iona
Cecilia Iona

Senior Editor, AI & Product

Cecilia leads the Swarmz editorial desk. She has spent a decade turning complex AI and product topics into writing people actually finish, and she owns the blog's quality bar.

Share

Get the next post in your inbox

One email a month. Product updates, engineering posts, and the best of Built with Swarmz.

I agree to receive emails about AI building tips and Swarmz product news. Unsubscribe any time.