# Encoders vs. Decoders: The Latency Trade-off Nobody Talks About

Original title: Strands Decider: Why Not an Encoder?

> Hacker News story 50088447 · language: en · submitted 2026-10-14
> Web version: https://zeli.app/story/50088447
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 37 · by [surprisetalk](<https://news.ycombinator.com/user?id=surprisetalk>) · 💬 1
[original](<https://brooker.co.za:443/blog/2026/10/04/encoders.html>) · [HN discussion](<https://news.ycombinator.com/item?id=50088447>)

## Summary

After launching strands-decider-2B, a modified LLM, people asked why not use an encoder like BERT. I compared five designs: a Qwen3.5-based decoder, encoder-decoder models, and encoder-only models. Encoders won on latency (35ms vs 65ms) with similar accuracy, but scaled worse with longer prompts. The results are confounded, but neither approach is a clear winner at this size.

## Key quote

> With half the latency and similar performance, this is looking like a big win for e1b. But things get a little more complicated when we dive into the data.

---

## Cite

- Page: https://zeli.app/story/50088447
- Date: 2026-10-14
- Source: brooker.co.za (https://brooker.co.za:443/blog/2026/10/04/encoders.html)
- Hacker News: https://news.ycombinator.com/item?id=50088447

## Other languages

- zh: https://zeli.app/zh/story/50088447 · markdown: https://zeli.app/zh/story/50088447.md
- ja: https://zeli.app/ja/story/50088447 · markdown: https://zeli.app/ja/story/50088447.md
- ko: https://zeli.app/ko/story/50088447 · markdown: https://zeli.app/ko/story/50088447.md
- de: https://zeli.app/de/story/50088447 · markdown: https://zeli.app/de/story/50088447.md
- es: https://zeli.app/es/story/50088447 · markdown: https://zeli.app/es/story/50088447.md
- ru: https://zeli.app/ru/story/50088447 · markdown: https://zeli.app/ru/story/50088447.md
