How to Choose a Large Language Model: China's Model Landscape, Benchmarks, and Selection Framework
This article explains why the number of large language models in China varies by counting method, why public benchmark rankings should only be used for initial screening, and how long-context capability should be evaluated. It provides a private evaluation set approach, a six-dimension selection matrix, and a pluggable model gateway pattern, along with practical recommendations for individual, small-business, and industry-specific use cases.
1. Why the Model Count Keeps Changing
The answer to “how many large language models are there in China” depends on how you count. Early discussions often cited “nearly a hundred.” Counting by regulatory filing status has pushed the number past one hundred, and including fine-tuned vertical models brings the total above two hundred. These figures do not contradict each other; they reflect three overlapping counting methods:
- Foundation model count: only general-purpose pretrained base models.
- Filing/launch count: generative models offered to the public as a service.
- Vertical model count: all fine-tuned models for scenarios such as healthcare, agriculture, construction, industrial use, transportation, and electronic information.
Once the counting method is clear, the more useful question is no longer “which model is most promising” but how to select the right combination of capabilities for a specific task. The growth in model numbers comes from lower training and fine-tuning barriers: open weights, mature distributed training frameworks, parameter-efficient fine-tuning methods (such as training only low-rank adaptation matrices), and inference-side quantization and compression allow a small or mid-sized team to produce a usable model with limited compute. The result is heavy homogenization, with real differences showing up in data quality, context handling, tool calling, and engineering support.
2. Why Benchmark Rankings Are Only a Reference
Evaluation organizations publish composite scores, but rankings have three inherent problems:
- Data contamination: public test sets easily leak into training corpora, inflating scores.
- Metric-scenario mismatch: a high composite score does not mean good performance on your business data.
- Missing engineering variables: rankings usually say nothing about latency, concurrency, rate limits, or cost per call.
Treat evaluations as initial screening and make the final decision with a private validation set of your own. A minimal approach to building one:
# Build a private evaluation set: sample real business logs + human-labeled expected answerssamples = load_business_logs(limit=300)dataset = []for s in samples:dataset.append({"input": s["prompt"],"expected": s["human_annotated_answer"],"tags": s["scene_tags"], # e.g. summarization / extraction / multi-turn QA})def evaluate(model_client, dataset):scores = {tag: [] for tag in SCENE_TAGS}for item in dataset:out = model_client.generate(item["input"])for tag in item["tags"]:scores[tag].append(score_one(out, item["expected"]))return {k: sum(v) / len(v) for k, v in scores.items() if v}
The key is per-scenario scoring rather than a single overall score, while also recording average response latency and failure rate.
3. What Long-Context Capability Means and Where It Stops
Long text has been the most-watched capability of the past two years, moving from the hundred-thousand-token range toward the million-token range as an industry norm. A few common misunderstandings need clearing up:
- Chinese characters and tokens are not 1:1; the conversion depends on the tokenizer, and the rough estimate of about 2 tokens per Chinese character is only an order-of-magnitude reference.
- Nominal window ≠ effective window. As context grows, recall of information in the middle decays (the “lost in the middle” effect), so effective utilization must be verified with position-based retrieval tests.
- Long context does not mean low cost. Attention computation and memory usage rise sharply with length, so engineering practice often combines chunking, retrieval augmentation, and summary compression.
The real value of long context is document-level understanding: cross-section coreference resolution and structured extraction over contracts, papers, financial reports, code repositories, and meeting notes. Illustrative call logic:
def summarize_long_doc(client, text, chunk=200_000):# Compress overlong text in segments first, then produce a global summary of the compressed resultsparts = [text[i:i + chunk] for i in range(0, len(text), chunk)]partials = [client.generate(f"Summarize the key points of this excerpt:\n{p}") for p in parts]merged = "\n".join(partials)return client.generate(f"Produce a structured summary based on these points:\n{merged}")
If cost is a concern, let the large model handle only extraction and rewriting, and leave exact retrieval to a vector store and keyword index, forming a “retrieval + generation” combination.
4. A Practical Selection Matrix
Build a scorecard across six dimensions, with weights adjusted to the business:
| Dimension | Focus | Validation method |
|---|---|---|
| Context and document parsing | Long-text recall, table and layout fidelity | Position-based questioning, complex table extraction |
| Instruction following and structured output | Valid JSON output stability, field completeness rate | Batch schema validation runs |
| Tool calling and agent capability | Multi-step planning, argument correctness | Build multi-turn task chains |
| Inference cost and throughput | Cost per call, concurrency ceiling | Load-test P95 latency |
| Deployment form | Public cloud API, dedicated instance, on-premises | Data compliance review |
| Ecosystem and operability | Logging, monitoring and alerting, version rollback | Canary release drills |
Structured output validation example:
import jsondef extract_json(client, text, schema):out = client.generate("Output JSON only, with fields as follows:" + json.dumps(schema, ensure_ascii=False) + "\n" + text)try:return json.loads(out)except json.JSONDecodeError:return None # log the failed sample for later prompt or model adjustments
5. Cost and Architecture: Treat the Model as a Replaceable Component
The rational approach is to abstract the model as a pluggable backend and use a unified gateway for routing, rate limiting, caching, and fallback, so business code is not tied to a single capability:
class ModelGateway:def __init__(self, backends):self.backends = backends # ordered by scenario and costdef chat(self, prompt, scene="default"):for b in self.backends[scene]:try:return b.generate(prompt)except (TimeoutError, RateLimitError):continueraise RuntimeError("all backends unavailable")
General cloud capabilities can be combined as needed: object storage for raw documents, a message queue to decouple asynchronous tasks, a container platform for elastic scaling of inference services, logging and monitoring for observability, and a key management service for credentials. Baidu AI Cloud offers general-purpose capabilities for this kind of architecture; refer to the official documentation for specific parameters and pricing, as this article makes no unverified numerical claims.
6. Scenario-Based Recommendations
- Individual and workplace productivity: prioritize long-document summarization, comparison of laws and clauses, and structured meeting notes to cut repeated reading time.
- Small and mid-sized business applications: start with retrieval-augmented question answering, solve your own knowledge base first, then gradually introduce multi-step tasks.
- Industry vertical scenarios: in fields such as healthcare and industrial use, treat on-premises deployment and keeping data within its boundary as hard constraints; the model is only a candidate, with rules and expert review as the fallback.
- Team engineering practices: establish three pipelines—a private evaluation set, canary releases, and failed-sample feedback—so model iteration has a basis for decisions.
7. Conclusion
“Which model is most promising” is the wrong question. The right question is “which combination of capabilities best fits my task, budget, and compliance boundary.” Model counts will keep growing and rankings will keep fluctuating; the only stable assets are a self-built validation set and a replaceable architecture that give you decision-making power. Hold on to these two, and the business can migrate smoothly and keep gaining efficiency no matter how the underlying models change.
