A Practical Guide to Evaluating LLM Capability and Cost-Effectiveness

    This guide explains how to evaluate large language models by whether they complete real tasks, not by how fluent a single answer sounds. It covers learning guidance, software delivery, reproducible evaluation, cost per successful outcome, and production controls such as permissions and fallbacks.

    1. From “Answers Well” to “Completes the Task Well”

    The most common mistake in evaluating a large language model’s real capability is treating one fluent reply as stable, reliable skill, or treating a correct answer to one question as a complete problem-solving process.

    In real use, people usually need more than text that looks professional. They need verifiable learning progress, maintainable code, and workflows whose cost stays under control. Capability evaluation should therefore distinguish at least three levels:

    The first is knowledge and expression. Can the model understand the question, explain the concept, and produce a basically correct answer?

    The second is interaction and reasoning. Can the model identify the user’s knowledge gap, adjust its strategy based on feedback, and keep the task goal stable across multiple turns?

    The third is execution and delivery. Can the model finish an acceptable task when information is incomplete, the environment has constraints, and the result must be verified?

    These levels are related, but they are not interchangeable. Explaining an algorithm does not mean the model can fix a defect in a complex system. Writing a mathematical proof does not mean it can help a student master the method independently.

    The original material’s math-tutoring experience and programming tests are two different observation windows. The first looks at whether the model can support a person’s understanding. The second looks at whether it can finish an engineering task under constraints. Combining both gives a fuller view of real capability and cost-effectiveness.

    2. Math Tutoring: Valuable Guidance, Not Answer Writing

    1. Why guided teaching is harder than giving the solution

    Producing an answer usually only requires the model to find one workable solution path. Guided teaching must handle two problems at once: how the problem should be solved, and why the current learner cannot yet solve it.

    For example, if a student is stuck proving that a set satisfies a property, the model should not immediately output a full proof. It can ask, in sequence:

    • What is the definition of the property to be proved?
    • Which conditions in the definition must be checked one by one?
    • Which step do the given conditions support?
    • Does the current derivation miss a special case?
    • Can a counterexample be constructed to test the intuition?

    The value of these questions is that they break a complex task into smaller steps the student can complete independently. A large number of questions does not by itself mean better teaching. Effective guidance makes each question correspond to a clear cognitive obstacle, rather than mechanically asking again and again.

    2. How to test whether the model understands the student’s difficulty

    When evaluating teaching ability, provide different types of incorrect answers to the same problem.

    One type is a conceptual error, such as confusing a necessary condition with a sufficient condition. Another is a derivation error, such as using a conclusion whose conditions are not yet met. A third is incomplete expression: the idea is basically correct, but a key argument is missing.

    The model should use a different strategy for each error. A conceptual error should return to the definition and use examples to make the distinction clear. A derivation error should locate the specific step and check whether the justification holds. Incomplete expression should help the student fill in the argument, not restart the whole solution.

    If the model responds to every kind of error with a similar complete solution, it may be strong at solving problems without being equally strong at teaching.

    3. Source location must be tied to verifiability

    After lecture notes are provided in advance, the model can try to connect a hint with the course material. Being able to read the notes is not the same as locating the right part accurately.

    A document may contain scanned pages, formula images, page numbers from different versions, and mismatches between printed page numbers and file page order. A reliable citation should therefore not be only a page number. It should also include, where possible, the section name, theorem name, or a key excerpt.

    A safer prompt is:

    “Please check the section of the lecture notes that discusses this definition, and focus on the second condition. If the current material cannot establish a specific page number, say so explicitly. Do not guess.”

    The core principle is evidence first. A wrong source location can send the student to irrelevant material or even reinforce the original misunderstanding. Fluent wording should not hide that harm.

    4. Teaching effect should be verified through transfer tasks

    Hearing “I understand” in one conversation only shows that the student felt understanding at that moment. It does not prove that the knowledge has been mastered.

    More reliable checks include:

    • Ask the student to re-explain the key concept without the reference answer.
    • Change the surface form of the problem while keeping the same knowledge structure.
    • Ask the student to identify the problem in an incorrect proof.
    • After some time has passed, assign a similar task again.

    If the student can only repeat the steps of the original problem and cannot solve a structurally similar new one, the tutoring may still be at the level of imitation. Real benefit in a teaching setting should appear as a stronger ability to work independently, not as faster homework submission.

    3. Software Development: Correct Code Is Only Part of Engineering Ability

    1. From local generation to complete delivery

    Programming ability cannot be judged only by whether the model can write a function. A real engineering task usually also requires the model to:

    • Read existing code and understand call relationships.
    • Identify business constraints and compatibility requirements.
    • Change the implementation within a limited scope.
    • Add tests and check regression risk.
    • Explain why the change was made and what it may affect.
    • Locate and fix the problem when verification fails.

    Together, these steps form engineering delivery ability. Generated code can be syntactically correct and still break existing behavior, miss edge cases, or introduce an implementation that is hard to maintain.

    Evaluation should therefore record “code was produced” and “the task passed acceptance” separately.

    2. Where weak engineering experience usually shows up

    Weak engineering experience does not always mean the model does not know the technical concept. More often, it has not fully considered the runtime environment and long-term maintenance.

    For example, the model may ignore null values, duplicate records, and abnormal encodings in a data-processing task; ignore shared state in a concurrent task; fail to set reasonable timeouts and failure handling for service calls; or change an interface without checking whether callers depend on the old behavior.

    These problems show that broad knowledge coverage does not automatically become reliable engineering judgment. Evaluation should deliberately include abnormal inputs, historical compatibility, resource limits, and partial failure, rather than checking only results under ideal inputs.

    3. Small controlled changes are a useful robustness test

    A high score on a single test set can be affected by familiarity with the questions, the prompting style, and the environment setup. To judge whether capability generalizes, apply controlled changes to the same task, such as:

    • Change the input order while keeping the meaning the same.
    • Add a file that is irrelevant to the goal.
    • Replace a detailed step-by-step requirement with acceptance conditions.
    • Add one reasonable boundary constraint.
    • Turn an explicit error into a hidden error that must be discovered by inspection.

    These changes should not alter the task’s underlying difficulty structure, but they can reveal whether the model depends on fixed wording or surface cues.

    If a small change causes a large swing in results, check whether prompt sensitivity, context selection, and task understanding are stable. A few variants alone are not enough to judge the model’s overall level. The sample scope should be stated, and the tests should be repeated.

    4. Building a Reproducible Evaluation Process

    1. Define the business task before choosing test items

    Evaluation should start from actual needs, not from questions that merely look difficult.

    Math tutoring can focus on error diagnosis, hint quality, and transfer learning. Development assistance can focus on defect repair, test completion, and documentation updates. Enterprise knowledge Q&A should focus on evidence citation, permission boundaries, and information freshness.

    Each task type should specify the input, the materials that may be used, the actions that may be taken, and the acceptance criteria. Otherwise, different results may reflect different conditions rather than different capability.

    2. Separate result quality from process quality

    Result quality includes answer correctness, test pass status, and requirement coverage.

    Process quality includes whether constraints were followed, whether reliable evidence was provided, whether necessary verification was performed, and whether uncertainty was stated honestly.

    Both should be observed, but process language must not replace result acceptance. A clear explanation does not cancel incorrect code. Conversely, one accidentally correct output does not prove that the execution process is reliable.

    For teaching tasks, internal reasoning cannot be used directly as evidence of learning. What can be observed is the prompts, the feedback, the student’s performance, and later task completion.

    3. Use independent acceptance to reduce self-evaluation bias

    Do not rely only on the same model to judge whether its own answer is correct.

    Math problems can be checked by a teacher or a reviewer with the relevant knowledge, focusing on the key arguments. Code tasks can be accepted through automated tests, static checks, and human review. Document Q&A can be checked against the original documents for citations.

    Automated tests also have limited coverage. A passing test means the checked conditions were met, not that no other defect exists. For high-risk tasks, widen verification and keep human review.

    4. Keep runtime conditions and failure records

    A reproducible evaluation should at least record:

    • The task description and the version of the input materials.
    • The prompt template and how context was organized.
    • The model and runtime configuration.
    • Available tools and permission scope.
    • Execution time, retry count, and human intervention.
    • Acceptance results and failure causes.

    Failure cases are especially important. Showing only successes hides rework cost in real use and makes it impossible to judge whether a class of problems repeats.

    5. Cost-Effectiveness: Measure Useful Output, Not Only Call Price

    1. Total cost includes labor and risk

    The cost of using a model is not only the call fee. It also includes organizing materials, system integration, waiting time, result review, failed retries, and error repair.

    A simplified accounting expression is:

    Total cost = call cost + integration and maintenance cost + human review cost + rework cost + risk-handling cost

    Not every item can be precisely converted into money, but the main time spent and how often it occurs should at least be recorded. For high-risk work, the impact of errors must also be considered. Generation speed alone should not be the benefit metric.

    2. Calculate the effective cost of each successful task

    A metric closer to business value is:

    Cost per successful task = total cost during the evaluation period ÷ number of tasks that passed acceptance

    “Success” must be defined in advance. A code task may need to pass the relevant tests and human review. A teaching task may require the student to complete a later exercise without relying on a full answer.

    This metric can reveal a common pattern: a cheaper call price is not necessarily more economical if it needs more retries and review. A higher call price is not necessarily worth adopting if it does not meaningfully reduce the failure rate.

    3. Match capability and process to task risk

    Not every request needs the same handling.

    Low-risk tasks such as simple organization or format conversion can use a lighter process. Tasks that involve complex reasoning or changes across files should add retrieval and result verification. Tasks that affect important business decisions need explicit human review and a clear boundary of responsibility.

    Task routing itself has a cost. If the classification rules are unreliable, a complex task may be sent into an unsuitable process. The routing mechanism therefore also needs evaluation, along with escalation and conditions for human takeover.

    6. Moving Capability into Production: Permissions, Data, and Fallback

    Math-tutoring materials may contain personal information. Engineering context may contain source code, configuration, and business data. Before using a model, confirm whether the data may be transmitted, whether it needs to be de-identified, and how retention periods and access permissions are managed.

    For coding tools that can execute actions, follow least privilege. Limit their access by default, run verification in an isolated environment, and require confirmation for deleting files, changing critical configuration, or affecting external systems.

    A fallback mechanism is also necessary. If verification fails repeatedly, the time budget is exceeded, or a permission boundary is involved, the system should stop automatic execution, keep logs, and hand the work to a person, rather than retrying without limit.

    Real capability becomes sustainable production value only when it is combined with security boundaries.

    7. Conclusion: Replace Impressions of Capability with Verifiable Benefit

    A model should not be judged as broadly capable from a single demo, and one test result should not be converted directly into an overall technical gap.

    A more reliable method builds a closed loop around real tasks: define the need, design representative samples, add reasonable variants, accept results independently, record failures and human cost, and then set usage boundaries according to risk.

    In math tutoring, value appears when learners gradually gain the ability to solve problems on their own. In software development, value appears as stable delivery, less rework, and maintainability. Judgments about real capability and cost-effectiveness are useful for decisions only when these benefits can be observed and verified continuously.