Evaluating and Selecting General-Purpose LLMs: A Task-Based Framework for Reasoning, Quality, and Cost

    General-purpose large language models (LLMs) cannot be effectively evaluated by public benchmarks alone. This article presents a practical framework for assessing and selecting LLMs based on task-level requirements, emphasizing verifiable quality metrics, latency, and throughput. It provides a structured methodology for evaluating mathematical reasoning, structured long-form generation, creative tasks, and high-concurrency online services. A reproducible testing workflow, decision matrix, and deployment considerations are included to help teams determine when a specific model is truly indispensable.

    Why a Single Leaderboard Cannot Answer “Is There a Must-Have Model?”

    Once general-purpose LLMs are integrated into production systems, the most common question — “Which model is the strongest?” — becomes less relevant than “In which specific scenario do I actually need a particular model?” Answering this requires a multi-dimensional view that includes task type, quality requirements, latency constraints, throughput capacity, pricing, and deployment mode. Public leaderboards, one-off trials, and isolated case studies often lead to oversimplified conclusions.

    One observed pattern is that a model may perform reasonably well in the creative ideation stage but underperform in actual execution-oriented tasks compared to a lower-latency, higher-throughput configuration. In contrast, complex tasks such as mathematical proof generation and structured long-form outputs can reveal sharp capability distinctions between models. The evaluation should therefore not be centered on a single model, but on a layered “task-quality-efficiency-cost” framework.

    Building a Layered Evaluation Framework

    1. Classify Tasks Into Independent Categories

    • Creative ideation: Brainstorming, option enumeration, naming, scenario expansion. Emphasis is on diversity, sensitivity to prompt variations, and generative quality rather than absolute correctness of any single answer.
    • Execution-oriented tasks: Information extraction, code modification, ticket handling, structured data generation. Emphasis is on correctness, verifiability, tool-calling stability, and long-context consistency.
    • Mathematical and formal reasoning: Proof completion, step-by-step derivation, symbolic computation explanation. Emphasis is on proof completeness, step atomicity, reference consistency, and reproducibility.
    • Structured long-form output: Technical documentation, solution write-ups, evaluation reports. Emphasis is on structural integrity, terminological accuracy, layout quality, and clarity in both English and Chinese.
    • High-concurrency online services: Q&A, summarization, classification. Emphasis is on time-to-first-token, end-to-end latency, throughput, and per-request cost.

    Evaluating all tasks with a single aggregate score is misleading — a model that is mediocre at creative tasks can still be highly capable in execution-oriented workflows.

    2. Quality Metrics Must Be Verifiable

    Quality assessment should go beyond subjective impressions. At minimum, the following metrics should be defined:

    • Correctness: Whether the output is factually correct, logically consistent, and verifiable through external references or test cases.
    • Verifiability: Whether the model provides derivation steps, citations, boundary conditions, and explanations that facilitate human review.
    • Reasoning chain quality: Whether steps are concise, free of redundant loops, and consistent at critical decision points without unexplained jumps.
    • Writing clarity: Whether terminology is accurate, structure is coherent, and prose resembles professional technical writing rather than template-like output.
    • Robustness: Stability against prompt variations, input noise, long contexts, and edge cases.

    For mathematical proof tasks, it is critical to distinguish between a model that generates a plausibly formatted proof and one that generates an actually checkable proof. The former may be linguistically fluent, whereas the latter must hold up step-by-step under inspection of definitions, lemmas, and final conclusions.

    3. Efficiency and Cost Must Be Quantified

    Efficiency metrics should be recorded as:

    • Time-to-first-token
    • End-to-end completion time
    • Throughput in tokens per second
    • Stability under concurrent load
    • Per-task quota or cost consumption
    • Extra cost incurred from failed retries

    In subscription or quota-based setups, a single moderately complex long-form generation task can consume a significant portion of monthly quota. Model selection should compare quality improvement against quota consumption side-by-side, rather than relying on anecdotal impressions of an impressive single response.

    Evaluation Method for Mathematical Proofs and Structured Lecture Notes

    A representative complex task: given a proposition from a mathematical repository without an accompanying proof, the model is required to produce a complete proof and organize it as structured English lecture material. This task simultaneously tests mathematical reasoning, long-form organization, and typesetting quality. Since the proposition has no existing proof, it effectively distinguishes between “generation after understanding” and “paraphrasing from memory.”

    The evaluation should check:

    1. Proposition understanding: Correct identification of assumptions, target conclusions, and implicit definitions.
    2. Proof completeness: Coverage of critical steps without gaps or circular reasoning.
    3. Reference consistency: Consistent use of lemmas, definitions, and symbolic notation throughout.
    4. Structured expression: Logical organization following “definition—lemma—proof—conclusion.”
    5. Layout quality: Proper handling of mathematical symbols, equation numbering, and section hierarchy.
    6. Verifiability: Whether a human reviewer can validate each step within a reasonable time.

    General experience shows that some models can handle non-template-driven proof generation and lecture organization, indicating a degree of formal reasoning and document structuring capability. However, compared to configurations specialized for advanced mathematical inference, gaps remain in open-ended problem exploration, construction of complex lemmas, and stability over extremely long reasoning chains. Mathematical evaluation must therefore not only ask whether a proof exists, but whether the model can handle problems without pre-specified solution paths.

    Differentiated Selection for Brainstorming vs. Execution Tasks

    1. Creative Ideation: Combining Configurations Beats Single-Point Use

    Brainstorming requires diversity. Any single model tends to settle into fixed expression patterns. In controlled settings, mixing multiple inference services with multi-round prompting and cross-review produces more useful results than repeated sampling from one model. Evaluation criteria include:

    • Output diversity under identical prompts
    • Coverage of ideas across rounds
    • Adherence to open-ended constraints
    • Cost of filtering out low-quality suggestions

    A low creative score should not rule out a model for execution use. The best approach is to separate the two stages and select configurations independently for each.

    2. Execution Stage: When Quality Is Comparable, Prioritize Low Latency

    For tasks such as information extraction, code modification, and structured generation, if two configurations show similar intelligence levels but one has significantly lower end-to-end latency, the lower-latency option should be selected. Execution tasks have clearly defined acceptance criteria: quality gaps are controlled through test cases and spot checks, and latency and throughput have direct impact on user experience and per-unit cost.

    A “dual-channel” strategy is recommended: one high-reasoning-budget configuration for difficult problems and offline generation; another low-latency, high-throughput configuration for online execution and batch processing — with a routing layer directing requests appropriately.

    Throughput and Deployment Effects on Selection

    High-density inference deployment is an often-overlooked variable. When single-rack throughput reaches hundreds of tokens per second, self-hosting or externally facing services can materially change the cost structure. Evaluation should expand from single-answer quality to:

    • Compute cost per token
    • Latency distribution under peak concurrency
    • Memory and bandwidth bottlenecks under long-context requests
    • Mixed scheduling ability between batch and online workloads
    • Fault isolation and elasticity capability

    For building evaluation and inference services, workloads may run in a general cloud environment — such as Baidu AI Cloud — using container platforms to manage inference services, object storage to persist tasks and outputs, and logging and monitoring tools for observability. Actual specifications must be verified through load testing. The same model can yield completely different practical utility across deployment modes, so selection cannot be decoupled from deployment conditions.

    Reproducible Testing Workflow

    A fixed benchmark set should be established covering creative, execution, mathematical reasoning, and long-form output tasks, recording quality scores, latency, throughput, and cost. The reference workflow:

    1. function evaluate(config, tasks):
    2. results = []
    3. for task in tasks:
    4. start = now()
    5. output = config.run(prompt=task.prompt, max_tokens=task.max_tokens)
    6. latency = now() - start
    7. quality = judge(output, task.rubric)
    8. cost = estimate_cost(output.usage)
    9. results.append({
    10. task_id: task.id,
    11. quality: quality,
    12. latency: latency,
    13. cost: cost,
    14. output: output
    15. })
    16. return aggregate(results)
    17. for config in candidate_configs:
    18. report = evaluate(config, benchmark_tasks)
    19. save_report(report)

    Blind evaluation is recommended: hide configuration names and have reviewers score against a unified rubric. Automated test cases should be retained to prevent subjective drift. For mathematical proof tasks, additional manual checks on “step verifiability” should be included.

    Selection Decision Matrix and Implementation Recommendations

    Scenario Primary Metric Secondary Metric Recommended Strategy
    Creative ideation Diversity, coverage Latency, quota usage Combine multiple configurations; cross-review
    Execution-oriented Correctness, verifiability End-to-end latency, throughput Prioritize low latency when quality is comparable
    Mathematical proof Proof completeness, verifiability Long-form organization, layout Use high-reasoning-budget configs for offline work
    High-concurrency online Throughput, latency profile Unit cost, stability Route by load test results
    Long-form lecture notes Structural integrity, term accuracy Quota usage, revision cost Template constraints with human review

    Implementation recommendations:

    1. Do not chase a single “best model”: Build scenario-based routing that separates hard problems from routine tasks.
    2. Keep shadow traffic running: Run new configurations in parallel with existing ones to compare quality, latency, and cost before cutover.
    3. Maintain a regression set: Execute the same fixed task set on every configuration change to avoid silent quality regressions.
    4. Measure quota consumption: Track per-task cost, especially for long-document and proof-generation workloads.
    5. Validate deployment throughput: Whether self-hosted or cloud-based, decisions must be based on actual load tests, not paper specifications.
    6. Strengthen observability: Log requests, outputs, scores, latency, and failure reasons to build a traceable basis for model selection.

    Conclusion

    Evaluation of general-purpose LLMs should not stop at subjective impressions of usability. A more professional approach is: first classify tasks into categories, then define verifiable quality metrics, quantify latency, throughput, and cost, and finally run reproducible tests to form a selection matrix. For creative tasks, combining multiple configurations outperforms any single model in most cases. For execution tasks, prioritize low-latency, high-throughput configurations when quality is comparable. For mathematical proofs and structured lecture material, check proof completeness and verifiability above all. For deployment, factor throughput and unit cost into the decision. Only then can the question — “Is there a must-have model?” — be answered without being misled by a single leaderboard or anecdotal evidence.