LLM Selection and Inference Services: A Practical Guide to Evaluating Chinese Models

    This article explains how to move from single-model comparisons to service-combination evaluation when selecting Chinese LLMs. It covers requirement decomposition, reproducible evaluation sets, inference platform capabilities, total cost of ownership, compliance, staged rollout, and engineering abstractions for multi-model configuration. It also outlines common pitfalls and a continuous governance approach for keeping model choices observable, cost-effective, and production-ready.

    1. Selection Has Shifted from Single-Model Comparison to Service-Combination Evaluation

    Recently, a model inference platform added multiple Chinese models to its service catalog, sending a clear signal: model supply is moving from isolated trials toward platformization and service orientation. For developers, “which model should we choose” is no longer a one-time parameter comparison. It is a combined decision involving model capability, inference service, and engineering constraints.

    In the past, teams often evaluated models by looking only at public leaderboards, context length, or per-call pricing. In real business systems, however, a model is only one link in the chain: how requests are routed, how failures are retried, how versions are pinned, how data is audited, and how costs are allocated all affect the final experience. A model that performs well in a demo is still difficult to put into production without a stable inference service, observable call chains, and a rollback mechanism.

    A more reasonable selection approach is therefore to first break business requirements into verifiable constraints, then compare candidate models with a unified evaluation set, and finally make a decision based on inference service capabilities and total cost of ownership. Selection is not about finding the single strongest model; it is about finding the service combination that best matches the current constraints.

    2. Start with Requirement Decomposition: Turn “Which Model” into a Constraint Problem

    Before building a candidate list, write the requirements as checkable items. They can be decomposed along the following dimensions:

    1. Task type: Is it general Q&A, summarization, classification, extraction, coding assistance, or multi-turn dialogue? Different tasks place very different demands on model capability.
    2. Quality metrics: Accuracy, recall, format compliance rate, factual consistency, readability, and refusal appropriateness should be defined in advance.
    3. Input and output scale: Average and long-tail context length, output length, concurrency, and peak request volume.
    4. Latency and throughput: Time to first byte, end-to-end latency, requests per second, and batch processing capability.
    5. Data and compliance: Whether data contains sensitive information, and whether auditing, isolation, access control, and content safety policies are required.
    6. Deployment model: Managed inference service, private deployment, or hybrid mode; whether network isolation and dedicated resources are required.
    7. Budget boundaries: Call cost, resource cost, operations cost, evaluation cost, and failure and retry costs.
    8. Team capability: Whether the team has the ability to perform model evaluation, prompt governance, monitoring and alerting, and failure rollback.

    After this decomposition, the team will have a constraint checklist. This checklist is more important than a candidate model list, because it determines the sample design for evaluation, the criteria for selecting an inference service, and the acceptance conditions for launch.

    3. Capability Evaluation: Build a Reproducible Evaluation Set and Avoid Leaderboard-Only Thinking

    Public leaderboards are useful references, but they cannot directly replace business evaluation. Leaderboards usually cover general tasks, while enterprise scenarios often include domain terminology, fixed formats, long-tail intents, and specific refusal policies. A more reliable approach is to build an internal evaluation baseline.

    3.1 Layered Evaluation Set

    It is recommended to divide the evaluation set into three layers:

    • Basic capability layer: General Q&A, instruction following, summarization, classification, extraction, and tool calling.
    • Business scenario layer: Desensitized samples drawn from real logs, covering high-frequency and long-tail intents.
    • Safety and boundary layer: Sensitive input, unauthorized requests, prompt injection, malformed formats, empty input, and overlong input.

    Each layer should keep a fixed sample set and version number so that evaluation results from different batches remain comparable.

    3.2 Combine Automated Metrics with Human Review

    Automated metrics are suitable for measuring format compliance rate, field extraction accuracy, classification accuracy, citation consistency, and similar factors. Human review is suitable for judging readability, usefulness, refusal appropriateness, and factual consistency. A unified scoring sheet should be designed for human review, for example a 1–5 scale, with reviewer notes retained.

    3.3 Watch Stability and Version Drift

    The same model may behave differently across versions, parameters, and prompts. During evaluation, variables such as temperature, maximum output length, and system prompt should be fixed, and version information should be recorded. After launch, regular regression evaluation is also needed to prevent quality drift caused by model upgrades or service policy changes.

    4. Evaluating Inference Services and Platform Capabilities

    When candidate models have similar capabilities, inference service capability often becomes the deciding factor. It can be evaluated from the following aspects:

    1. Service catalog and model supply: Whether it provides a clear model list, version descriptions, capability boundaries, and update records.
    2. Interface consistency: Whether different models can be integrated through a relatively unified request structure, reducing business-side adaptation cost.
    3. Elasticity and isolation: Whether it supports quota allocation by business, rate limiting, isolation, and priority control.
    4. Observability: Whether it provides metrics such as call volume, latency, error rate, retry count, and timeout distribution.
    5. Canary release and rollback: Whether it supports switching models by traffic percentage and quickly rolling back to a stable version.
    6. Caching and batch processing: Whether high-frequency repeated requests can be cached and offline tasks can be processed in batches.
    7. Version management: Whether model identifiers are stable, upgrades are auditable, and configurations are traceable.
    8. Private deployment and network boundaries: Whether it meets requirements for data not leaving the domain, private network access, and permission isolation.

    It is important to emphasize that platform capability should not be judged only by a feature list, but by whether it is compatible with the team’s existing engineering system. A service with a simple interface, clear metrics, and easy rollback is often more suitable for production than a feature-rich service that is difficult to govern.

    5. Cost Evaluation: Move from Per-Call Price to Total Cost of Ownership

    Cost should not be measured only by per-call price. A total cost of ownership perspective should be established:

    • Call cost: Additional consumption caused by request volume, input and output scale, retries, and failed requests.
    • Resource cost: Managed service fees or self-built inference resource costs.
    • Engineering cost: Interface adaptation, prompt governance, evaluation set maintenance, monitoring and alerting, and failure handling.
    • Quality cost: Manual review, rework, and user experience loss caused by incorrect output.
    • Switching cost: Configuration management, canary release, and rollback drill costs when multiple models coexist.

    When the budget is limited, a tiered routing strategy can be used: high-frequency, simple tasks use more cost-effective models; complex or high-risk tasks use stronger models; offline batch tasks go through a batch channel. This controls cost while retaining a quality ceiling.

    6. Compliance and Risk Control

    Compliance should be treated as a hard constraint during selection, not as a patch after launch. At minimum, it should cover:

    • Data classification, grading, and masking;
    • Call log auditing and retention policies;
    • Access control and tenant isolation;
    • Content safety and refusal policies;
    • Records of model version and configuration changes;
    • Migration plans for vendor exit or service changes.

    For scenarios involving sensitive data, private deployment or private network deployment capabilities should be prioritized, and the data flow boundaries in the inference chain should be clearly defined.

    7. Rollout Path: POC, Canary, Full Launch, and Rollback

    A staged rollout is recommended:

    1. POC stage: Compare 2–4 candidate solutions with a fixed evaluation set, recording quality, latency, error rate, and cost.
    2. Canary stage: Integrate by user or traffic percentage, observe metrics under real distributions, and set up automated alerts and manual inspection.
    3. Full launch stage: Pin model versions and key parameters, and establish daily or weekly regression evaluation.
    4. Rollback mechanism: Keep a stable version and a fast-switching toggle, and define trigger conditions such as error rate exceeding a threshold, latency anomalies, or a decline in quality scores.

    Launch acceptance should not only check whether the service can be called successfully. It should also check whether problems can be detected, diagnosed, and rolled back.

    8. Engineering Abstraction: Manage Multiple Models with Unified Configuration

    To reduce the adaptation cost of multiple coexisting models, a unified invocation layer should be abstracted on the business side. An example configuration is shown below:

    1. {
    2. "profiles": {
    3. "general": {
    4. "endpoint": "<general inference service endpoint>",
    5. "model": "<model identifier>",
    6. "timeout_ms": 30000,
    7. "max_retries": 2
    8. },
    9. "long_context": {
    10. "endpoint": "<general inference service endpoint>",
    11. "model": "<model identifier>",
    12. "timeout_ms": 60000,
    13. "max_retries": 1
    14. }
    15. }
    16. }

    The invocation layer pseudocode can be designed as follows:

    1. function invoke(profile, messages):
    2. payload = {
    3. model: profile.model,
    4. messages: messages,
    5. temperature: 0.2,
    6. max_tokens: 1024
    7. }
    8. response = http_post(profile.endpoint, payload, timeout=profile.timeout_ms)
    9. if response.status in [429, 502, 503] and retries_left:
    10. backoff()
    11. retry()
    12. log(profile.model, latency, status, retry_count)
    13. return response

    The value of this approach is that business code is not directly bound to a specific model identifier. Instead, it selects a service profile through configuration. Canary release, rollback, rate limiting, and monitoring can all be handled at the unified layer. The model registry should record model identifiers, versions, applicable tasks, evaluation results, launch time, and owners to support subsequent governance.

    9. Common Pitfalls and Decision Recommendations

    Common pitfalls include:

    • Leaderboard-only thinking: Ignoring business samples and long-tail intents.
    • Per-unit-price-only thinking: Overlooking retries, manual review, and switching costs.
    • Ignoring long-tail input: Testing only average samples, not overlong input, empty input, or malformed formats.
    • Ignoring version drift: Not performing regression evaluation after launch.
    • Lacking observability metrics: Looking only at successful calls, not latency distribution and error types.
    • No rollback plan: Being unable to recover quickly when a model or service fails.

    A more reliable decision method is to build a selection matrix that scores quality, latency, stability, cost, compliance, and engineering fit, with hard thresholds. For example, a solution that fails compliance is eliminated directly; when quality gaps are within an acceptable range, prefer the solution with better observability and simpler rollback.

    10. Conclusion: Selection Is Continuous Governance, Not a One-Time Answer

    The supply of Chinese LLMs is rapidly expanding, and inference services are becoming platformized. For developers, the real advantage is not memorizing a model name, but establishing a reproducible selection method: requirements can be decomposed, evaluations can be compared, services can be observed, versions can be rolled back, and costs can be allocated.

    As model catalogs continue to update, teams should treat selection as continuous governance: maintain evaluation baselines, keep a model registry, regularly regress quality and cost, and retain canary release and rollback capabilities. This is how to balance quality, latency, stability, and total cost of ownership, and bring Chinese LLMs into sustainable production practice.