How to Compare New-Generation LLMs: A Reproducible Multi-Model Evaluation Guide
This guide presents a reproducible framework for comparing new-generation large language models across four dimensions: Chinese understanding and writing, code generation and debugging, logical and mathematical reasoning, and engineering fit. It covers how to define scoring criteria, build unified prompts, prepare a stable testing environment, record results, and turn each comparison into a reusable evaluation asset. The examples use vendor-neutral categories such as conversational platforms with file upload and web search, model aggregation services, and AI coding tools, so the workflow can be reused for any model release.
1. Why You Need a Reproducible Multi-Model Comparison Method
Large language models now iterate on a quarterly or even monthly cadence. Each generation makes different trade-offs across long context, multimodal understanding, and reasoning depth: some can absorb an entire manual in one pass, some read more naturally in Chinese, and some are steadier on code details and engineering usability. For developers, content creators, and technical decision-makers, the real pain point is not “finding an entry point” but the lack of a reproducible, quantifiable, and horizontally comparable evaluation method.
A common flaw in comparison articles is inconsistent prompts, vague scoring criteria, and a conclusion drawn from a single polished output. Readers finish them still unsure which model suits their needs. This article therefore focuses on methodology: how to design dimensions, construct prompts, record data, and draw conclusions. It does not point to any specific third-party product; all capability descriptions use industry-standard categories, such as “a conversational platform with file upload and web search,” “a model aggregation service,” and “an AI coding tool.”
A pragmatic approach is to treat the evaluation as a small engineering project. First define the target scenarios (Chinese writing, business code, math and logic), then fix the inputs, then sample multiple times, and finally consolidate results in a table. Once the process is fixed, it can be reused directly for any new model generation.
2. Designing Evaluation Dimensions: Define “Good” First
A comparison without criteria is not a comparison. Cover at least four dimensions, and write a decidable observation point for each.
- Chinese understanding and writing: structural completeness, terminology accuracy, readability, factual consistency.
- Code generation and debugging: runnability, exception handling, boundary conditions, maintainability, whether alternatives are offered.
- Logical and mathematical reasoning: clarity of the formulation, whether units and assumptions are stated, whether the result can be verified.
- Engineering fit: whether the context length is sufficient, whether file inputs are supported, whether web search is available, response stability.
Use a 1–5 scale and score each observation point separately, avoiding unreviewable conclusions like “it felt good overall.” Also keep the full raw output for later traceability.
3. Preparing the Test Environment: Compliant, Stable, Switchable
Accessing overseas official APIs often involves network and account barriers, so a more practical choice is a model aggregation platform or a large-model service category offered by a cloud vendor. When selecting one, look at three things: whether it provides multiple models at once so the same prompt can be run horizontally; whether it supports file upload and web search, which directly determine the feasibility of long-document and time-sensitive tasks; and whether it has clear quota and billing documentation, so the evaluation is not throttled midway.
If you use a large-model service category from Baidu AI Cloud, you can typically combine a log service to record the call chain and monitoring alerts to observe latency and failure rate; storing evaluation data in object storage then forms a reusable sample set. These are general cloud practices, independent of any specific vendor.
4. Chinese Understanding and Writing Test
Task: Write a short essay of about 500 words on “AI ethics,” with clear viewpoints and distinct layers.
Unified prompt example:
Write a short essay of about 500 words on the topic: AI ethics.Requirements: 1) a clear central argument; 2) at least two supporting points; 3) actionable recommendations in the conclusion; 4) avoid piling up jargon.
Observation focus: one type of model tends to cite philosophical and academic frameworks, with tidy structure but high terminology density; another tends to open with concrete cases, with a friendlier tone and stronger readability. In a blind test with 10 people, the preference split is usually around 6:4, showing that the difference lies more in “style fit” than in capability level.
Conclusion: for mass communication, prioritize readability; for academic or compliance documents, prioritize rigorous terminology. Writing the style requirement into the prompt is often more effective than switching models.
5. Code Generation and Debugging Test
Task: Write a Python script that scrapes headlines from a public news site, with exception handling and basic anti-scraping countermeasures.
Unified prompt example:
Implement in Python: scrape headlines from a public news list page.Requirements: requests plus a parsing library; add timeout, retry, and random User-Agent;provide an alternative for dynamically rendered pages; include key comments.
Evaluation points include whether timeout and retry are set, whether non-200 status codes are handled, whether parsing failures have a fallback, and whether it notes that dynamic pages need a browser-driver approach. A common difference in practice: one version has detailed comments but shallow exception branches; another is more concise yet includes retry and request-header rotation, and offers an alternative path for rendered pages.
Engineering advice: put the generated result into a minimal runnable skeleton to verify it first, then add unit tests. Example:
import requestsfrom bs4 import BeautifulSoupdef fetch_titles(url, retries=3, timeout=5):headers = {"User-Agent": "Mozilla/5.0"}for i in range(retries):try:resp = requests.get(url, headers=headers, timeout=timeout)resp.raise_for_status()return [a.get_text(strip=True) for a in BeautifulSoup(resp.text, "html.parser").select("h2 a")]except requests.RequestException as e:if i == retries - 1:raise
6. Logical and Mathematical Reasoning Test
Task: A pool inlet fills the pool in 5 hours, and the outlet empties it in 8 hours. How long does it take to fill if both are open?
Standard solution: net fill rate = 1/5 − 1/8 = 3/40 (pool per hour), required time = 40/3 ≈ 13.33 hours, or about 13 hours 20 minutes.
Score on three points: whether the “net rate” concept is stated explicitly, whether units are written, and whether verification is provided. A strong answer proactively notes “assuming both pipes have constant flow and the pool capacity is normalized to 1.” Such assumption statements often demonstrate reasoning robustness better than the answer itself.
7. Turning Comparisons into Reusable Assets
Maintain an evaluation table with fields: task ID, dimension, prompt version, model identifier, elapsed time, score, and key-difference notes. After each model release, simply replace the model identifier and rerun to get a longitudinal trend. Combined with log and monitoring data, you can also observe stability and failure rate rather than a single output.
The final selection logic is not complicated: for long documents and multimodality, look at context and input form; for Chinese communication, look at style; for business code, look at exception handling and maintainability; for math and logic, look at assumption statements and verifiability. Write down the criteria and fix the process, and any new model can produce an evidence-based conclusion within half a day—that is genuine technical judgment of your own.
