How to Evaluate Domestic Chinese LLMs: A Practical Framework for STEM Developers

    When selecting a domestically developed large language model, STEM developers often rely too heavily on benchmark leaderboard scores. Leaderboards show how models perform on public test sets, but they rarely answer the question that matters most: will this model work for my data, my tasks, and my budget? This article presents a practical evaluation and selection methodology you can run inside your own project, covering core evaluation dimensions, test set construction, cost estimation, and engineering considerations—without comparing specific brands.

    STEM developers choosing a large language model (LLM) often focus on leaderboard rankings. Leaderboards can indicate how well a model performs on certain public test sets, but they rarely answer a more specific question: is this model usable for my data, my tasks, and my budget? Starting from this question, this article outlines an evaluation and selection methodology that can be executed within your own project. It does not compare specific brands; it focuses on evaluation dimensions, testing methods, API costs, and engineering architecture.

    1. Core Evaluation Dimensions

    Parameter Scale and Training Data

    Parameter count is generally correlated with complex reasoning ability, but the relationship is not linear. A model with more parameters may be more stable on long chains of reasoning, yet slower and more expensive for formatted output or simple classification tasks. Therefore, parameter scale is only useful for narrowing down candidates—it should not be the deciding factor.

    Regarding training data, two points deserve attention. First, does the corpus cover content similar to your domain, such as academic papers, open-source code, and technical documentation? Second, what is the model’s publicly stated data cutoff date? If the cutoff predates your domain’s latest knowledge, you will need to rely on retrieval to supplement up-to-date information.

    Version Stability

    A newer version from the same vendor scoring higher on general leaderboards does not guarantee improvement on your tasks. Some versions regress on specific tasks—a common occurrence in engineering practice. When evaluating, run the same test suite across candidate versions and compare results on the same batch of samples. In production, pin a validated version first, and only switch to a new version after it passes the same tests.

    Hallucination Control

    Hallucination refers to a model generating plausible-sounding but factually incorrect content—for example, fabricating paper titles, inventing experimental data, or citing functions that do not exist. Evaluation should test two capabilities:

    1. Refusal capability: When a question falls outside the model’s knowledge or the provided material is insufficient, can the model clearly state that it cannot answer?
    2. Instruction adherence: Under the instruction “answer only based on the given material,” does the model still add content beyond the material?

    Both tests require manual verification—relying solely on model self-assessment is not enough.

    2. Test Sets and Pass Criteria

    The credibility of evaluation results depends on how the test set is constructed. The following steps are recommended:

    • Divide samples by task type, such as formula derivation, code generation, literature summarization, format conversion, and refusal tests.
    • Prepare at least 200 samples per task type, with ground-truth answers annotated by two or more domain experts.
    • Call the model at least 3 times per input and record output consistency, since sampling parameters can change results.
    • Define pass thresholds for each task type before testing, to avoid adjusting the criteria after seeing the results.

    The scoring table below can serve as a template. Weights should be adjusted based on your business—for example, academic citation scenarios may assign a higher weight to hallucination control.

    Dimension Suggested Weight Test Method Example Pass Criteria
    Task accuracy 30% Compare outputs against ground-truth answers by task type Each task type meets the business-defined threshold
    Hallucination rate 25% Use trap questions and out-of-scope questions; manually count the proportion of fabricated content Fabrication rate below the agreed value; refusal rate meets the target
    Stability 15% Run the same version continuously for one week; track success rate and output consistency Success rate meets the agreed value; P95 latency acceptable
    Cost per request 15% Calculate per-task cost using the token-based pricing formula Within the monthly budget
    Data compliance 15% Verify data storage region, retention period, and contract terms Meets organizational compliance requirements

    3. API Calls and Cost Control

    Cost Calculation

    Cost estimation should not rely on unit price alone. The cost of a single call consists of input tokens and output tokens, with output tokens usually priced higher. The formula is:

    1. Cost per call = Input tokens × Input price + Output tokens × Output price
    1. Monthly budget = Cost per call × Average daily calls × 30 × Retry amplification factor

    The retry amplification factor equals the actual number of requests divided by the number of valid requests. If the timeout retry rate is 10%, the amplification factor is approximately 1.1.