Large Open-Weight Models: Licensing Boundaries and Deployment Estimates
Evaluate large open-weight models across four dimensions: licensing, architecture, memory requirements, and quantization. This article explains how total and active parameters affect deployment, provides a reusable weight-size calculation, and outlines compatibility and quality checks before inference or fine-tuning.
Deploying an exceptionally large open-weight model involves more than downloading larger files. Parameter count, architecture, quantization format, and license terms together determine whether a team can deploy it internally. The following four dimensions provide a reusable evaluation framework.
1. Distinguish Open Weights from Open Source
An open-weight release makes model parameter files publicly available. Users can download them, run inference, and modify or redistribute them within the limits of the license. Open source generally means the license meets the Open Source Definition, without additional restrictions on fields of use, modification, or distribution.
This distinction has practical engineering consequences. Access to weights does not imply permission to use the model in every scenario. When reviewing a release, read the license itself rather than simply checking whether the weights are downloadable.
Check each of the following:
- License name
- Scope of permitted use
- Conditions or thresholds for commercial use
- Attribution requirements
- Prohibited uses
2. Understand the Model Architecture
Total Parameters vs. Active Parameters
Total parameter count determines how much storage and GPU memory the weights require. Active parameter count describes the weights actually involved in the forward computation for a single token, directly affecting inference latency and throughput.
A larger gap between total and active parameters indicates greater reliance on sparse computation.
Mixture of Experts
A mixture-of-experts (MoE) architecture divides feed-forward layers into multiple expert subnetworks. A router selects a small number of experts to process each token.
Descriptions of these models typically include three figures:
- Total number of experts
- Number of experts selected per token
- Number of shared experts
These figures highlight an important distinction: computation grows with the number of experts selected per token, while weight storage grows with the total number of experts.
A model can therefore have a very large parameter count while maintaining relatively low per-token computation. The trade-off is that all experts must remain accessible.
Sparse Attention and Long Contexts
Standard attention has a computational cost that grows quadratically with sequence length. Sparse attention reduces the cost of long sequences by allowing each query to attend to only a subset of positions.
Models using this design need targeted quality checks on long-context tasks. This is particularly important when a task requires precise retrieval from distant positions, such as question answering across documents containing tens of thousands of words.
Multimodal Encoders
A vision encoder divides an image into patches and converts them into visual tokens, which are then passed to the language backbone alongside text tokens.
Image resolution directly affects the number of visual tokens. More visual tokens consume more context capacity and increase inference costs, so high-resolution image processing requires sufficient room in the context window.
3. Estimate Weight Size and GPU Memory
The basic formula for weight size is:
Weight size in bytes = Parameter count × Bits per parameter ÷ 8
The following code estimates weight size at different precisions. The example uses two trillion parameters solely to demonstrate the calculation.
def weight_size_tb(total_params: float, bits_per_param: float) -> float:"""Estimate weight size in TB, using 10^12 bytes per TB."""return total_params * bits_per_param / 8 / 1e12total = 2e12 # Example: two trillion total parametersfor bits in (16, 8, 4):print(f"{bits:>2} bit: {weight_size_tb(total, bits):.2f} TB")# 16 bit: 4.00 TB# 8 bit: 2.00 TB# 4 bit: 1.00 TB
Actual file sizes also include shard metadata, index files, and quantization scaling factors. Before downloading, use the publisher’s file manifest as the authoritative reference and account for the difference between GiB and decimal TB when checking available capacity.
GPU Memory Requirements Exceed Weight Size
During deployment, GPU memory is primarily used for:
- Model weights: Directly determined by parameter count and precision.
- KV cache: Grows with concurrent requests and context length, and can account for a substantial share of memory in long-context workloads.
- Activations and temporary buffers: Depend on batch size and sequence length.
- Framework and runtime overhead: Varies considerably between inference frameworks.
A common engineering practice is to reserve an additional 20–30% of memory as headroom. This is only a rough guideline; actual requirements should be measured in the target framework.
Using a simple decimal calculation, 1 TB of weights requires at least 13 GPUs with 80 GB of memory each:
1,000 ÷ 80 = 12.5, rounded up to 13 GPUs
This is only a lower bound. The actual configuration must also account for how the model is partitioned across GPUs, KV cache requirements, and concurrency.
Why MoE Models Are Sensitive to Memory Capacity
Although each token uses only a few experts, routing decisions are not known until routing is performed. All expert weights therefore need to remain available in GPU memory or system memory.
If the weights do not fit, frequent swapping can substantially increase latency. When estimating hardware requirements for an MoE model, use total parameters to estimate storage and active parameters to estimate compute requirements and throughput. Treat these as separate considerations.
4. Choose and Validate the Quantization Format
Common precisions and their approximate storage requirements are:
- 16-bit floating point, such as BF16 or FP16: 2 bytes per parameter
- 8-bit floating point, such as FP8: 1 byte per parameter
- 4-bit formats: Approximately 0.5 bytes per parameter, plus block-wise scaling overhead
There are two main quantization approaches.
Post-training quantization compresses weights after training. It is straightforward to implement, but lower bit widths carry a greater risk of quality loss.
Quantization-aware training simulates low-precision computation during training, allowing the model to adapt to quantization error. At the same bit width, it generally provides more stable quality.
If the publisher provides only one quantized version, users cannot directly compare quality across different precisions. In that situation, perform the following checks:
- Confirm that the inference framework supports loading and computing with the published format.
- If fine-tuning is planned, confirm whether the training framework supports backpropagation with that format or requires dequantization before training.
- Use your own evaluation set to assess the quantized model’s quality.
