← Back to Articles

Memdoor: A team of 5 Qwen3.8-27B models beats Fable 5 on LiveCodeBench Hard

The AI research community was taken aback on October 28, 2026 when Memdoor announced that a coordinated ensemble of five Qwen 3.8‑27B models outperformed the previously unbeaten Fable 5 on the LiveCodeBench Hard benchmark. The result, posted on the official LiveCodeBench leaderboard, shows a 4.3‑point margin in the composite accuracy metric, a gap that reshapes expectations for medium‑scale language models in code‑generation tasks.

The breakthrough in numbers

LiveCodeBench Hard, the most demanding tier of the benchmark suite released by the AI‑Code Alliance in 2025, evaluates models on a set of 2,400 programming challenges that span algorithmic puzzles, API‑driven tasks, and multi‑file software engineering problems. The metric combines exact‑match correctness, runtime efficiency, and adherence to style guidelines. In the latest run, Memdoor’s ensemble achieved an overall score of 73.5, while Fable 5, the leading single‑model performer since mid‑2025, recorded 69.2. The gap is not limited to a single language; the ensemble posted a 78 % pass rate on Python challenges, 71 % on JavaScript, and 68 % on Rust, each exceeding Fable 5’s results by at least three percentage points.

The five Qwen 3.8‑27B instances were run on a cluster of eight NVIDIA H100 NVL GPUs, each model occupying a single GPU for inference. The ensemble combined the outputs through a majority‑vote selector that also factored in confidence scores derived from the models’ internal logits. This relatively lightweight orchestration added an average latency of 0.42 seconds per query, a figure that remains within acceptable bounds for interactive coding assistants.

Background on the contenders

Qwen 3.8‑27B is the latest release from the Beijing‑based Qwen Labs, following the Qwen‑2 series that set a new standard for multilingual reasoning in late‑2024. The “3.8” denotes the model’s 3.8‑trillion parameter count, while the “27B” suffix references a distilled variant that trims the model to 27 billion parameters for faster inference without sacrificing core reasoning abilities. The architecture integrates a mixture‑of‑experts (MoE) routing layer that activates a subset of expert feed‑forward networks per token, a design choice that balances compute efficiency with expressive power.

Fable 5, on the other hand, is the flagship model from the Fable AI consortium, a partnership between Stanford University and several venture‑backed startups. Launched in March 2025, Fable 5 boasts 65 billion parameters and a proprietary “code‑aware” pretraining corpus of 12 TB, curated from public repositories on GitHub, GitLab, and Bitbucket. Its performance on LiveCodeBench Hard has been the de‑facto standard for evaluating code‑generation capabilities, with a series of incremental updates that kept it ahead of rivals until Memdoor’s announcement.

LiveCodeBench Hard itself was designed to address the shortcomings of earlier code‑generation benchmarks such as HumanEval and MBPP, which often focused on single‑file, short‑function tasks. The “Hard” tier introduces multi‑module dependencies, hidden test cases, and resource‑constraint scenarios that mimic real‑world software development. Scores on this benchmark have become a primary signal for investors and enterprise customers assessing the readiness of AI models for production‑grade code assistance.

How Memdoor built the ensemble

Memdoor’s engineering team, a group of eight researchers led by Dr. Lina Cheng, opted for an ensemble strategy after observing diminishing returns from scaling a single Qwen 3.8‑27B instance. The team trained each of the five models on slightly different slices of the same pretraining data, applying distinct data‑augmentation pipelines that emphasized varied coding styles, documentation patterns, and language idioms. One model, for example, received an additional 1.2 TB of Rust‑focused code, while another was fine‑tuned on a curated set of algorithmic competitions from the International Collegiate Programming Contest archive.

The selection mechanism that merges the five outputs is a hybrid of majority voting and confidence weighting. When at least three models agree on a solution, the answer is accepted outright. In cases of disagreement, the system evaluates the probability distribution of each model’s top‑k predictions, favoring the answer with the highest aggregated confidence. This approach, while conceptually simple, proved robust enough to handle the ambiguous test cases that often appear in LiveCodeBench Hard’s hidden evaluation suite.

The ensemble’s hardware footprint is modest compared to the 130‑billion‑parameter behemoths that dominate the upper echelons of the leaderboard. By leveraging MoE layers, each Qwen 3.8‑27B model runs at roughly 70 % of the throughput of a dense 27 billion‑parameter transformer, allowing Memdoor to keep inference costs within a $0.018 per‑query budget—a figure that undercuts many commercial code‑generation APIs that charge $0.04 or higher for comparable latency.

Why the result matters

The success of Memdoor’s ensemble challenges the prevailing narrative that only massive, densely trained models can dominate complex coding benchmarks. It demonstrates that strategic diversification of training data, combined with lightweight ensembling, can extract latent capabilities from models that are, on paper, an order of magnitude smaller than their competitors.

From an industry standpoint, the finding could accelerate the adoption of more cost‑effective AI coding assistants. Enterprises that have been hesitant to integrate large‑scale language models due to licensing fees and compute overhead may find the Memdoor approach an attractive middle ground. The fact that the ensemble maintains sub‑second latency while delivering higher accuracy suggests that real‑time code‑completion tools could be deployed on on‑premise hardware without sacrificing performance.

Academic researchers also gain a new data point in the ongoing debate over scaling laws. The observed 4.3‑point gain over Fable 5, achieved without increasing parameter count beyond 27 billion per model, hints at diminishing returns for raw scale in the domain of structured generation. Instead, the variance introduced by training on heterogeneous corpora appears to unlock complementary reasoning pathways, an insight that could inform future pretraining recipes for both code and natural‑language models.

Potential limitations and open questions

While the ensemble’s performance is impressive, its reliance on a majority‑vote scheme raises questions about robustness in edge cases. If all five models share a systematic bias—such as over‑optimizing for certain idioms—the ensemble may amplify rather than mitigate the flaw. Moreover, the approach assumes that the underlying models are sufficiently independent; in practice, training on overlapping data could reduce the diversity needed for true ensemble gains.

The hardware cost, though lower than that of single 65‑billion‑parameter models, is not negligible for startups operating on limited GPU budgets. Running five instances simultaneously still requires a multi‑GPU setup that may be out of reach for developers who only have access to a single consumer‑grade GPU. Future work could explore model distillation techniques that compress the ensemble’s knowledge into a single, more efficient model without losing the accuracy advantage.

Another consideration is the environmental impact. Even though each Qwen 3.8‑27B model is more efficient than a dense counterpart, the cumulative energy consumption of five models during inference adds up. Memdoor reports an average power draw of 2.3 kW per inference session, a figure that, when scaled to millions of daily requests, could offset some of the cost savings achieved through lower licensing fees.

The broader competitive landscape

The AI code‑generation arena has seen a flurry of activity since the release of LiveCodeBench Hard. OpenAI’s Codex 2, released in July 2026, posted a score of 71.0, trailing both Fable 5 and Memdoor’s ensemble. Google DeepMind’s Gemini‑Code‑Pro achieved 70.4, while Anthropic’s Claude‑3‑Code reached 68.9. The narrow margins among the top performers underscore how incremental engineering choices—data curation, fine‑tuning strategies, inference tricks—now matter as much as raw model size.

Memdoor’s victory also re‑energizes the conversation about open‑source versus proprietary models. Qwen Labs distributes its base models under a permissive license, allowing researchers to experiment with custom training pipelines. In contrast, Fable 5 is offered through a commercial API that restricts model access. The success of an open‑source‑based ensemble could encourage more organizations to invest in community‑driven model development rather than relying exclusively on closed‑source services.

Outlook for the next generation of coding assistants

Looking ahead, the Memdoor result suggests that the next wave of AI coding assistants will likely blend multiple specialized models rather than rely on a monolithic behemoth. Expect to see more modular architectures where a “core” language model routes queries to domain‑specific experts—be it Rust, data‑science notebooks, or low‑level systems code. Such a paradigm aligns with emerging trends in “model‑as‑service” platforms that expose fine‑grained APIs for different coding tasks.

In the short term, we can anticipate that benchmark organizers will adjust LiveCodeBench Hard to penalize ensembles that simply vote on identical outputs, perhaps by introducing adversarial test cases that require divergent reasoning paths. This could spur further innovation in ensemble diversity, prompting researchers to explore techniques like stochastic depth, dropout‑induced model variation, or even cross‑modal ensembling with vision‑language models for UI‑code generation.

Final assessment

Memdoor’s achievement is a clear signal that clever engineering can extract performance that rivals, and even surpasses, that of larger proprietary models. By harnessing five Qwen 3.8‑27B instances, the team has demonstrated a viable path toward high‑accuracy, low‑latency code generation without the financial and environmental burdens of ultra‑large models. The result will likely influence both commercial product roadmaps and academic research agendas, encouraging a shift toward modular, data‑diverse ensembles. As the AI community continues to refine evaluation benchmarks and explore sustainable scaling strategies, the Memdoor breakthrough stands as a testament to the power of thoughtful model orchestration in the evolving landscape of artificial intelligence for software development.

← More Articles Explore AI Tools →