How to Evaluate Domestic LLMs: Four Core Dimensions from an Engineering Perspective

    Choosing the right domestic large language model requires more than benchmark rankings or subjective impressions. This article breaks down a rigorous evaluation framework from an engineering perspective, covering reasoning and knowledge capability, long-context processing, engineering usability and total cost, as well as verifiability and compliance. It also outlines a practical selection workflow based on reproducible testing, blind comparison, and a pilot rollout strategy.

    Why Leaderboards Aren’t Enough for Model Selection

    Discussions like “Who are the top 4 domestic LLMs?” are common in technical communities, but they often stay at the level of personal experience. From an engineering standpoint, evaluating a large language model is a systematic endeavor. No single leaderboard or individual impression from one scenario is sufficient to make a serious selection decision.

    There are three main reasons:

    1. Uneven capability distribution. Models vary significantly across sub-skills such as mathematical reasoning, code generation, long-text understanding, and multimodal processing. A model that excels at task A may not lead at task B.
    2. Benchmark contamination. Public benchmark datasets may already be covered by training data. A high score does not necessarily indicate true generalization ability.
    3. Strong scenario dependence. Academic research, daily office work, and production-grade application development have very different requirements. Discussing “who is strongest” without a defined scenario is meaningless.

    Therefore, the correct approach is to define evaluation dimensions first, then build your own evaluation pipeline.

    Dimension 1: Reasoning and Knowledge Capability

    This is the most fundamental layer. Key aspects to examine:

    • Logical reasoning: Multi-step mathematical proofs, causal inference, and complex condition judgment. Use self-constructed, unpublished reasoning question sets to avoid data contamination.
    • Code capability: Generating runnable code from requirements, debugging, and refactoring. Run blind tests on small real-world tasks within actual projects.
    • Knowledge freshness: The training data cutoff determines how much a model knows about recent technologies. In fast-moving fields such as new framework versions or new protocols, test whether the model fabricates plausible-sounding but incorrect information—commonly known as hallucination.

    A practical method is to build a tiered test set:

    1. Example Test Set Structure
    2. ├── Basic Fact Questions (30%) — assess knowledge accuracy
    3. ├── Single-Step Reasoning (30%) — assess direct reasoning
    4. ├── Multi-Step Reasoning (25%) — assess chain-of-thought and self-correction
    5. └── Open-Ended Design Questions (15%) — assess reasonableness of proposed solutions

    Manually scoring each model’s output in a blind setup is far more reliable than consulting any leaderboard.

    Dimension 2: Context Length and Long-Text Processing

    Most current models claim to support long contexts, but “advertised length” and “effective length” are two different things. A typical problem is “lost in the middle”: models remember the beginning and end of a document but miss key details in the middle.

    A recommended test method:

    1. Prepare a long document and embed key pieces of information at different positions: the beginning, quarter mark, middle, three-quarter mark, and end.
    2. Ask the model questions based on the full document that target those information points.
    3. Calculate the recall rate for information at each position.

    Additionally, pay attention to how response latency and cost scale with increasing input length. Some models show significantly higher latency under long inputs, which can be unacceptable for interactive applications.

    Dimension 3: Engineering Usability and Total Cost of Ownership

    For developers, model capability is only half of the equation. Engineering usability matters just as much:

    • API standardization: Are standard APIs provided? Are streaming output, function calling, and structured output reliable?
    • Stability and rate limits: Error rate, timeout rate, and concurrency limits in production environments.
    • Cost model: Actual cost when billed per token, estimated against your business call volume. Note that a model with a low per-token price but verbose output may result in higher bills.
    • Deployment options: Differences in accessibility between public cloud APIs, private deployment, and on-device deployment.

    A simple cost estimation example:

    1. def estimate_monthly_cost(daily_calls, avg_in_tokens, avg_out_tokens, price_in, price_out):
    2. """Roughly estimate monthly API call cost"""
    3. monthly_tokens_in = daily_calls * avg_in_tokens * 30
    4. monthly_tokens_out = daily_calls * avg_out_tokens * 30
    5. return monthly_tokens_in / 1e6 * price_in + monthly_tokens_out / 1e6 * price_out
    6. # Example: 10K calls per day, 800 input tokens, 400 output tokens
    7. # cost = estimate_monthly_cost(10000, 800, 400, 2.0, 8.0)

    Cost evaluation must be combined with “success rate per unit task.” A cheaper model that requires multiple retries may end up with a higher total cost.

    Dimension 4: Verifiability and Security Compliance

    Engineering thinking emphasizes reproducibility and verifiability. The following points are also important during model selection:

    • Output consistency: The variance of outputs across multiple calls with the same input, beyond just the temperature parameter—the model’s inherent stability.
    • Observability: Are call logs and traces complete enough for troubleshooting?
    • Content safety and compliance: Does the model comply with industry regulations? Is there a complete content moderation mechanism?
    • Data privacy: How are enterprise data isolated and protected when calling through an API? For sensitive scenarios, private deployment should be prioritized.

    A Practical Selection Workflow

    Combining the dimensions above, here is a recommended operational process:

    1. Define the scenario and hard constraints: latency requirements, cost ceiling, deployment form, compliance requirements.
    2. Build a self-constructed evaluation set: 200–500 test cases covering real business scenarios, with reference answers or scoring rubrics.
    3. Run blind comparisons: Evaluate 3–5 candidate models with brand information removed and order randomized to avoid bias.
    4. Conduct a small-scale pilot: Run the selected model on non-critical paths for two weeks and collect real failure cases.
    5. Keep an alternative ready: Isolate model dependencies through an abstraction layer to retain the ability to switch.
    1. # Isolate model dependencies through a unified abstraction layer for easy switching and gray release
    2. class LLMClient:
    3. def __init__(self, provider: str, **config):
    4. self.provider = provider
    5. self.config = config
    6. def chat(self, messages, temperature=0.7, stream=False):
    7. # Route to provider-specific implementation
    8. raise NotImplementedError

    Conclusion

    “Who are the top 4 domestic LLMs?” Is actually a pseudo-question. The real answer is: which models rank highest under your specific scenario and evaluation framework. The rigorous engineering approach is to define metrics first, build reproducible evaluations, and then make decisions based on engineering usability and total cost. Models are iterating rapidly—today’s leader may not hold its position three months from now. Therefore, more important than “choosing the right model” is “establishing a sustainable evaluation and switching mechanism.”