Open Weights Are Not Open Source: A Practical Guide to LLM Deployment

    Open-weight models are often described as "open source," but the two concepts differ significantly. This article explains what open weights actually provide, why enterprises choose them, the real-world challenges of inference, fine-tuning, and tooling compatibility, and a step-by-step selection and implementation path covering licensing review, acceptance metrics, deployment, and operations.

    What Open Weights Actually Give You

    The result of training a large language model is a set of numerical values: the weights. A model contains billions to trillions of parameters, each representing the strength of a connection between neurons. During training, the model continuously adjusts these values to reduce the gap between its predictions and real text. Once training finishes, these parameters encode the linguistic patterns, factual knowledge, and reasoning behaviors the model has learned. In most cases, when a developer “downloads a model,” what they actually download is this set of weight files.

    Open weights and open-source software are two different things. The distinction can be summarized as follows:

    • Open-source software: Provides source code that users can inspect, modify, and redistribute, and on which they can build derivative versions.
    • Open-weight models: Provide the trained parameter files, usually along with inference code and a usage license. They do not include the training code, the data processing pipeline, or the full training dataset. Users cannot reproduce the training process from scratch, and it is very difficult to fundamentally change the model architecture.

    Open weights are therefore closer to “usage-level” openness. Users can deploy inference services and fine-tune the model on their own data. For most enterprises, this already covers the majority of business needs.

    Three Reasons to Choose Open Weights

    1. Lowering the Barrier to Using LLMs

    Training a large model from scratch requires clusters of thousands to tens of thousands of high-end GPUs, large volumes of high-quality data, and extended tuning efforts. Most enterprises cannot afford this level of investment. Open weights let companies use already-trained models directly and concentrate their resources on inference deployment and business adaptation.

    One point needs to be made clear: what is lowered is the training barrier, not every barrier. Inference still consumes VRAM and compute, as explained in detail later.

    2. Data Can Stay Inside the Enterprise

    Industries such as finance, healthcare, and government impose strict limits on data leaving their environment. When calling a public cloud API, request content passes through third-party servers. If an open-weight model is deployed in an enterprise’s own private cloud or on-premises data center, the entire inference process can run inside the internal network, significantly reducing the risk of data leaving the environment.

    That said, private deployment does not automatically mean compliance. Enterprises still need to:

    • Classify and grade training and inference data, defining which data is allowed to enter the model.
    • Establish access control and operational auditing, recording who called the model, when, and what the inputs and outputs were.
    • Review model outputs to prevent incorrect conclusions, sensitive information, or non-compliant content from reaching end users directly.
    • Complete any filings or security assessments required by the applicable industry regulators in their jurisdiction.

    3. Customizable Models with More Predictable Costs

    Business terminology, ticket formats, and service standards often differ from a general-purpose model’s training data. Domain fine-tuning on open weights makes the model more familiar with this content. Instruction tuning and preference alignment can also keep the output style and tone consistent with the company’s service requirements.

    On cost, public cloud APIs charge per token, so expenses grow with call volume. Self-hosting requires upfront hardware investment, after which the main costs are electricity, hardware depreciation, and operations staff. A rough comparison:

    • Public cloud monthly cost ≈ total monthly input and output tokens × unit price
    • Self-hosted monthly cost ≈ (hardware purchase price ÷ depreciation months) + monthly electricity + monthly operations labor

    The monthly call volume at which the two are equal is the break-even point for self-hosting. Each enterprise should compute this figure using its own actual call volumes and quotes rather than borrowing someone else’s conclusion.

    Real-World Challenges and How to Address Them

    Challenge 1: Compute and VRAM Requirements for Inference

    Having the weights does not mean having the compute. Take a 175-billion-parameter model as an example: at FP16 precision, the weights alone occupy about 350GB of VRAM (175 billion parameters × 2 bytes per parameter). In practice, you must also account for the KV cache and inference framework overhead, which means multiple high-end GPUs running tensor parallelism.

    Mitigation strategies:

    • Quantization: Compressing weights from FP16 to INT8 or INT4 significantly reduces VRAM usage. INT8 has relatively small accuracy loss on most models and tasks and is a good default starting point. INT4’s accuracy loss varies by model and task and must be validated on your own evaluation set. Keep an FP16 or INT8 version available before launch as a fallback if accuracy falls short.
    • Knowledge distillation: Use the large model as a teacher to train a smaller student model. The student needs the teacher’s outputs and sufficient training data, and its capability ceiling is typically below the teacher’s. It suits latency- and cost-sensitive scenarios with a narrow task scope.

    Challenge 2: The Technical Bar of Fine-Tuning and Data Quality

    Fine-tuning is not easy. The stronger the base model, the higher the demands on fine-tuning methods and data. Poor hyperparameter choices or low-quality data can cause catastrophic forgetting, where the model improves on the new task but loses its original general capabilities.

    Mitigation strategies:

    • Parameter-efficient fine-tuning: LoRA (Low-Rank Adaptation) and Prefix-tuning train only a small number of additional parameters, typically under 1% of the total. They train quickly, use little VRAM, and approach full fine-tuning quality on many tasks.
    • Data cleaning: Deduplicate data, remove sensitive information, standardize formats, and spot-check annotations. Data quality determines the ceiling of fine-tuning results.
    • Dual acceptance testing: Verify improvement on a domain test set while also checking for capability regression on a general test set. Both must pass before going live.

    Challenge 3: Toolchain and Model Format Compatibility

    Compared with the mature open-source software ecosystem, the open-weight toolchain is still evolving rapidly. Model file formats include PyTorch’s .bin, SafeTensors, GGUF, and others, while inference frameworks include vLLM, TensorRT-LLM, llama.cpp, and more. Different frameworks support different model architectures and hardware.

    Mitigation strategies:

    • Verify support coverage: Inference engines like vLLM publish explicit lists of supported model architectures and hardware. Before launch, confirm that your target model and target GPU are on the list, and run load tests on the actual hardware. Where compatible, mechanisms such as continuous batching can improve throughput, though the magnitude depends on request patterns and hardware.
    • Containerization and resource limits: Package the inference service with Docker, request GPU resources per Pod in Kubernetes, and set VRAM and memory limits so a single service cannot exhaust an entire machine.

    Selection and Implementation Path

    Step 1: Requirements Assessment

    • Task type: Open-domain conversation or domain-specific knowledge Q&A? The task type determines model size and the choice of evaluation sets.
    • Data sensitivity: Is the data allowed to leave the enterprise network? This directly determines whether to use self-hosting, a hybrid cloud, or a public cloud API.
    • Inference scale: What are the daily request volume, peak concurrency, and average input/output lengths? These figures drive hardware sizing.

    Step 2: License Review and Model Evaluation

    Complete the license review before any performance comparison. The legal team should confirm, for each candidate model, whether commercial use is permitted, whether modification and redistribution are allowed, and whether there are restrictions on use cases or user scale. Only models that pass review proceed to evaluation.

    An evaluation matrix can be built as follows:

    Dimension Key Considerations
    License Whether commercial use is allowed; whether modification and redistribution are allowed; any usage scope restrictions.
    Performance Results on public benchmarks such as MMLU, HumanEval, and GSM8K; targeted tests on your own business data.
    Resource consumption Model size, VRAM required for inference, time to first token, tokens generated per second.
    Ecosystem support Community activity; support for mainstream inference frameworks and quantization tools; availability of reproducible deployment documentation.
    Safety Refusal behavior on harmful requests and sensitive topics; ease of integrating the enterprise’s own content moderation.

    VRAM requirements can be roughly estimated as:

    VRAM needed ≈ number of parameters × bytes per parameter + KV cache + framework overhead

    Reserve at least 20% VRAM headroom. Final figures should be based on measurements on the target hardware.

    Step 3: Define Acceptance Criteria

    Before going live, define the pass standard for each metric. The table below gives examples; specific thresholds should be adjusted to business requirements:

    Metric Example Standard
    Business task accuracy Not below the agreed baseline, e.g., 90% of human-annotated results
    General capability retention Degradation relative to the pre-fine-tuning base model stays within the agreed margin
    Time to first token (p95) Does not exceed the value defined in the business SLA
    Throughput Meets the projections for daily request volume and peak concurrency
    Peak VRAM usage Does not exceed 80% of total VRAM
    Rate of non-compliant or unsafe outputs Below the agreed ceiling, with manual spot-check records

    Step 4: Deployment and Operations

    1. Environment preparation: Set up the GPU cluster, install CUDA, PyTorch, and other base dependencies, and pin version numbers for reproducibility.
    2. Model acquisition and conversion: Download the weights and verify file hashes. If conversion to formats such as TensorRT engines is needed, complete the conversion and accuracy evaluation in a test environment first. If conversion fails, fall back to the original format and deploy with a verified inference engine.
    3. Service wrapping: Build the inference API with FastAPI or a similar framework, and configure request timeouts, concurrency caps, and rate limiting.
    4. Monitoring and alerting: Monitor GPU utilization, VRAM usage, inference latency, and error rates. The following thresholds are examples only: trigger alerts when GPU utilization stays above 90% for 10 minutes, VRAM usage exceeds 85%, p95 latency exceeds 1.5× the SLA, or the 5xx error rate exceeds 1%.
    5. Versioning and rollback: Keep the previous model files and service configuration. If accuracy or stability issues appear after a new version goes live, you should be able to switch back quickly.
    6. Continuous evaluation: Regularly track newly released models and re-evaluate them following Steps 2 and 3. Licenses must be re-checked before any upgrade.

    Boundaries of Applicability and Conclusion

    Open weights give enterprises more autonomy, but they do not grant unrestricted commercial use. License terms differ from model to model and must be reviewed one by one. Responsibility for outputs also remains with the enterprise: incorrect, infringing, or non-compliant content generated by the model does not disappear just because it is deployed internally.

    For most enterprises, the most realistic approach is a hybrid one. Use self-hosted open-weight models for data-sensitive workloads with stable call volumes, and keep using public cloud APIs for exploratory needs, highly variable peaks, or scenarios that only require general capabilities. The ratio between the two should be determined by actual costs, data requirements, and team capabilities.

    Open weights lower the barrier for enterprises to adopt large models, but they also place the responsibility for deployment, evaluation, and compliance in the enterprise’s hands. Mastering quantization, fine-tuning, and private deployment helps developers bring models into real business faster, while rigorous license review, acceptance criteria, and monitoring determine whether the solution can run reliably over the long term.