ArchitectureJune 29, 2026 ยท 5 min read

โšก SubQ: First Sub-Quadratic LLM with 12M Token Context

A startup out of Miami claims to have escaped the quadratic attention bottleneck that has defined transformers since 2017 โ€” with a 12-million-token context window to prove it.

๐Ÿ“‹ Article Summary

  • ๐Ÿ”‘ The Quadratic Problem โ€” Transformers waste compute on token relationships that don't matter
  • โš™๏ธ Sparse Attention (SSA) โ€” Content-based selection. Linear scaling, not quadratic.
  • ๐Ÿ“Š Efficiency โ€” 64.5x less compute at 1M tokens. 52x faster than FlashAttention 2.
  • โœ… Quality โ€” RULER 95.6%, needle-in-haystack 100% at 2M, SWE-bench 81.8%
  • โš ๏ธ Caveats โ€” Vendor-reported, no open weights, no independent reproduction yet

The Problem

Every transformer LLM since 2017 is bottlenecked by quadratic attention: doubling input length quadruples compute. This is why 1M-token contexts cost $5-25/query and why RAG exists โ€” not because retrieval is better, but because feeding full documents is too expensive.

The Architecture: SSA

SubQ (Miami startup, $29M seed, ex-Meta AI leads) replaces dense attention with content-based sparse selection. Each token learns to pick a small subset of semantically relevant tokens. Full attention math runs only on those pairs.

  • โ€ข vs Longformer/BigBird โ€” SSA selects by content, not position
  • โ€ข vs Mamba/RWKV โ€” Exact attention on selected tokens, no approximation loss
  • โ€ข vs RAG โ€” Full context retained, only computation is sparse

Efficiency Gains

ContextCompute vs DenseSpeed vs FA2
128K8x less8x faster
512K31x less31x faster
1M64.5x less52x faster
12M~1000x lessโ€”

Quality Benchmarks

  • โ€ข RULER 128K: 95.6% (vs 94.8% Claude Opus 4.6)
  • โ€ข Needle-in-Haystack: 100% at 1M and 2M, 98% at 6M and 12M
  • โ€ข SWE-Bench Verified: 81.8%
  • โ€ข GPQA Diamond: 85.4% (below frontier ~93%)

Honest caveat: Most benchmarks are vendor-reported. No public weights, no independent reproduction. The architecture is genuine, but real-world 12M-token performance is unverified by third parties. Available in private beta.