LLM Selection Guide: Capability Dimensions and Total Cost of Ownership

    A practical way to choose a large language model by testing it on your own tasks instead of relying on parameter size or public leaderboard scores. The guide separates foundation models, AI products, and agents, then covers reasoning, coding, tool use, multimodal and Chinese-language performance, effective context, deployment options, and total cost of ownership.

    LLM Selection Guide: Capability Dimensions and Total Cost of Ownership

    Competition among large language models has moved past the early stage. Developers used to debate who had more parameters or higher public benchmark scores. What now decides whether a project succeeds is how a model performs on specific business tasks, how easy it is to integrate, and what it costs to run over time. This article explains how to build your own evaluation framework across the many model versions and product forms on the market.

    1. Why parameter size and leaderboard scores are not enough

    Parameter counts and public benchmarks provide only limited information:

    • Leaderboards and real tasks come from different distributions. Public benchmarks are usually standardized academic tasks. Enterprise documents, code, and conversations often include domain terms, messy data, and long-tail requirements. A leaderboard advantage does not necessarily transfer.
    • Vendor-reported scores are not directly comparable. Vendors may use different benchmark versions, prompting strategies, and sampling parameters. Putting self-reported scores in one table and comparing them side by side can lead to misleading conclusions.
    • The same model can behave differently depending on the entry point. Capability limits, tool configuration, and quotas may differ across the web interface, the API, agent tools, and plan tiers. Preview, limited-access, and generally available releases should be treated as distinct.

    Use public information only as an initial filter. Treat measured results on your own business task set as the final evidence.

    2. Separate three layers: foundation model, AI product, and agent

    Many comparisons mix three concepts and distort the conclusion. Before you evaluate, be clear about the object of the evaluation:

    1. Foundation model: the underlying model that understands, reasons, and generates. It is the core source of capability.
    2. AI product: product features built on top of a foundation model, such as web search, file handling, memory, voice, and multimodal interaction. The user experience is determined at the product layer.
    3. Agent: a system that calls a model and carries out multi-step tasks through tools, a terminal, a browser, or a file system. Its capability depends on the model, the tool chain, and the orchestration strategy together.

    “Which model reasons best” and “which product is easiest to use” are different questions. Strong reasoning does not mean the product around that model has the best search, file management, or computer-use experience. Strong agent results may come mainly from tool orchestration rather than from the model itself. Evaluate the three layers separately and attribute results to the right layer.

    3. Core evaluation dimensions

    Reasoning

    Look at stability across multi-step reasoning, logical consistency, instruction following, and resistance to hallucination—not only single-question accuracy. Test complex decision tasks from your own business, such as making a compliance judgment from several rule documents, and measure how often the reasoning chain breaks or the conclusion does not match the evidence.

    Coding and long-running code tasks

    Coding ability is more than “generate a function.” It also includes:

    • Repository-level understanding: locating the right change across many files and dependencies.
    • Iterative repair: continuing to fix code from test-failure information.
    • Tool collaboration: working reliably across a terminal, a build system, and code-search tools.

    For engineering use, persistence and error correction on long-running tasks matter far more than a one-shot code-generation leaderboard score.

    Agents and tool use

    Evaluate parameter accuracy in function calls, stability of multi-step planning, and the ability to recover after failure. A practical test is a task chain that can be completed only by calling several tools in sequence. Watch whether the model corrects itself when an intermediate step fails, instead of giving up or inventing a result.

    Multimodal capability

    If the business involves images, video, scans, or charts, test document layout recovery, table structure recognition, reading values from charts, and cross-modal reasoning. Distinguish “can see the image” from “can reason correctly from the image.”

    Chinese-language capability

    For Chinese-language scenarios, focus on semantic understanding and coverage of Chinese knowledge, handling of idioms and cultural context, naturalness of Chinese writing, and Chinese encoding efficiency. Tokenization efficiency differs across models and directly affects token consumption and response cost.

    Context length and effective context

    Advertised context length is not the same as effective context. Test information location and synthesis on long documents, and check whether the model can still retrieve key information from later parts of the context. Very long context also tends to raise unit price and latency, so include cost in the evaluation.

    Deployment options and cost

    There are usually three deployment paths:

    • Hosted API: fast to integrate and no infrastructure to operate, which suits quick validation. Long-term, high-volume use is more expensive, and you are constrained by service availability and cross-border data compliance requirements.
    • Open-weight self-hosting: you can control data and latency, which suits sensitive data, but you need GPU capacity and inference-optimization effort, and you must account for license terms.
    • Cloud-provider managed inference: managed services from cloud providers, such as Baidu AI Cloud, sit between zero operations and full control. This path suits organizations that want both faster launch and compliance requirements.

    Do not judge cost only by price per million tokens. Calculate total cost of ownership:

    1. Total cost = call volume × average tokens × unit price
    2. + self-hosting GPU and operations cost
    3. + engineering and integration debugging cost
    4. + extra consumption from failed retries

    4. A method for production evaluation

    1. Build a business task set. Sample 50 to 200 representative tasks from real work, covering frequent, difficult, and edge cases, and keep the set reusable.
    2. Combine blind review with metrics. Score outputs anonymously, and also track objective measures: accuracy, completion rate, tool-call success rate, and hallucination rate.
    3. Align version and channel. Record which version, entry point, and configuration you tested. Do not use preview results to make a production decision.
    4. Evaluate cost and quality together. Compare models by the unit cost required to reach the target quality, not by unit price alone.
    5. Run a small proof of concept. Validate on a small share of real traffic, then expand gradually.

    A simplified scoring example:

    1. CRITERIA = {
    2. "reasoning": 0.25, # reasoning correctness and consistency
    3. "coding": 0.20, # code-task completion rate
    4. "tool_use": 0.15, # tool-call reliability
    5. "multimodal": 0.10, # multimodal accuracy
    6. "chinese": 0.15, # Chinese understanding and expression
    7. "cost_efficiency": 0.15 # cost per task
    8. }
    9. def score_model(results, cost_per_task):
    10. total = 0
    11. for name, weight in CRITERIA.items():
    12. total += weight * results[name]
    13. # lower cost scores higher (simple linear normalization example)
    14. total += CRITERIA["cost_efficiency"] * max(
    15. 0, 1 - cost_per_task / results["budget"]
    16. )
    17. return round(total, 4)

    5. Common selection mistakes

    • Treating product experience as model capability. Web search, memory, and plugins belong to the product layer. A similar model may deliver a similar experience.
    • Extrapolating from a single benchmark. A high score on one coding benchmark does not mean strength in every language or engineering setting.
    • Ignoring drift from version updates. Behavior can change after a model update, so evaluations need to be repeated.
    • Comparing unit price without looking at volume. Long context, retries, and multi-turn agent calls can make the real bill far higher than a unit-price estimate.
    • Making production decisions from a restricted release. Capability, quotas, and stability of a limited or preview release do not represent the general release.

    6. Recommendations for production rollout

    • Abstract the model access layer. Wrap calls to different models behind a single gateway so you can switch, canary, and fall back without coupling business code to one model.
    • Build observability. Record task type, input size, latency, failure reason, and cost for each call so you have a feedback loop.
    • Put security and compliance first. For sensitive data, assess data-flow paths, log retention, and deployment boundaries.
    • Keep a multi-model strategy. Route different tasks to different models—for example, a flagship model for complex reasoning and a lighter model for frequent simple tasks—to balance quality and cost.

    Conclusion

    There is no universal answer for model selection, only an answer that matches the business tasks, the team’s capability, and the cost constraints. Set aside parameter worship and leaderboard worship. Measure on a task set you build yourself, separate the model, product, and agent layers, and account for total cost of ownership. That is what makes a technical choice serve the business goal. Re-evaluate about once a quarter so the conclusion keeps up with model updates and changes in the business.