Evaluating and Selecting Open-Source LLMs: Benchmarking Three Core Capabilities in Practice
This article presents a practical framework for evaluating and selecting open-source large language models across three core capabilities: agentic coding, reasoning performance, and world knowledge. It explains why a single "which model is stronger" question is misleading when a model release ships both a fast mode and an expert mode, and how to choose between them based on task latency sensitivity and depth requirements. You will find a low-cost discriminating test case, a split scoring approach that separates functional usability from visual quality in agentic coding tasks, engineering techniques such as multi-sampling and self-verification for improving reasoning accuracy, and guidance on using retrieval augmentation for stable world knowledge. The article closes with a scoring configuration example and advice on embedding evaluation into a release pipeline.
1. Background: Why a Model Iteration Warrants Systematic Evaluation
A single version iteration of an open-source large language model often delivers both capability gains and form differentiation: the same generation may offer an “expert mode” for complex reasoning and a “fast mode” for low-latency scenarios. This differentiation turns “which model is stronger” into a false question. The real question is “which mode to use, for which task, under which constraints.”
From an engineering perspective, evaluation should cover at least three capability categories: agentic coding, reasoning performance, and world knowledge. Each maps to a completely different product form: the first determines whether the model can generate a runnable system end to end, the second determines accuracy on math and competition-style problems, and the third determines the stability of factual question answering and domain common sense.
2. Positioning the Two Modes: A Minimal Discriminating Case
Fast mode prioritizes time-to-first-token and throughput, making it suitable for classification, extraction, rewriting, and simple question answering. Expert mode prioritizes multi-step reasoning and long-context consistency, making it suitable for complex code generation, solution design, and difficult troubleshooting.
A low-cost yet highly discriminating case is “generate a dynamic vector animation.” Ask the model to output an animation of two cats fighting. Fast mode typically produces a result with correct structure and recognizable motion; expert mode performs better in motion layering, detail richness, and overall visual interest. The value of this case lies not in the visuals themselves but in what it reveals as the first principle of evaluation: first determine how sensitive the task is to latency versus depth, then decide on the mode.
Task tiering recommendations- Latency-sensitive, verifiable results: fast mode + rules/unit tests as a safety net- Deep reasoning, hard-to-verify results: expert mode + multiple samples and self-checking
3. Agentic Coding Evaluation: Score Functionality and Visuals Separately
Agentic coding is currently the dimension that separates models most clearly. A typical prompt is “build a single-file web application that mimics a desktop operating system,” requiring a text editor, a terminal, a code editor, a playable mini-game, a file manager, a drawing tool, and a video editor, with all code pasteable into a single HTML file that opens directly in a browser.
This type of task must be split into two metric groups; otherwise the conclusions get skewed by visual impressions:
- Functional usability: single-file runnability, module completeness, closed-loop interaction, and zero console errors.
- Visuals and layout: typographic hierarchy, responsive breakpoints, desktop-to-mobile form switching, and animation and detail polish.
A common result in practice is that two models differ very little on non-visual functionality, with the gap concentrated mainly in layout aesthetics and form switching. The reason is straightforward: visual quality depends on the model’s grasp of interface priors, a composite of “world knowledge + aesthetics” rather than a direct mapping of logical reasoning ability. Evaluation conclusions should therefore be phrased as “leading in a specific dimension” rather than a blanket “overall stronger.”
A suggested scoring table can be applied directly as configuration:
agent_coding:runnable_single_file: 0.30module_completeness: 0.25console_error_free: 0.15responsive_layout: 0.15visual_polish: 0.15
4. Reasoning Performance: High Accuracy Comes from Sampling and Verification, Not Single-Shot Confidence
On math, science, and competition-style code benchmarks, expert mode typically surpasses publicly available open-source baselines. What matters more in engineering is how to convert “model capability” into “business accuracy”:
- Use multiple samples with majority voting to suppress single-run variance;
- Have the model produce an executable check first (unit tests, boundary-condition enumeration) before giving a conclusion;
- Persist intermediate results for long reasoning chains to make it easier to trace and locate the faulty step.
It is worth stressing that any specific score depends on the evaluation set, prompts, and decoding parameters; citing data out of context is meaningless. Teams should build their own evaluation sets and fix versions and parameters to ensure reproducibility.
5. World Knowledge: Stable but Prone to Confident Errors
On the world knowledge dimension, different models often trade wins. It affects factual question answering, domain common sense, and interface-related priors. The practical recommendation is to introduce retrieval augmentation, delegating volatile facts to external knowledge sources while the model only organizes the expression; for high-risk answers, attach citations and confidence cues.
6. Selection and Deployment: Embed Evaluation into the Pipeline
Overall, prioritize expert mode for professional and social expression and complex reasoning; use fast mode for batch, structured, low-latency tasks; and for interface-generation tasks, add extra checks on visuals and responsive behavior.
On Baidu AI Cloud, model services can be combined with general capabilities such as object storage, message queues, container platforms, log services, and monitoring and alerting to form a closed loop of “prompt version management → batch evaluation → canary release → metric observation,” so that selection conclusions keep updating with data rather than living in a one-time document.
