Startup Subquadratic Claims 12 Million Token LLM Context Window via Sparse Attention
Miami-based startup Subquadratic has unveiled an AI model capable of processing 12 million tokens simultaneously by abandoning traditional dense attention. The new sparse attention architecture reportedly cuts compute costs by 64x, though researchers note the model builds upon existing open-source weights.
By Factlen Editorial Team
- AI Optimists & Developers
- Focusing on the practical ability to bypass RAG and load massive codebases directly into memory.
- Skeptical Researchers
- Emphasizing the need for independent verification and critiquing the startup's initial marketing.
- Enterprise Infrastructure Teams
- Prioritizing the dramatic reduction in compute costs and hardware requirements.
What's not represented
- · Hardware Manufacturers
- · Vector Database Providers
Why this matters
The quadratic cost of processing text has been the biggest bottleneck in AI development, forcing companies to use complex workarounds like vector databases. If Subquadratic's linear scaling holds up in production, developers could soon feed entire enterprise codebases and document libraries into an AI in a single prompt, drastically lowering the cost of software development.
Key points
- Miami startup Subquadratic has launched SubQ, an AI model with a 12-million-token context window.
- The model uses Subquadratic Sparse Attention (SSA) to process only relevant data, scaling linearly instead of quadratically.
- SubQ reportedly runs 52 times faster than standard models at one million tokens and cuts compute costs by 64x.
- Independent tests verify its speed and coding proficiency, though the model was built upon existing open-source weights.
For nearly a decade, the artificial intelligence industry has been bound by a strict mathematical speed limit. The "transformer" architecture that powers every major large language model relies on a mechanism called dense attention, which requires the model to compare every single word in a prompt against every other word to understand context. While this thoroughness produces highly accurate reasoning, it comes with a severe computational penalty that has dictated the hardware requirements and financial costs of the entire generative AI boom.
This creates a quadratic scaling problem: doubling the amount of text quadruples the computational work. At 8,000 tokens, this is manageable. At one million tokens, it becomes a massive bottleneck, requiring vast clusters of specialized GPUs. At 12 million tokens, it has historically been economically and computationally impossible. As a result, developers have been forced to build complex workarounds, breaking large documents into smaller chunks and using external databases to feed AI models only the most relevant snippets.
A Miami-based startup named Subquadratic claims to have shattered this computational ceiling. Emerging from stealth with $29 million in seed funding, the 13-person team has unveiled SubQ, a model boasting an unprecedented 12-million-token context window. The company asserts that its new architecture bypasses the quadratic bottleneck entirely, allowing artificial intelligence to process massive datasets in a single pass without the exponential spike in processing power that plagues traditional frontier models. If validated at scale, the breakthrough could fundamentally alter how enterprise software is built.[1]
To put that scale into perspective, 12 million tokens is roughly equivalent to nine million words. That is enough capacity to ingest the entire Python 3.13 standard library, six months of active pull requests, and a company's entire documentation history in a single prompt. Instead of relying on external search tools to find a specific line of code, an AI agent equipped with this context window can hold the entire repository in its active memory, reasoning across thousands of interconnected files simultaneously.[3]

The secret to SubQ's massive capacity lies in a new architectural approach called Subquadratic Sparse Attention (SSA). Instead of forcing the model to evaluate every possible relationship between tokens—including irrelevant connections like comparing a comma on page one to a noun on page fifty—SSA dynamically selects only the most relevant connections. By ignoring the vast majority of useless token pairs, the model frees up immense amounts of computational overhead while maintaining its understanding of the broader document.[1][2]
"Sparse attention basically means instead of doing what transformers do, which is if you have 1,000 words, you look at every possible relationship between all 1,000 words, which is 1,000 squared combinations," explains Subquadratic Chief Technology Officer Alex Whedon. "You realize that only a portion of those actually matter and you only process the portion that matter." This selective processing is what allows the model to scale its context window to unprecedented lengths without crashing the underlying hardware or requiring weeks of processing time.
Crucially, SubQ's selection process is entirely content-aware. Rather than using fixed positional windows—a common workaround in previous sparse attention experiments where a model only looks at the 100 words immediately surrounding a target token—the model learns which tokens are semantically important to the query. This means it can pull highly relevant context from anywhere in the document, successfully connecting a variable defined on line ten with a function executed on line ten thousand, without losing the thread of the logic.[1]
Crucially, SubQ's selection process is entirely content-aware.
This architectural shift changes the computational complexity from quadratic, or O(n²), to linear, or O(n). According to the company's technical documentation, this results in a staggering 64-fold reduction in compute requirements compared to dense attention at a one-million-token scale. As the context window grows larger, the efficiency gains become even more pronounced, turning what was once an impossible math problem into a standard computing task that can be executed on conventional enterprise servers rather than requiring dedicated supercomputers.[3]

The speed and cost implications of this linear scaling are staggering for the broader tech industry. Subquadratic reports that its sparse attention mechanism runs 52 times faster than the highly optimized FlashAttention-2 algorithm at one million tokens. For developers building autonomous agents that need to constantly read and re-read massive codebases, this speedup transforms long-running background tasks into near-instantaneous responses, fundamentally changing the user experience of AI coding assistants and making real-time codebase analysis a practical reality.[4]
In practical terms, this radically alters the economics of long-context artificial intelligence. The company claims that running the RULER 128K benchmark—a standard industry test for long-context retrieval and reasoning—costs roughly $8 on the SubQ model. In stark contrast, running the exact same workload on Anthropic's Claude Opus, a leading dense-attention model, costs an estimated $2,600. This massive cost reduction could democratize access to enterprise-grade AI analysis, allowing smaller startups to deploy tools that were previously restricted to massive tech conglomerates.[1]

Despite the bold claims, the AI research community initially reacted with healthy skepticism. The graveyard of artificial intelligence startups is littered with companies that promised to "fix" the transformer architecture, only to deliver models that degraded severely in reasoning quality when deployed in production. Many engineers assumed that SubQ's massive context window would inevitably come at the cost of basic logic, instruction following, and coding proficiency, treating the 12-million-token claim as a marketing gimmick rather than a usable feature.[1]
To address these doubts, Subquadratic commissioned Appen, an independent evaluation firm, to verify its kernel-level speedups and performance metrics. The results largely confirmed the startup's claims: SubQ scored 95% on the RULER 128K benchmark and achieved an 81.8% on the rigorous SWE-Bench Verified coding test. These scores place the sparse-attention model in the same tier as established frontier models like Claude Opus 4.6, proving that it can maintain high-level reasoning even while ignoring vast swaths of token relationships.[1][2]
However, a notable caveat emerged shortly after the model's launch that reframed the company's achievement. Whedon confirmed that SubQ was not trained entirely from scratch; instead, the team grafted their novel sparse attention layer onto an existing open-source model's weights and continued the training process. While this is a standard and highly effective engineering practice for a startup with limited compute resources, it tempers the initial narrative of a fully ground-up architectural revolution that abandons the traditional transformer entirely.[1]
"They may have built something real and useful," notes Will Depue, an independent AI researcher and former OpenAI engineer. "But the public evidence does not yet justify the stronger claim that they have solved the quadratic attention bottleneck" entirely on their own. Critics argue that until the model is tested across a wider array of general reasoning, mathematics, and multilingual benchmarks, the true limits of Subquadratic Sparse Attention remain unknown, and the industry should wait for broader independent reproduction.

Regardless of its exact origin, SubQ's practical utility for developers is immediate and undeniable. The company has launched an API and a dedicated coding agent called SubQ Code, designed to let software engineers bypass complex Retrieval-Augmented Generation pipelines. Instead of building intricate systems to search for relevant code snippets, developers can simply load their entire repository directly into the model's memory, asking questions and generating features with full, unbroken context that understands the entire architecture of the software.[1][3]
If Subquadratic's sparse attention proves reliable at scale across diverse workloads, it could fundamentally rewire enterprise software development and data analysis. By making massive context windows fast and economically viable, the industry may finally move past the era of chunking data and enter an age where artificial intelligence can reason over a company's entire digital footprint—from massive codebases to decades of legal contracts—in a single, comprehensive breath, unlocking a new tier of autonomous enterprise agents.[1]
How we got here
May 5, 2026
Subquadratic emerges from stealth, launching the SubQ model with a claimed 12-million-token context window.
May 24, 2026
The company's CTO confirms that the model was built by grafting sparse attention onto existing open-source weights.
June 19, 2026
Independent evaluation firm Appen verifies SubQ's kernel-level speedups and 64x compute reduction claims.
Viewpoints in depth
AI Optimists & Developers
Focusing on the practical ability to bypass RAG and load massive codebases directly into memory.
For software engineers and AI builders, the exact origin of the model's weights is secondary to its practical utility. By offering a 12-million-token window at a fraction of the traditional cost, SubQ allows developers to feed entire enterprise repositories, documentation wikis, and months of pull requests into a single prompt. This effectively eliminates the need for complex Retrieval-Augmented Generation (RAG) pipelines and vector databases, drastically simplifying how AI agents interact with massive datasets.
Skeptical Researchers
Emphasizing the need for independent verification and critiquing the startup's initial marketing.
The AI research community has seen numerous 'transformer-killer' architectures fail to maintain reasoning quality at scale. Skeptics point out that Subquadratic's initial marketing implied a ground-up reinvention of the LLM, only for the CTO to later clarify that the model relies on existing open-source weights. While independent tests by Appen validate the kernel-level speedups, researchers argue that broader, long-term evaluations across general reasoning and multilingual tasks are required before declaring the quadratic attention bottleneck permanently solved.
Enterprise Infrastructure Teams
Prioritizing the dramatic reduction in compute costs and hardware requirements.
For systems administrators and cloud architects, the most compelling aspect of Subquadratic Sparse Attention is its linear scaling. Dense attention requires massive GPU clusters to process long contexts, making enterprise AI deployments prohibitively expensive. By reducing compute requirements by 64x at the million-token mark, SubQ allows massive inference workloads to run on standard, less expensive hardware. This shift could democratize long-context AI, making it economically viable for businesses to deploy autonomous agents that monitor vast streams of data continuously.
What we don't know
- Whether SubQ's sparse attention maintains its high accuracy on general reasoning and multilingual tasks outside of coding and retrieval benchmarks.
- How the major frontier AI labs (OpenAI, Google, Anthropic) will respond to the sparse attention breakthrough in their next-generation models.
- The exact pricing structure for the full 12-million-token API once it exits private beta.
Key terms
- Dense Attention
- The standard mechanism in transformer models where every token is compared to every other token, causing compute costs to scale quadratically.
- Sparse Attention
- An optimized mechanism that only computes relationships between the most relevant tokens, drastically reducing processing power.
- Context Window
- The maximum amount of text or data an AI model can process and remember in a single prompt.
- Retrieval-Augmented Generation (RAG)
- A technique used to bypass context limits by searching an external database for relevant snippets and feeding them to the AI.
- O(n²) Complexity
- A mathematical term meaning that as the input size grows, the computational cost grows by the square of that size.
Frequently asked
What makes SubQ different from models like ChatGPT or Claude?
While standard models use dense attention that becomes exponentially slower with long texts, SubQ uses sparse attention to selectively process only relevant information, allowing it to read vastly more text at once.
How big is a 12-million-token context window?
It is roughly equivalent to 9 million words, which is enough to hold the entire Python standard library, thousands of code pull requests, or dozens of thick books in a single prompt.
Did Subquadratic build this model entirely from scratch?
No. The company confirmed that they grafted their novel sparse attention architecture onto the weights of an existing open-source model to accelerate development.
Will this replace RAG (Retrieval-Augmented Generation)?
For many enterprise use cases, yes. By allowing developers to load entire codebases or document libraries directly into the prompt, it eliminates the need for complex external search databases.
Sources
[1]MediumSkeptical Researchers
A Miami startup says it built the first frontier non-transformer LLM
Read on Medium →[2]DataCampEnterprise Infrastructure Teams
Subquadratic's SubQ model claims a 12M-token context window
Read on DataCamp →[3]SubquadraticAI Optimists & Developers
Introducing SubQ: The First Fully Subquadratic LLM
Read on Subquadratic →[4]ExplainXEnterprise Infrastructure Teams
SubQ: SSA sparse attention, 12M context, and long-context evals
Read on ExplainX →
Every angle. Every day.
Get technology stories with full source coverage and perspective breakdowns delivered to your inbox.






