ReleaseInsight · On RadarHabr AI→ original

A 180-Billion-Parameter Qwen Runs on Two RTX 5090s: 180 Tokens/s and Bug Hunting in 28 Minutes

A Habr author ran Qwen3.8-Flash-Next, a 180-billion-parameter MoE model with only about 6 billion parameters active per token, on two RTX 5090s at home. He then tasked it with finding the cause of a connection leak in a Java service. The Strata engine produces about 180 tokens per second (a token is a fragment of a word), while llama.cpp on the same cards manages about 44. The median investigation time was 28 minutes, compared with 103 minutes for the dense Qwen3.8-27B. For local agents, the inference engine matters about as much as the model itself.

AI-processed from Habr AI; edited by Hamidun News
A 180-Billion-Parameter Qwen Runs on Two RTX 5090s: 180 Tokens/s and Bug Hunting in 28 Minutes
Source: Habr AI. Collage: Hamidun News.
Listen to article
Article Fact Sheet & Key Figures
ParameterDetails
Primary sourceHabr AI ↗
Editor-in-Chief
Key metric #1The quantized model weighs 111.3 GB, while the two cards have only 64 GB of VRAM combined
Key metric #2One RTX 5090 reached 72 tokens/s; two cards with an expert cache reached 180
Key metric #3The race condition reproduced 2 out of 5 times for both Flash-Next and the dense 27B

Can you run a "180-billion-parameter" model at home and get real value from it on an engineering task rather than a demo? A Habr author from a series about investigating production incidents tested this on a workstation with a Ryzen 9 9950X3D, 128 GB of RAM, and two RTX 5090s with 32 GB each. The two numbers in the headline mean the following.

180 tokens per second is the text generation speed (a token is roughly a syllable or a short word). 28 minutes is the median time it took the model, across five attempts, to work through a connection leak in a Java service. For comparison, the dense Qwen3.

8-27B took a median of 103 minutes on the same task.

Why 180 billion parameters fit into 64 GB of VRAM

Qwen3.8-Flash-Next is built on the Mixture of Experts (MoE) architecture. Instead of one huge set of weights, it has many small blocks called "experts," and a router selects which of them to activate for each token at every step. Each of the 48 MoE layers has 512 experts, and for each token the model selects ten plus one shared expert. As a result, about 6 billion parameters are active at any time. The stated 180 billion includes the main model (about 125 billion), the embedding table for short sequences (about 51 billion), and a multi-token prediction module (about 4 billion).

There is no free lunch here. The Unsloth UD-Q4_K_XL quant takes up 111.3 GB, and the two cards have 64 GB of VRAM combined, so the whole model does not fit into video memory. The Strata engine helps with this. It fills VRAM with the most frequently used experts based on a prepared usage-frequency profile (24,576 layer-expert pairs), then updates the cache according to the routes tokens actually take.

The author tried several configurations. One RTX 5090 delivered about 72 tokens per second. Splitting layers between the two cards yielded about 150. The best option, where the second card serves as an additional expert cache, reached about 180. On the same cards, llama.cpp produced about 44 tokens per second on short requests, roughly four times slower. The author noted that he did not repeat the full agentic experiment with llama.cpp, so the investigation will not be exactly four times faster.

The real test: a race condition in Apache HttpCore

The task was as follows. A Java service called a partner through Feign and Apache HttpClient 5. During the degradation, the metric showed leased = 200 / 200, even though only about a dozen calls were actually in progress. A restart helped only until the next failure. The cause turned out to be a rare race condition in HttpCore 5.3.6 at the connection-acquisition timeout boundary: the request stopped waiting, but the pool entry remained occupied with no owner. The fix shipped in 5.4.3 (Apache PR #649).

You can tell a leak from an ordinary timeout by a single signal. After a timeout, once work has finished, leased returns to zero. With a leak, all calls have finished but the counter stays above zero.

Flash-Next on Strata finished in 30, 37, 27, 28, and 23 minutes: a median of 28 minutes, 145 in total. The dense Qwen3.8-27B Q8 on llama.cpp took 56, 103, 96, 115, and 121 minutes: a median of 103, 491 in total. The median dropped by roughly 3.7 times. But on the main criterion the result was the same: both models reproduced the race condition in two out of five attempts. Including two more Flash-Next runs with different GPU configurations, that comes to two successes out of seven.

The speedup is not down to the engine alone. Flash-Next generated an average of about 144 thousand output tokens per investigation versus 213 thousand for the 27B, so it both generated faster and did less work. This is therefore not a clean comparison of engines.

There were also misses. In its recommendation, the model wrote simply "5.4.x" without a lower bound, even though early versions of that branch still contained the defect. In one of the failed runs, the agent's own counter showed zero calls to the suspicious logger, yet the final summary still listed it as the main suspect.

When the cloud disappears

A commenter, Ka463, had written back in October that relying on clouds is risky because subscriptions can be blocked. On November 21, Claude asked the author to verify his identity. He uploaded a foreign passport and got an "Organization disabled" message, and the interface showed a Free plan in place of his paid tier. The author does not know the reason Anthropic gave and does not speculate about it.

He switched to Codex CLI 0.171.0 running in Docker with JDK 21, and on November 23 repeated the same test with the same five criteria. The comparison here is not the bare model but the model-plus-harness combination: Qwen ran with the DeepSeek Harness, while Astra ran with Codex. On medium mode, Astra returned a report in four minutes and checked 16 scenarios, but connections were released normally in all tests. On high mode, it delivered a race-condition analysis in 8 minutes, a link to PR #649, and the exact HttpCore version 5.4.3. However, tests after each scenario showed leased = 0: the leak could not be reproduced, even though the report looked convincing.

What follows from this

The sample is small: one incident and several runs each, so the conclusion "Qwen is smarter than Astra" cannot be drawn. The practical lessons are different. For MoE models, the inference engine affects speed almost as much as the model itself. A large local model can reproduce a complex bug in a reasonable time. And enthusiastic reviews of new flagships do not guarantee results on your specific task, so test on your own incidents. A fallback setup not tied to a single cloud account is no longer a theoretical idea.

Story

Key Questions Answered

Why 180 billion parameters fit into 64 GB of VRAM?

Qwen3.8-Flash-Next is built on the Mixture of Experts (MoE) architecture. Instead of one huge set of weights, it has many small blocks called "experts," and a router selects which of them to activate for each token at every step. Each of the 48 MoE layers has 512 experts, and for each token the model selects ten plus one shared expert. As a result, about 6 billion parameters are active at any time.

What are the key details on The real test: a race condition in Apache HttpCore?

The task was as follows. A Java service called a partner through Feign and Apache HttpClient 5. During the degradation, the metric showed leased = 200 / 200, even though only about a dozen calls were actually in progress. A restart helped only until the next failure. The cause turned out to be a rare race condition in HttpCore 5.3.6 at the connection-acquisition timeout boundary: the request stopped waiting, but the pool entry remained occupied with no owner. The fix shipped in 5.4.3 (Apache PR #649).

When the cloud disappears?

A commenter, Ka463, had written back in October that relying on clouds is risky because subscriptions can be blocked. On November 21, Claude asked the author to verify his identity. He uploaded a foreign passport and got an "Organization disabled" message, and the interface showed a Free plan in place of his paid tier. The author does not know the reason Anthropic gave and does not speculate about it.

ZK
Zhemal Khamidun — CPO at Alpina Digital, product manager of AlpinaGPT. Building AI products since 2019. Hamidun News is a pet project that grew into a production aggregator with 6,000+ readers.
✦ Unified AI Workspace · Nomad

Test Frontier LLMs & Autonomous Agents in One Workspace

Run Claude Opus 5.5, GPT-6, Gemini 3.1, and DeepSeek side-by-side in Nomad AI (nomadnet.ai) — unified model routing, deep research, and multimodal workflows under one subscription.

Try Nomad AI →Launch Nomad Agent
What do you think?
Loading comments…