How to Evaluate and Deploy Chinese Open-Source LLMs: A Practical Guide for Enterprises

    Open-weight models such as Qwen, DeepSeek, GLM, Yi, and InternLM let teams deploy models on their own infrastructure and fine-tune them for specific business needs. This guide covers the key steps enterprises should follow when adopting these models: checking license terms version by version, estimating VRAM requirements, running capability tests instead of relying on leaderboards, choosing a deployment stack, defining evaluation metrics, applying security checks, and establishing version management practices.

    1. What Open Weights Actually Change

    In the past, many large models were only accessible through APIs. Data had to pass through external services, and tuning options were limited. With open weights, teams can deploy models on their own servers and perform fine-tuning, inference optimization, and domain adaptation as needed. The main value is that data stays in-house, and the model can be adjusted repeatedly to match business requirements.

    Well-known open-source model families from China include Qwen (Tongyi Qianwen), DeepSeek, Zhipu GLM, 01.AI’s Yi, and InternLM (Shusheng Puyu). These families iterate quickly, and license terms differ across versions. Some use permissive licenses such as Apache 2.0, while others use custom licenses that restrict commercial scale or use cases. When selecting a model, verify the actual license text for each version rather than relying on the family name alone. This article is based on publicly available information at the time of writing—always check each project’s official repository or release page for the latest details before publishing or deploying.

    2. Start with VRAM: The First Deployment Barrier

    A rough way to estimate the VRAM needed for model weights is “parameter count × bytes per parameter.” At FP16 precision, each parameter takes 2 bytes, so a 7B (7-billion-parameter) model needs about 14 GB of VRAM for its weights, while a 70B model needs about 140 GB. With INT4 quantization, each parameter takes roughly 0.5 bytes, reducing a 7B model’s weights to about 3.5 GB. Actual usage will be higher once you account for the KV cache, framework overhead, and intermediate results from concurrent requests—always leave extra headroom.

    The key takeaway: parameter size alone does not determine deployment difficulty. A well-quantized mid-size model with sufficient capability is often a better fit than a large model for internal Q&A or classification tasks.

    3. Replace Leaderboard Selection with Four Capability Tests

    Leaderboard scores cannot substitute for testing against your own business. For each capability, prepare at least 30 real examples from your organization and define pass criteria in advance.

    Instruction following: Give the model a task like “answer only based on the provided material; state that you cannot answer when information is missing.” The pass criterion: the refusal rate when information is missing meets the agreed threshold, and answers contain no facts beyond the material. A common failure is the model fabricating numbers or adding invented background.

    Long-context handling: Feed the model a policy document of 100+ pages and ask questions targeting different sections. The pass criterion: answers on key clauses are correct and can point to the section where they appear. A common failure is the model attending only to the beginning or end while ignoring the middle.

    Long-horizon tasks: Have the model complete a multi-step task such as retrieving information, analyzing, verifying, and generating a report. The pass criterion: intermediate steps are traceable, and the final conclusion is consistent with intermediate results. A common failure is contradictory output or losing earlier state.

    Deep research: Provide two conflicting documents and ask the model to flag the conflicts and distinguish facts from inferences. The pass criterion: every conclusion comes with a source. A common failure is presenting inferences as facts or citing nonexistent sources.

    4. Two Deployment Combinations

    Combination 1 — GPU cluster teams: Serve inference with frameworks like vLLM or SGLang, packaged in Docker containers and orchestrated by Kubernetes. Store model files and evaluation data in object storage, collect latency, throughput, and error rates with Prometheus, and visualize them in Grafana. This setup scales flexibly and suits multiple business units sharing model services, but operations costs are higher.

    Combination 2 — Small internal tools or offline environments: Run quantized models with llama.cpp or Ollama on a single server or workstation. Keep files on local disks, write logs to local files, and archive them periodically. This setup launches quickly with few dependencies, but concurrency is limited—unsuitable for heavy peak-time traffic.

    Both combinations should include access control, call quotas, and timeout-based circuit breaking.

    5. Define Metrics Clearly

    Metrics need explicit definitions and measurement methods; otherwise, numbers from different teams cannot be compared.

    Citation completeness rate: The share of answers (that require sources) which include valid citations. Method: manually review a monthly sample of 200 responses. An example acceptance threshold is 95% or higher, but set the actual value based on your business risk—the number here is not an industry standard.

    First-response accuracy: In customer service scenarios, the proportion of issues resolved on the first answer. Method: sample tickets and have business staff annotate them.

    Average response latency: The time from request submission to the first token returned. Distinguish first-token latency from full-output time, and report P50 and P95 separately.

    Human review rate: The proportion of answers requiring human edits before use. This metric indicates whether the model is genuinely reducing workload.

    6. Security and Reliability Checklist

    Prompt injection: Label system instructions, user input, and retrieved content in separate zones. The model should treat retrieved content as reference material only, never as instructions. Use an allowlist for tool calls, and grant each tool only the minimum permissions it needs.

    Permission filtering: Complete permission filtering on retrieval results before they are assembled into the context, so the model does not indirectly leak documents the user is not authorized to access.

    Log masking: Use rules to detect fields such as national ID numbers, phone numbers, and bank card numbers, and replace them with placeholders before writing to logs and caches.

    Output validation: Apply rule-based checks to outputs containing amounts, dates, names, and clause numbers, and cross-check them against source documents.

    High-risk scenarios: Conclusions in legal, medical, financial, and workplace-safety contexts must never be adopted directly from model output. A qualified person must review them, with original sources and generation records retained.

    7. Three Basic Actions for Rollout

    First, maintain a model registry. Record the version, license, source URL, download date, and owner.

    Second, build a regression evaluation set. Before switching model versions or adjusting prompts, run the evaluation set, compare metrics, and only then deploy.

    Third, prepare a rollback plan. If a new version misbehaves, you should be able to switch back to the previous stable version quickly, keeping the inference configurations for both versions.

    Ultimately, the value of an open-source model depends on whether the team can embed it in a process that is testable, observable, and reversible.