How to Choose an LLM: A Business Testing Method Beyond Price

    This article explains how to evaluate large language models for real business use, not just by unit price. It covers defining tasks and acceptance criteria, reading specifications without treating them as rankings, calculating cost per accepted task, evaluating tool-calling and Agent behavior, building a shared evaluation suite, and aggregating metrics for a final decision.

    A Low Unit Price Does Not Mean Low Total Cost

    The same file-reading, code-generation, and external-tool-calling task may cost only a few cents per turn with one model and several dollars with another. The unit-price gap is the easiest thing to see, but it is only one part of the cost. The real cost of a task is made up of several components: the size of the input context, the length of the model output, the reasoning tokens consumed by the thinking process, the number of retries after failures, and the time spent on manual rework.

    If a model with a low unit price has a low first-pass success rate, it will require repeated prompting, reruns, and manual fixes, and the total cost may end up higher. If a model with a high unit price can deliver the correct result in one pass, with little rework, the cost per task may actually be lower. Therefore, the model-selection question should be reframed as: how much money and time does each task that passes acceptance consume?

    Step 1: Define the Task and Acceptance Criteria First

    Before selecting a model, answer three questions.

    First, what is the input? Pure text, mixed text and images, or input that includes video determines whether a candidate model has the corresponding input capability. If the business only processes text, there is no need to pay for multimodal capability. If the business needs to understand video directly, first confirm whether the candidate model supports video input, and then decide whether frame extraction or transcription is needed.

    Second, what is the output? Structured data, short answers, long documents, and executable code have very different output-budget requirements. Structured tasks usually produce shorter output but require high format stability. Long-document generation requires a sufficient output limit.

    Third, what counts as passing? Acceptance criteria should be as judgeable as possible. For example: JSON fields are complete and correctly typed, code passes unit tests, tool-call parameters match the schema, and answers match key facts from human annotations. Without clear acceptance criteria, it is impossible to compare the real differences between models.

    Step 2: Understand the Specifications, but Do Not Treat Them as a Ranking

    Vendor technical documentation usually lists the following fields. Understanding what each field means is more important than memorizing specific numbers.

    • Input modalities: which of text, images, and video are supported.
    • Context window: the total length shared by the input the model can process at once and the output generated in the current turn.
    • Output limit: the maximum number of tokens that can be generated in a single response.
    • Thinking mechanism: some models support a reasoning mode, and the thinking content also counts toward generated tokens and may share the output budget with the answer.
    • Tool calling: whether the model can return function-call parameters according to a defined schema. This is a basic capability for Agent scenarios.
    • Billing basis: how input, output, cache hits, and reasoning tokens are priced.

    Two points deserve special attention. First, a large context window does not mean you can fill the input and then output content of the same length. Input and output share the same window, so the longer the input, the less space is available for generation. Second, different vendors may write and count units such as K and M differently. When comparing, use the definitions in the official documentation rather than aligning numbers directly.

    Specifications can only indicate what a model may be capable of; they cannot prove how it will perform in business use. Two models with the same context length may have very different success rates on the same task.

    Step 3: Calculate Cost per Task

    You can use the following formula to estimate the cost of a single task:

    Single-task cost = (input tokens × input unit price + output tokens × output unit price + reasoning tokens × corresponding unit price) × number of calls

    The number of calls should include multi-turn round trips caused by retries and tool calls. Agent tasks usually require multiple model calls: reading files, planning steps, calling tools, and continuing reasoning based on results. Each turn carries the previous context, so input tokens accumulate as turns increase. Therefore, evaluation should record the token consumption of the complete session, not just a single request.

    It is recommended to record the following fields in business logs: model name, input tokens, output tokens, reasoning tokens, latency, whether tools were called, whether tool calls succeeded, and whether the final result passed acceptance.

    Step 4: Evaluate Tool Calling and Agent Capabilities

    Most mainstream models support tool calling, so this item has limited discriminative power in model selection. The real differences appear in the following dimensions.

    1. Parameter accuracy: whether tool parameters match the schema, whether required fields are missing, or whether values that do not exist are fabricated.
    2. Call timing: whether the model calls a tool when it should and refrains when it should not.
    3. Error recovery: after a tool returns an error, whether the model can correct parameters based on the error message and retry.
    4. Long-chain stability: after more than ten steps, whether the model still remembers earlier constraints.
    5. Termination judgment: whether the model stops in time after the task is complete instead of falling into repeated calls.

    These capabilities cannot be read from a specification table; they can only be obtained through testing.

    Step 5: Build a Shared Evaluation Suite

    The core of evaluation is to have all candidate models run the same set of cases, using the same prompts, the same tool definitions, and the same acceptance rules. Below is a generic test-framework example:

    1. import time
    2. def run_suite(models, cases, call_model, judge):
    3. records = []
    4. for model in models:
    5. for case in cases:
    6. start = time.time()
    7. resp = call_model(model, case["input"], tools=case.get("tools"))
    8. latency = time.time() - start
    9. passed = judge(case, resp)
    10. records.append({
    11. "model": model,
    12. "case_id": case["id"],
    13. "passed": passed,
    14. "input_tokens": resp["usage"]["input_tokens"],
    15. "output_tokens": resp["usage"]["output_tokens"],
    16. "reasoning_tokens": resp["usage"].get("reasoning_tokens", 0),
    17. "latency_s": round(latency, 2),
    18. })
    19. return records

    The selected cases need to be representative. It is recommended to cover the following categories, with at least twenty cases per category, and to retain messy data from real business use:

    • High-frequency routine tasks that represent daily load.
    • Boundary inputs such as very long documents, ambiguous instructions, and missing fields.
    • Tasks that require multi-step tool calls.
    • Tasks involving image or video understanding, provided that the business actually includes such input.

    The judge function should use rule-based judgment as much as possible. Format-related tasks can be checked with parsers, code-related tasks can be run against unit tests, and fact-related tasks can be compared with annotated answers. For content that is difficult to formalize as rules, manual sampling can be used, or scoring can be done through an independent review process. The review itself also needs consistency checks, for example, having two reviewers independently score the same batch of samples and comparing the differences.

    Step 6: Aggregate Metrics and Make a Decision

    Run the suite.