Topophones

Home / Guides

Total vs Active Parameters: How Mixture-of-Experts Models Fit on Phones

Model names such as "26B-A4B" or "35B-A3B" carry two numbers. The first is the total parameters. The second, after the A, is how many are active for each token. For a phone, they answer two different questions.

The short answer

Total parameters decide how much storage and memory the model needs. Active parameters decide roughly how much work happens per word. A mixture-of-experts model is cheap to run per token but still large to store.

How a mixture-of-experts model is built

Instead of one big network, it has many small expert networks. For each token a router picks a few of them and ignores the rest. A model with 26 billion parameters in total might use only 2 to 4 billion for any one token.

What this means on a phone

A quick way to check a model

  1. Find the file size of the quantised model you plan to download.
  2. Compare it with your phone's free RAM, leaving room for the system and your other apps.
  3. Only then look at active parameters to estimate speed.

Our rule of keeping model files under a third of RAM and the page on quantisation help with steps 1 and 2.