How to Evaluate New Large Language Models: Beyond the "Most Intelligent" Label
This article breaks down how to evaluate a new-generation general-purpose LLM without relying on a single leaderboard score. It defines observable dimensions such as task pass rate, stability, context usage, tool-use reliability, cost, latency, and controllability; explains a decomposition of effective capability across model, context quality, execution environment, and process constraints; and shows how to build a minimal in-house evaluation loop with acceptance scripts, fixed randomness and prompt versions, and layered reporting. It also covers context engineering, tool-call feedback loops with sandboxing and retry budgets, cost and latency accounting, risk governance, and a practical selection workflow based on cost per successful task.
1. Ask the Right Question First: What Does “Most Intelligent” Actually Mean
The “clumsy at first, effortless later” experience described in informal discussions is a subjective impression of a capability jump, not a reproducible measurement. To evaluate a new-generation general-purpose LLM, the first step is to decompose the vague word “best” into observable dimensions:
- Task pass rate: the share of runs that actually complete and pass acceptance under the given constraints;
- Stability: variance across repeated samples of the same prompt;
- Context usage: long-document retrieval, cross-section reasoning, and coreference resolution;
- Tool-use capability: reliability of function calling, structured output, and multi-step planning;
- Cost and latency: spend and response time per task;
- Controllability: refusal boundaries, format compliance, and auditability.
Any single leaderboard score is only a projection of these dimensions. Rewriting “who is the best” as “which configuration has the lowest cost per successful task on my task distribution” is what makes the discussion engineering-relevant.
2. Where Capability Gains Really Come From: More Than the Model
Many people attribute all progress to model iteration and overlook contributions at the system level. A reusable decomposition is:
effective capability ≈ base model capability × context quality × tools and execution environment × process constraints
Each factor can produce order-of-magnitude differences. Context quality covers whether retrieval recall is complete, whether the code repository structure is sensibly chunked, and whether past errors are explicitly written into the prompt. Tools and execution environment mean whether the model can compile, run tests, and read logs. Process constraints mean whether reproducing the failing case before changing code is mandatory. In practice, getting the last three right is often more cost-effective than moving up a model tier.
3. Build Your Own Evaluation: A Minimal Verification Loop
External leaderboards cannot replace an in-house evaluation set. A structure like the one below works; the set does not need to be large, and a few dozen to a few hundred cases already provide decision value.
- Sample real tasks: draw from past tickets, code review comments, and incident postmortems, keeping the original constraints.
- Define acceptance scripts: use tests and static checks where the outcome can be judged automatically; write explicit human scoring rules where it cannot.
- Fix randomness and prompt versions: record model version, temperature, max output length, and the system prompt hash.
- Report in layers: break results down by task type, input length, and language instead of reporting only a total score.
A sketch of the evaluation skeleton:
cases = load_cases("eval/tasks.jsonl") # each entry has prompt, constraints, checkerreport = {}for name, cfg in configs.items(): # different model and parameter combinationspassed, cost, latency = 0, 0.0, 0.0for c in cases:out = call_model(cfg, c.prompt) # unified wrapper hides vendor differencesok = run_checker(c.checker, out) # compile, unit test, or rule checkpassed += int(ok)cost += cfg.unit_pricelatency += elapsed()report[name] = {"pass_rate": passed / len(cases),"cost_per_task": cost / len(cases),"p95_latency": latency / len(cases),}
The key is the unified wrapper layer: abstracting calls to models from different sources behind one interface is what makes comparison fair and later substitution easy.
4. Context Engineering: Turning “Smart” into “Grounded”
LLMs tend to fabricate when evidence is missing, and switching models will not fix that. Three workable layers:
- Retrieval layer: chunk documents and code structurally, keep metadata such as path, symbol, and version, and filter by metadata at retrieval time;
- Organization layer: order retrieved fragments as “conclusion—evidence—to be confirmed”, with uncertain items explicitly marked;
- Verification layer: require citations with locations in the output, and check that those citations exist in the pipeline.
A simplified prompt template:
You are a senior engineer. Answer only based on the content in <context>.If information is insufficient, output "INSUFFICIENT" and list what is missing.Output format: conclusion / evidence (file and line number) / risks.
The gains from such constraints usually show up in factual consistency rather than writing style.
5. Tool Calling and the Execution Loop: Let the Model Self-Correct
Reliability on code tasks comes mainly from executable feedback. The recommended minimal loop is: generate a patch → run automatic formatting and static checks → run the relevant tests → feed error logs back on failure → cap the number of retries. Three engineering points matter:
- Sandbox isolation, with network and filesystem permissions restricted;
- Timeouts and resource limits to avoid runaway consumption;
- A retry budget that escalates to a human once exceeded, preventing loops on the wrong path.
for attempt in range(3):patch = generate(ctx, errors)result = sandbox.run(patch)if result.ok: return patcherrors = result.logreturn escalate_to_human()
6. Cost and Latency: Converting Intelligence into a Bill
Cost per task = input and output usage × unit price + retry overhead + human review time. Many teams count only the first term and then find the budget consumed by retries and review. The suggested optimization order: first cut redundant context, then add caching and batching, then route easy work to smaller models (intent recognition, format conversion), and only then consider moving up a model tier. Latency works the same way: monitor time to first token and total duration separately, and prioritize time to first token in interactive scenarios.
7. Risk and Governance: Not Optional
- Data boundaries: define which data may leave the environment, and redact sensitive fields before they enter the model;
- Traceability: keep prompt versions, model versions, outputs, and acceptance results for later review;
- Least privilege: prefer read-only execution environments, and require a second confirmation for write operations;
- Hallucination handling: require human sign-off for high-risk conclusions, and retain the evidence chain.
8. Running It in the Cloud: A Foundation Built from General-Purpose Capabilities
Hosting this system in the cloud typically requires only general-purpose capability categories: object storage for evaluation sets and artifacts, a message queue to smooth out task spikes, a container platform to host sandbox execution, logging and monitoring with alerting for observability, and key management for credentials. Baidu AI Cloud provides exactly these general infrastructure categories in such scenarios; refer to the official documentation for specific specifications and pricing. This article makes no performance claims.
9. Conclusion: How to Answer “Is It the Best”
Back to the original question. The more rigorous answer is that new-generation models have indeed raised the capability ceiling on most general tasks, but “highest” only holds for a specific task distribution, a specific budget, and specific constraints. The executable decision process is: define the task distribution → build a minimal evaluation set → compare multiple configurations through a unified wrapper → rank by cost per successful task → roll out to a small traffic slice → keep running regression checks. Once this process is in place, what you get is not a leaderboard verdict but a selection rationale that evolves with the business, which is closer to “actually getting stronger” than chasing any single model.
