Akashic Computer
Memory budgetNot set

Or a total budget

A total budget does not describe device topology or confirm runtime fit.

All Docs

Architecture · 9 min read · Updated 2026-07-24

Dense models and mixture of experts

How expert routing changes the relationship between total parameters, active parameters, memory, and compute.

Key idea

Active parameters can reduce per-token computation, but total parameters still determine how much weight data must be stored or distributed.

The dense path

In a conventional dense transformer, each token passes through the same feed-forward parameters in every layer. The exact activation values differ by token, but the available weights are not selected from a larger bank of independent experts.

This makes parameter count comparatively direct: a 70B dense model stores roughly 70 billion parameters, and most of the model participates in each token's forward pass. Precision determines the weight payload, while context and runtime state add memory beyond those weights.

What MoE routing changes

A mixture-of-experts layer replaces one dense feed-forward block with multiple expert blocks and a router. For each token, the router scores the experts and sends the token to a selected subset. The selected outputs are combined using routing weights.

Routing is dynamic. Two tokens in the same prompt may activate different experts, and one expert can receive more traffic than another. Implementations therefore need both correct routing logic and efficient grouped expert computation.

E1
E2
E3
E4
E5
E6
E7
E8

The router selects experts per token. Different tokens can take different paths.

8stored experts25%active in this example

A mixture-of-experts model can use fewer parameters for each token, but all expert weights still need to be stored or distributed. Active parameter count describes compute routing, not total model memory.

Total and active parameters answer different questions

Total parameters describe the complete stored checkpoint. Active parameters approximate how much of that parameter bank is used for one token. A model described as 235B total and 22B active still needs access to the 235B checkpoint, even though each token uses a much smaller route.

Active count is not a universal speed predictor. Attention layers, routing overhead, expert balance, memory movement, batch shape, and kernel quality remain important. It is best treated as an architecture property rather than a promise of dense-model-equivalent performance.

Memory and distribution

Because all experts must be available, a large MoE checkpoint may not fit on hardware that easily runs a dense model with a similar active count. Multi-device runtimes can shard experts, but that introduces communication and placement decisions.

Expert parallelism can place different experts on different devices. Tensor parallelism can split computations within layers. The best topology depends on the model architecture, runtime, interconnect, and request pattern; the label MoE alone does not choose it.

How to read an MoE specification

Look for both total and active parameter counts, the number of routed experts, the number selected per token, and whether shared experts are always active. Then inspect the runtime's support for that architecture rather than assuming generic MoE support is enough.

When only one parameter number is shown, verify whether it is total or active before estimating memory. Akashic Computer displays the total count first and the active count in parentheses to preserve that distinction.

  • Total parameters: stored capacity.
  • Active parameters: approximate routed compute per token.
  • Experts per layer: size of the routing pool.
  • Top-k: number of routed experts selected per token.
  • Shared experts: dense expert paths that may run for every token.

Primary sources

Continue reading