Model parameters are numerical values learned during training. In a neural network they include weights and, where used, biases. Together with the architecture, they determine how the model transforms inputs into outputs.

A name containing “4B” commonly indicates a model with roughly four billion parameters. That count describes size. It is not a count of facts, words, documents, or independently understandable rules.

Weights, context, and settings

Learned weights persist in a model checkpoint. The prompt and retrieved documents are inputs to a particular request. Generation controls such as temperature and output limits influence inference behavior. These are different things even when a product calls all of them “parameters.”

In a transformer, learned matrices participate in attention and other transformations of token representations. There is no simple mapping in which one weight stores one fact. Attention Is All You Need

If you change the temperature in a chat interface, you have changed a generation setting, not retrained billions of weights. If you fine-tune an adapter, you have learned additional parameters even while the original base weights remain frozen.

Total parameters and active parameters

A dense model uses its layers’ parameters broadly during a forward pass. A mixture-of-experts model routes computation through selected expert components. Its total parameter count can be much larger than the subset active for a particular token.

The distinction matters for compute and memory. Inactive experts do not necessarily disappear from storage or deployment memory. A model’s active count alone cannot tell you how much hardware its runtime requires. Mixtral provides a concrete research example of sparse expert routing. Mixtral of Experts

Read Mixture of Experts (MoE) explained for a routing diagram, a worked parameter-count example, and practical benefits and trade-offs.

Estimate weight storage

An approximate calculation is:

weight storage in bytes ≈ parameter count × bits per weight ÷ 8

For an illustrative dense model with eight billion weights, 16-bit storage is about 16 GB in decimal units. Four-bit storage would be about 4 GB before quantization metadata and other overhead. This is arithmetic for the weights alone, not a hardware recommendation.

Running the model also needs buffers, activations, and—in many language-model runtimes—a context cache. Concurrent requests, longer context, and the implementation can increase memory use. Some formats keep selected tensors at a higher precision, so actual file sizes can differ from the simple estimate.

Compare models by the work

Suppose you need short, accurate summaries of support cases in two languages. Test that task using representative cases. Measure factual preservation, missing information, response time, memory use, and review effort.

A smaller model with suitable training and efficient implementation may fit that task better than a larger model with different strengths. Conversely, a smaller model may fail an important case even if it is quick and inexpensive. The parameter count helps you plan a trial; the trial determines whether the model is suitable.

Check your understanding

A model has twice as many parameters as another. Can you conclude it will be twice as accurate or use exactly twice as much memory?

See the explanation

No. Accuracy depends on training, architecture, and the task. Memory also depends on numerical precision, runtime overhead, context, and concurrency. Compare measured results under a defined setup.