MulaiPapan peringkatDecode calculatorModelOrganizationsReportsMatrix runsHardwareTolok UkurMarketplaceSewaProDokumen API
Bahasa
Actual Computer — Every computer, one endpoint
Community field report

MoE vs dense for serving many users: measured on a Tenstorrent P150 and an RTX 3090

Does an MoE lose its edge when many users activate most experts? On one P150 the 35B-A3B MoE is 4.7x faster than a dense 27B for one user; with 16 users its per-user lead shrinks (as suspected) but it still delivers 3.6x the total throughput (626 vs 175 tok/s), because each token does ~9x less math. Ends with a serving plan for a small data center.

The question

If an MoE model serving lots of users at once ends up activating most of its experts anyway, wouldn't a dense model be just as efficient? Is MoE's real advantage only on single-user local setups?

Short answer: no. With many users an MoE loses part of its single-user edge, exactly for the reason in the question, but it still does far less work per token than a dense model of similar size, and that is what decides throughput once a card is busy. This report shows it with our own measurements on one Tenstorrent P150 and on an RTX 3090, then turns them into a serving plan for a small data center.

Every number below links to its LocalMaxxing run or matrix. Two sets of numbers were measured locally and are not on LocalMaxxing; they are marked (local).

Two costs, not one

Generating a token costs two things:

  1. Reading the weights from memory (memory bandwidth). One step of a batch reads the weights it needs once, however many users are in the batch.
  2. Doing the math (compute). Every user's token pays for the parameters it actually uses.
Dense modelMoE model
Weights read per step, 1 userall of themonly the experts that token picks
Weights read per step, many usersall of them (shared by the batch)approaches all of them: different users pick different experts
Math per tokenall parametersactive parameters only, at any batch size

So the question is right about cost 1 and wrong about cost 2. At one user, cost 1 decides speed; with enough users, cost 2 does.

The models and hardware

DenseMoE
ModelLottolabs/Qwen3.8-27B-TT-Mixed-BFP4-BFP8-P150Lottolabs/Qwen3.6-35B-A3B-TT-Mixed-BFP4-BFP8-P150
Parameters per token27B (all)~3B of 35B
Formatmixed BFP4/BFP8, TT-nativemixed BFP4/BFP8 (experts BFP4, per-expert GPTQ), TT-native
Card1× Tenstorrent P1501× Tenstorrent P150

Also used: LiquidAI/LFM2.5-24B-A2B (MoE, ~2B of 24B active) and Lottolabs/LFM3-1.7B-TT-Mixed-BFP4-BFP8-P150 (small dense model), both on one P150.

Caveat up front: these are different models served by different P150 runtimes, and they are not equally capable (the dense 27B is often the stronger reasoner). Read the shapes of the curves more than exact ratios.

One user: the MoE is several times faster

Model, 1× P150, 1 userDecodingtok/sRun
Dense Qwen3.8-27BMTP-1 speculation23.8run
Dense Qwen3.8-27BDFlash2 block-8 speculation55.9run
Dense Qwen3.8-27BDFlash2, 2,048-token prompt56.4run
Dense Qwen3.8-27Bplain, multi-user runtime18.2(local)
MoE Qwen3.6-35B-A3Bplain, batched runtime84.9matrix
MoE Qwen3.6-35B-A3BMTP-1 speculation110.7run
MoE Qwen3.6-35B-A3BMTP-1, fused kernels138.4run
MoE LFM2.5-24B-A2Bplain163.0matrix

Without speculation, the bigger MoE (35B) is 4.7× faster than the dense 27B (84.9 vs 18.2 tok/s): one user is limited by memory reads, and the MoE reads ~3B parameters per token instead of 27B. Speculative decoding closes part of the gap for the dense model (55.9 tok/s), but the MoE gets speculation too (138.4).

The same holds on an RTX 3090:

Model, 1× RTX 3090, 1 usertok/sRun
Dense Qwen3.8-27B, GGUF Q4_K_XL, llama.cpp, no speculation39(local)
Dense Qwen3.8-27B W4A16, vLLM + DFlash2 speculation182.4run
Dense Qwen3.8-27B W4A16, SGLang + DFlash2 speculation192.6run
MoE Qwen3.6-35B-A3B NVFP4, vLLM, MTP-3 (community run; 180.8 without MTP on the same rig)313.9run

Many users: the question's intuition, measured

Decode throughput by number of users at once, short context, one P150:

UsersDense 27B (local) total (per user)MoE 35B-A3B total (per user)MoE LFM2.5-24B-A2B total (per user)Dense LFM3-1.7B total (per user)
118.2 (18.2)84.9 (84.9)163.0 (163.1)267.1 (269.3)
2–153.5 (76.8)261.7 (131.6)520.1 (264.5)
4–261.0 (65.5)395.7 (100.3)976.1 (250.5)
8120.2 (16.5)432.2 (54.3)580.7 (73.8)1,740.0 (221.1)
16175.0 (12.6)626.2 (39.7)805.5 (52.0)2,892.8 (185.5)
16 users vs 19.6×7.4×4.9×10.8×

Matrices: Qwen3.6-35B-A3B batched (repeat: run 2, single-user build with MTP: run 3), LFM2.5-24B-A2B, LFM3-1.7B (repeat: run 2).

What it shows:

  • Dense batching is nearly free. In our dense 27B traces a decode step takes 49 ms for 1 user and 60 ms for 8: eight times the tokens for about 20% more time, because the weights are read once per step for everyone. Per-user speed barely moves (18.2 → 16.5). The small dense LFM3-1.7B scales the same way (10.8× at 16 users).
  • MoE batching costs more, as the question suspects. Each extra user routes its tokens to other experts, so more of the model is read every step. Per-user speed falls faster: 85 → 54 → 40 tok/s for the 35B-A3B, 163 → 74 → 52 for LFM2.5-24B-A2B. Total throughput grows only 7.4× and 4.9× at 16 users.
  • The MoE still wins outright. At 16 users the 35B-A3B delivers 626 tok/s against the dense 27B's 175 (3.6×) on the same card. Even when nearly every expert is read each step (35B of weights against the dense model's 27B, about the same memory traffic), each token only does ~3B parameters of math against 27B. As batches grow, compute becomes the limit, and the MoE needs about 9× less of it per token.

Long context: the KV cache becomes the bill

With many users at long context, reading each user's KV cache rivals reading the weights:

Model, 1× P15016 users, short context16 users, 4K16 users, 16K16 users, 32K
MoE 35B-A3B, total tok/s626.2583.5364.9 (8 users)212.1 (4 users)
MoE LFM2.5-24B-A2B, total tok/s805.5758.5–490.8
Dense LFM3-1.7B, total tok/s2,892.82,527.9–1,285.8

(The 35B-A3B matrix stops at fewer users at 16K and 32K: the KV pool fills.)

Time to first token also grows with load: LFM2.5-24B-A2B goes from 74 ms at 1 user to 982 ms at 16 users, and 4.3 s at 16 users with 32K prompts. Prefill speed differs a lot between models: ~1,900 tok/s for Qwen3.6-35B-A3B and ~8,700–9,700 tok/s for LFM2.5-24B-A2B on the same card.

When the model does not fit: MoE offload (local)

The unquantized Qwen3.6-35B-A3B (BF16, 67 GB) on one 24 GB RTX 3090, experts in system RAM:

OffloadEstablished decode4 users total
FreeToken expert offload (GPU cache of experts, moves only misses)42.8 tok/s47.7 tok/s
vLLM generic CPU offload (moves ~45 GB of weights)7.0 tok/s12.9 tok/s

Only an MoE allows this: the GPU keeps the experts in use and fetches the rest when a token needs them. A dense 67 GB model has no shortcut.

Summary

SituationWhat limits speedMoE vs dense in our data
1 usermemory readsMoE 4.7× faster (reads ~3B params per token, not 27B)
A few usersmemory reads, more experts in playMoE's per-user lead shrinks: the question's point
Many userscomputeMoE 3.6× more total throughput (~9× less math per token)
Long context, many usersKV-cache readsboth drop; cap context or price it
Model bigger than the cardPCIe transfersMoE 5–6× faster than generic offload

What is optimal for a small data center

Assumptions: a handful of racks, tens of accelerator cards (P150s, 3090s or similar), serving an OpenAI-compatible API to paying users, with a speed promise per user (for example at least 40 tok/s per stream for chat and agents).

1. Serve an MoE as the default model, one replica per card. A 35B-A3B in BFP4/BFP8 fits one P150, and at 16 users a card delivers 626 tok/s with every user above ~40 tok/s. The dense 27B on the same card gives 175 tok/s and cannot reach 40 tok/s per user even alone without speculation. Per card, that is ~3.6× the sellable tokens, so roughly a third of the cost per token for the same hardware and power.

2. Use replicas, not tensor parallelism, when the model fits on one card. Splitting the dense 27B in BF16 over four P150s gives one fast stream (85.4 tok/s, a community run), while four single-card replicas of the BFP4/BFP8 build serve four separate batches. Spread big models over cards only when they do not fit one, and then prefer expert parallelism for MoE models.

3. Pick the batch size from your per-user promise, not from peak throughput. From the 35B-A3B matrix: 1 user 85 tok/s, 4 users 65, 8 users 54, 16 users 40. If you promise 40 tok/s, admit up to 16 streams per card at short context; if you promise 60, stop at about 4–6. Peak total throughput (more users) is the wrong target if every user gets slow.

4. Treat long context as its own product. At 16K–32K tokens the KV cache takes the card's memory and bandwidth: 626 tok/s at short context becomes ~212 tok/s with only 4 users at 32K for the 35B-A3B. Route long-context requests to separate replicas with a lower concurrency limit, and price input tokens and context accordingly.

5. Keep a "fast lane" for single-stream latency. Agents and coding tools care about one fast stream. That is where speculative decoding pays: DFlash2 lifts the dense 27B on a single RTX 3090 to ~180–190 tok/s, and MTP lifts the MoE on a P150 to ~110–140 tok/s. Speculation wins below ~4–8 concurrent users and loses above that, so run these replicas at low concurrency and the batch replicas without it.

6. Watch prefill and time to first token. Prompt-heavy work (RAG, agents re-sending long histories) is prefill-bound: 1,900 tok/s means a 32K prompt waits ~17 s. Use prefix caching (with per-tenant isolation, so customers cannot learn each other's prompts from cache timing), limit how many prefills run at once, and consider models with fast prefill for those workloads.

7. Put one gateway in front of every card. We serve all of this through EndpointMaxxing (emx): one OpenAI/Anthropic-compatible endpoint across engines (vLLM with the Tenstorrent plugin, llama.cpp, SGLang), placement onto free cards, per-key limits, prices and usage metering, and per-tenant prompt-cache isolation. Cards can be rented out per token on LocalMaxxing rentals without opening ports.

A starting layout for ~16 cards:

PoolCardsModel and setupLimit per cardServes
Bulk chat / API10MoE (e.g. Qwen3.6-35B-A3B), one replica per card, no speculation16 streams at ≤8K contextmost traffic, best cost per token
Long context3same MoE, larger KV pool4 streams at 32K+RAG, document work
Fast lane3speculative decoding (MTP or DFlash2), dense or MoE1–4 streamsagents, coding, low latency

Then measure your own traffic: run a matrix (lmx speed-test matrix run) for the exact model, card and context mix you sell, and set the per-card limits from where per-user speed crosses your promise.

Reproduce

  • Single-user runs: lmx speed-test run --mode remote --base-url <endpoint> --hf-id <model> --hardware hardware.json --submit.
  • Concurrency × context matrices: lmx speed-test matrix run --base-url <endpoint> --hf-id <model>, uploaded as the matrices linked above.
  • Serving: emx model add / emx serve; each run's page lists the exact engine, image and flags.
Attached evidenceLocalMaxxing runs referenced by this report — open any run to see the full submission
Discussion

0 comments

Questions, reproduction notes, and follow-up results.

No comments yet. Start the technical discussion.