What Does 35B A3B Mean, and Will It Fit on My GPU?

2026-12-06

Qwen3.6-35B-A3B stores 35 billion numbers but uses only about 3 billion of them for each word it writes. That gap is the whole meaning of the name. The 35B is everything the model stores, so it sets the memory you need. The A3B is the part that is Active for each word, so it sets the speed. Fast like a small model, heavy like a big one.

You open a model page and the name reads like a license plate. Qwen3.6-35B-A3B. Qwen3-30B-A3B. You just want to know one thing: will it run on my computer?

The name answers that once you can read it, and it is a mixture of experts model, which gets its own section below. This post decodes it from zero, with the real numbers counted from a real model file. One idea carries the whole post: the first number tells you the memory, the A number tells you the speed.

Diagram splitting the model name Qwen3.6-35B-A3B into family and version, 35B parameters stored which decides memory, and A3B 3 billion active per token which decides speed

Every part of the name has one job. The last two parts are the ones that matter for your hardware.

Parameters: The Numbers Inside a Model

Mind map of reading a model name like Qwen3-30B-A3B: 35B is memory stored, A3B is 3B active per token, the router picks 8 of 128 experts, experts are 95% of the model, a Q4 file is 18.56 GB, and --cpu-moe keeps experts in RAM

A parameter is one learned number, and a model is billions of them.

Start with the simplest picture. An AI model is a giant calculator that turns your words into the next word. Inside it sit numbers, each one a tiny dial the model tuned during training (training means showing it huge amounts of text until the dials settle on good values).

Those dials are the parameters. When you type a question, your words become numbers, flow through all those dials, and come out as a guess for the next word. (If you want to see the dials get tuned with your own eyes, here is how training a small LLM from scratch works.)

What the B in 35B Costs in Memory

B means billion, and billions of numbers turn straight into gigabytes of memory.

So 35B means about 35 billion dials. Each dial has to be saved somewhere, and that is where memory comes in.

A computer stores each parameter with a fixed number of bits (the 1s and 0s a computer uses). The normal size for models is 16 bits, which is 2 bytes. Now the math is simple:

  • 35 billion parameters × 2 bytes = about 70 GB
  • 30.5 billion parameters × 2 bytes = about 61 GB

That memory has to be fast memory. On a graphics card it is VRAM (the memory built onto the GPU, much faster than normal RAM). That is why the first number in the name is the memory number.

Mixture of Experts, Explained With a Hospital

A mixture of experts model splits its brain into many small specialists and wakes up only a few for each word.

First, one more building block. A model does not read whole sentences at once. It works on tokens (small chunks of text, often a word or part of a word), one at a time, and writes its answer one token at a time.

In a normal model, called a dense model, every token passes through every parameter. A 35B dense model does 35B worth of math for every single token.

A mixture of experts model, MoE for short, works like a big hospital. There are many specialist doctors, called experts (small blocks of parameters). At the front desk sits a router (a tiny part of the model that picks which experts handle each token). A patient walks in, the router sends them to a few specialists, and every other doctor keeps resting.

Diagram of a router picking the best 8 of 128 experts for one token while 120 other experts sit idle, in Qwen3-30B-A3B

In Qwen3-30B-A3B the router picks 8 of 128 experts in every layer, for every token. The other 120 sit idle for that token.

What A3B Means

A3B is the number of parameters that actually do work for one token: about 3 billion.

Now the name reads cleanly. The model stores 30 or 35 billion parameters. But because the router wakes only a few experts, each token touches about 3 billion of them. A stands for active (some model cards say activated).

Here are two real models from their official model cards (for example the Qwen3-30B-A3B card):

ModelStored (total)Active per tokenExperts per layerUsed per token
Qwen3-30B-A3B30.5B3.3B1288
Qwen3.6-35B-A3B35B3B2568 routed + 1 shared

The shared expert is one specialist that works on every token, next to the 8 the router picks.

Does every MoE model write its name this way? No. Mixtral 8x7B is also a mixture of experts. It picks 2 of its 8 experts for each token, stores 46.7B parameters in total and uses 12.9B for each token.

So “8x7B” does not mean 56B, and it does not tell you the active number. The A-style name is the clearer one: it puts both numbers right on the label.

Checking the Numbers From config.json

Yes. The model’s config file holds every size, and a short script turns it into total and active counts.

Every model on Hugging Face ships a config.json (a small text file listing the model’s shape: layers, experts, sizes). I downloaded the one for Qwen3-30B-A3B and wrote a 40-line Python script that counts the parameters from it. It adds up the attention parts, the router, the word tables, and either all 128 experts (total) or just 8 (active).

expert = 3 * hidden * moe_size          # one expert: three weight blocks
total  = layers * (attn + 128 * expert + router + norms) + embed
active = layers * (attn +   8 * expert + router + norms) + embed

This is what it printed:

experts per layer: 128, used per token: 8, layers: 48
one expert = 4.72M params; all experts = 28.99B (95% of the model)
TOTAL  params from config : 30.53B
ACTIVE params per token   : 3.35B
file size on Hugging Face : 61.06 GB (bf16 = 2 bytes/param -> 30.53B params)

The count lands on 30.5B total and 3.3B active, the same as the official card. The file size agrees too: 61.06 GB at 2 bytes each is exactly 30.53B parameters.

The surprise was the 95%. Why does that matter? Almost the whole model is experts. The parts every token uses are small. That single fact explains both halves of the A3B story.

Why an A3B Model Still Needs Memory for All of It

Because over a few dozen tokens the router uses nearly every expert, so all of them must be loaded.

It is tempting to think: only 3B works at a time, so only 3B needs to be in memory. That is the trap.

The router picks different experts for different tokens. “GPU” may go to one group, a comma to another, a Python keyword to a third. In training, the model is even pushed to spread work evenly across experts. That push is called load balancing, and you can see it in the config file as router_aux_loss_coef.

I simulated one layer of the router in the same script: 128 experts, 8 picked per token, spread evenly.

Tokens processedExperts used at least once
18 of 128
1061 of 128
50124 of 128
200128 of 128

By one short paragraph of output, every expert has been called. A real router is trained, not random, so the order differs, but the outcome is the same: you cannot leave experts out. Back to the hospital: only a few doctors see each patient, but over a busy morning every doctor is needed, so every doctor has to be in the building.

Why an A3B Model Is Fast

For each token the computer only has to read the active part of the model from memory, and reading is the slow step.

Here is the base fact. When a model writes a token, the hard work is not the math. It is moving the parameters from memory into the chip that does the math. That trip is limited by memory bandwidth (how many gigabytes per second the memory can deliver). Writing one token one at a time is heavily limited by bandwidth.

Now build on it. A dense 30B model must move all 30B parameters for every token. An A3B model moves only the 3B that are active. At 4-bit size (explained below), that is the difference between reading about 15 GB and about 1.7 GB per token.

Think of a library. A dense model reads every book on every shelf before saying each word. An MoE model walks straight to the 8 books it needs. Both libraries own the same number of books. One of them reads far fewer.

Comparison of a dense 30B model reading about 15 GB per token with a 30B-A3B mixture of experts model reading about 1.7 GB per token at 4-bit

Same storage, much less reading per token. This is a rough upper limit, not a measured speed; real speed also depends on your software and hardware.

Will a 30B A3B Model Fit on My GPU?

A real 4-bit download of Qwen3-30B-A3B is about 17 to 19 GB, so it does not fully fit a 16 GB card, while 24 GB holds it with room to spare.

One more term first. Quantization (storing each parameter with fewer bits, trading a little quality for a lot of space) is how most people run these models at home. Files tagged Q8 use about 8 bits per parameter and files tagged Q4 use about 4 bits.

Here is the weights-only memory for Qwen3-30B-A3B, from the script:

Size per parameterMemory to hold the modelRead per token
16-bit (original)61.1 GB6.71 GB
8-bit (Q8)30.5 GB3.35 GB
4-bit (Q4)15.3 GB1.68 GB

Real files run bigger than this simple math, because some parts are kept at higher precision. I checked the actual download list for this model:

  • Q4_K_M (the popular 4-bit file): 18.56 GB
  • Q4_K_S: 17.46 GB
  • Q3_K_M: 14.71 GB
  • Q8_0: 32.48 GB

On top of that, the model needs working space for your conversation, the KV cache (memory where the model keeps track of the text so far). Long chats need more of it.

So what if your GPU is smaller? Remember the 95%: experts are huge, but each token uses few of them. llama.cpp (a free program for running models locally) has a --cpu-moe option that keeps the experts in normal RAM and the always-used parts on the GPU.

And --n-cpu-moe N does this for only some layers, so you can fill your VRAM first and spill the rest. It is slower than having everything on the GPU. But it lets a 30B A3B model run on a modest card with enough system RAM.

On a Mac, the same idea plays out differently, because the GPU shares one pool of memory; here is how a 35B MoE model runs on a 16 GB Mac. And when even RAM runs out, this covers running a model bigger than your RAM.

Decision tree for fitting a 30B-A3B model: load on the GPU if free VRAM beats the Q4 file size, otherwise use --cpu-moe if system RAM allows, else pick a smaller model or quantization

A quick way to decide. Always check the real file size on the download page, because it is the true memory floor.

How to Read Any Model Name

Split the name into parts, then turn the first number into memory and the A number into speed.

Now put everything together on one name, the way a download file is often labeled: Qwen3.6-35B-A3B-Q4. Read it left to right.

  1. Qwen3.6 is the family and version.
  2. 35B means 35 billion parameters stored, about 70 GB at 16-bit and about 18 GB at 4-bit.
  3. A3B means about 3 billion active per token, so it writes tokens about as fast as a small model.
  4. Q4 means the file is quantized to about 4 bits per parameter.

A dense name like “14B” with no A part means all 14B work on every token. Smaller memory than 35B, but more reading per token than an A3B model.

Decision tree: a model name with an A number is a mixture of experts, memory follows the first number and speed follows the A number; a dense name has speed and memory both set by the first number

One question decodes almost every model name you will meet.

The label looked like a license plate. Now it reads like a spec sheet: the first number is the memory you need, the A number is the speed you get.

Leave a comment