Evaluating and Selecting Large Language Models in Practice

    Public leaderboard scores are a poor basis for buying generative AI. This article explains how to separate foundation models, products, and agents, why self-reported benchmarks are not comparable, and how to score task families with a reproducible internal eval, cost view, and tiered routing.

    When enterprises adopt generative AI, a common mistake is to treat a single public benchmark score as a purchasing criterion. Public benchmarks are often run by the provider itself. Question mix, prompting strategy, whether tool use is enabled, whether context is truncated, and whether multi-turn correction is allowed can all change the result substantially. Even under the same model weights, a web chat, a programming API, an agent workflow, or a different billing tier may expose different tools, rate limits, context windows, and safety policies. Horizontal comparison therefore starts by fixing the evaluation target and the evaluation scenario, not by mixing different forms of capability onto one leaderboard.

    Separate three layers: model, product, and agent

    Many discussions stack three ideas together, so the conclusion never becomes actionable.

    The first layer is the foundation model: understanding, reasoning, and generation. It sets the quality ceiling for language and code, whether long context stays stable, whether multimodal inputs stay aligned, and whether function-call formats are reliable. Evaluate this layer by stripping peripheral plugins and comparing fixed prompts, a fixed temperature, and a fixed tool switch.

    The second layer is the application product: the model combined with web retrieval, file parsing, memory, voice, and an authorization system. What users experience as “usable” often comes from retrieval quality, attachment handling, session memory, and interface design, not from a reasoning score alone. A strong reasoning model can still feel weak on complex knowledge work if the product lacks a stable file pipeline or retrieval strategy.

    The third layer is the agent and task execution: turning reasoning into actions through tools, a terminal, a browser, or a file system. The metrics that matter here are whether a plan can be decomposed, whether a failed tool call can be retried, whether screen or UI state is understood precisely, and whether a long-running task can be resumed. Strong general reasoning does not automatically mean a good experience for computer use or a development pipeline.

    Before you select, ask whether you are buying weight-level capability, product experience, or an end-to-end task loop. Mixing the three makes the conclusion drift.

    Why self-reported benchmarks are not equivalent

    Benchmarks fail to compare for a few recurring reasons.

    Sample and contamination. Outsiders can rarely verify whether training data covered the eval set or whether the model was tuned specifically for public items. A more reliable approach is a private business set: real tickets, internal standards, and redacted code and documents.

    Tools and environment. Allowing search, code execution, or browser actions turns a “language model” into a system with external capabilities. The tool set must be declared, or the score measures the whole pipeline.

    Decoding and budget. Chain-of-thought length, parallel samples, and maximum output tokens trade cost for accuracy. A comparison that does not align inference budget may award a high score simply because more compute was spent.

    Product form. A web client may enable retrieval and memory by default; an API may leave them off; an agent plan may widen tool permissions while tightening concurrency. Capability curves under the same name do not overlap.

    Internally, keep a three-part table of scenario, metric, and budget. For each scenario, record input form, whether the network is used, maximum steps, timeout, and a unit-price cap, then log success rate, human rework rate, and cost per task.

    Score task families, not a single total

    Against real loads in engineering and knowledge work, capability splits into families that can be scored independently.

    Complex reasoning and integrated development. Look at multi-file edits, adherence to interface contracts, test completion, and whether a change introduces regressions. The eval should include a “read the repository, then change it” flow, not only single-file completion. For vision and UI tasks, also check screenshot understanding, control localization, and step-by-step confirmation, so one hallucinated click does not cause an irreversible change.

    Complex knowledge work and long-running code. The focus is following specifications, citation consistency, alignment across documents, and task memory over hours or days. Check whether work can resume from a checkpoint after context is truncated, whether outdated interfaces are invented, and whether review comments are absorbed consistently. Long-running tasks fit a milestone pass rate better than one-shot correctness.

    Multimodal input and ecosystem integration. When images, tables, slides, log curves, and design files arrive together, spatial relations and business meaning must stay aligned. If the organization already relies on a particular office or cloud data stack, also check whether object storage, messages, and logs can be read inside permission boundaries, instead of exporting files and pasting them by hand.

    Efficient APIs and cost control. For high-frequency, low-difficulty tasks, latency and unit price often matter more than peak intelligence. Separate a flagship reasoning tier from a high-throughput tier. Use general methods such as caching, batching, and speculative decoding to cut cost, and use quality gates so the cheaper tier does not slip onto critical paths.

    Chinese, multimodal input, and long context. Chinese terminology, regulatory phrasing, mixed-language code comments, very long contracts, and repository-scale context are hard requirements for many China-facing workloads. Add checks for proper-noun consistency, whether citation page numbers can be traced, and whether information at the tail of a very long input is dropped.

    Self-hosted and open-weight deployment. Look at license, memory footprint, quality loss after quantization, private-deployment safety policy, and an ongoing fine-tuning pipeline. Open does not mean free or free of operating cost. Inference clusters, eval regression, and red-team testing all belong in total cost of ownership.

    Data residency and efficient agents. In settings that require data residency, compliance audit, a private cloud, or a private network, also assess whether content-safety policy is configurable, whether operation audit is complete, and whether the system can connect to the existing identity stack. Agent efficiency depends on tool-description quality and least privilege, not on parameter count alone.

    Build a reproducible internal eval harness

    A minimal harness usually includes the following.

    A fixed dataset. Prepare tens to hundreds of items per task family, with gold answers or acceptance scripts. For code, use unit tests and static checks. For knowledge work, use a checklist of key points and citation review. For operations, use a sandbox and state assertions.

    A fixed runtime. Use the same system prompt, the same tool list, and the same timeout. Record the full trace so a failure can be attributed to bad reasoning or a bad tool protocol.

    Human sampling and adversarial cases. For high-risk domains, add samples that induce privilege escalation, prompt injection, or stale knowledge, so the process does not only optimize demo questions that look clever.

    A cost and stability board. Read success rate, P95 latency, retry count, human intervention rate, and cost per task together. Accuracy alone encourages unbounded reasoning steps.

    Version pinning. Version prompts, tool schemas, and safety-policy changes. Otherwise a model upgrade cannot be separated from a change in product packaging.

    When you run this in the cloud, the eval pipeline can run on a container platform, samples and traces can go to object storage, metrics can feed monitoring and alerts, and asynchronous work can go through a message queue, so the eval itself is not an unreproducible manual process. Cloud environments such as Baidu AI Cloud offer object storage, containers, and log monitoring that can support these generic categories without tying the harness to one model brand.

    Selection after decoupling product experience from model capability

    In practice, buy and route in layers.

    Use a strong reasoning tier on the critical path: architecture design, security review, and complex refactors. Pay a higher unit price for less rework.

    Use a high-throughput tier on the routine path: comment generation, format conversion, simple Q&A, and log summaries. Spread cost with caching and batching.

    Accept operational paths separately. Anything that touches a terminal, a browser, or production configuration changes needs a sandbox, a second confirmation, and least privilege. A smooth chat demo is not a release criterion.

    Routing rules should be observable. Split by task label, input length, and risk level, and allow a person to upgrade the model tier in one step. That avoids both “everything on the top tier” and “saving inference cost on a production incident.”

    Non-model capabilities the organization still has to fill in

    Even with a sound eval framework, rollout often stalls on engineering and governance: version control for prompts and tool descriptions, redaction of sensitive data, audit trails for outputs, and interface adaptation when suppliers change. Route model calls through an internal gateway that unifies authentication, rate limits, logs, and eval hooks. When the backend changes, application code then faces three stable semantics—completion, tool calling, and embeddings—instead of proprietary protocols scattered through the codebase.

    For developers, the skills that transfer are writing requirements as tasks that can be accepted, making environments sandboxes that can be rolled back, and encoding quality as automated gates. Models will keep changing. That engineering asset will not expire.

    Closing

    “Which model is strongest” and “which product is easiest to use” are not the same question. The first is roughly how a foundation model reasons and generates under controlled conditions. The second adds retrieval, files, memory, and interaction. Once an agent is involved, tools and environment control are added as well. Around 2026, mainstream competition runs at once along reasoning depth, multimodal alignment, stability on long-running tasks, API price-performance, and the ability to deploy privately. An enterprise does not need one permanent total-score board. It needs reproducible scenario evals, a cost board, and tiered routing. Treat benchmarks as reference and business acceptance as the decision, and you can choose a plan that can actually go live beyond vendor-reported scores.