Large Language Model Selection and Evaluation: From Brainstorming to Engineering Execution
This article explains how to evaluate general-purpose large language models for real workflows rather than relying on isolated prompt tests. It covers scenario layering, speed versus reasoning trade-offs, math and proof evaluation, deployment throughput economics, a reproducible evaluation workflow with pseudocode, and composite model routing for production use.
In real development, deciding whether a general-purpose large language model is “good” should not rely only on the impressiveness of a single-turn conversation or on performance in one task category. A more reasonable approach is to place the model back into real workflows: Is it better suited to creative ideation or stable execution? What are its failure modes in math proofs, code generation, document writing, and tool calling? Do deployment cost and throughput change its economics? Only by breaking these questions apart can teams avoid misjudgments caused by isolated test experience.
1. Single-Point Testing Is Not Enough for Model Selection
Many teams initially use one or several prompts for quick comparison, such as asking the model to explain a concept, write a piece of code, or generate an outline. Such tests can reflect some expressive ability, but they are not enough to represent production performance. Production environments usually include long context, multi-turn correction, external tool calls, format constraints, verifiability requirements, and concurrency costs.
A more serious problem is that the same model may perform very differently across entry points, parameters, and system prompts. If teams compare only “one answer at one time,” they can easily mistake differences caused by prompt quality, sampling parameters, or context organization for differences in model capability. Therefore, model selection should aim to:
- Fix the task set and prompt templates;
- Fix the output format and scoring criteria;
- Record end-to-end latency, human takeover rate, retry count, and per-task cost;
- Conduct blind reviews for critical tasks to reduce brand bias.
2. Scenario Layering: Creative Ideation and Production Execution Are Different Problems
Brainstorming tasks emphasize divergence, natural expression, context integration, and interaction experience. Such tasks have relatively low requirements for absolute correctness and are more sensitive to whether the model can offer new angles, understand ambiguous requirements, and iterate quickly. A model with moderate reasoning depth but fast response and natural expression may be more popular in creative assistance scenarios.
Production execution tasks are different. They usually require:
- Verifiable correctness: Results can be tested, compiled, reviewed, or manually checked.
- Long-chain stability: Multi-step tasks do not easily lose constraint conditions.
- Format and interface constraints: Output must conform to structured specifications for downstream system consumption.
- Recoverable failure: Errors can be fixed through retries, decomposition, or tool calls.
- Controllable cost: Per-task cost, latency, and concurrency capacity meet business requirements.
Therefore, when evaluating a model, the first question is: Will it mainly serve as a “creative copilot” or an “execution component”? The former can tolerate some uncertainty; the latter must be supported by a verifiable evaluation set and fallback mechanisms.
3. Speed vs. Intelligence: Look at End-to-End Metrics
Speed is often an underestimated variable in model selection. Fast models can significantly shorten interaction waiting time and improve throughput for high-frequency tasks. However, in complex reasoning, long-form writing, and mathematical proofs, a speed advantage may not offset the rework cost caused by lower accuracy. What really needs comparison is end-to-end metrics, not single-response time.
Consider the following metrics:
- Task success rate: The proportion of tasks passed on the first attempt on a fixed evaluation set;
- End-to-end latency: Total time from user request to usable result;
- Retry and human takeover rate: The proportion requiring secondary correction or human intervention;
- Per-task cost: Comprehensive cost including inference, retries, review, and storage;
- Reproducibility: Whether the same input under reasonable parameters stably produces usable results.
A model that responds quickly but often requires retries may have a higher end-to-end cost than a slower model that passes on the first attempt. Conversely, in high-frequency, low-risk scenarios, a fast model can gain clear advantages through parallelism and caching. Model selection should stratify by task risk rather than pursue a single “strongest model.”
4. Math and Proof Tasks: Check the Process, Not Just the Conclusion
Mathematical proofs, derivations, and formal writing are typical scenarios for testing model reasoning ability. The risk is that the model may produce an answer that looks fluent but has missing steps, inappropriate references, or an incorrect conclusion. Evaluation should not look only at the final conclusion; it should check proof structure, key lemmas, boundary conditions, and verifiability.
It is recommended to build a small but targeted evaluation set, including:
- Propositions from public literature without directly provided proofs, requiring the model to complete the steps independently;
- Algebra or combinatorics problems requiring multi-step derivation;
- True/false questions requiring counterexamples;
- Tasks requiring fixed formatting for English lecture notes or technical notes;
- Tasks with implicit constraints that require the model to proactively state assumptions.
Scoring dimensions can include conclusion correctness, step completeness, clarity of references and assumptions, normative expression, and whether the result can be quickly reviewed by humans. For critical math tasks, retain a human review step and treat model output as a draft rather than a final answer.
5. Deployment and Throughput: Economics Is More Than Unit Price
When a model enters large-scale use, deployment method can significantly affect selection conclusions. Self-deployment, dedicated instances, and managed services each have applicable scenarios. High-throughput inference capacity may change per-task cost, especially in batch processing, offline generation, log analysis, and content moderation. Evaluation should focus on:
- Stable throughput and tail latency under concurrency;
- Applicability of optimization methods such as batching, caching, and quantization;
- Memory footprint and scaling cost;
- Maturity of infrastructure such as monitoring and alerting, logging services, and container platforms;
- Fault isolation, rate limiting, and degradation strategies.
If business teams compare only official prices, they may ignore retry costs, human review costs, and peak resource waste. A more reasonable approach is to evaluate “cost per usable result,” meaning the comprehensive resources required to complete one deliverable task.
6. Reproducible Evaluation Process and Pseudocode
A three-stage process is recommended: quick screening, deep evaluation, and online canary release. Quick screening uses a small task set to exclude clearly mismatched models; deep evaluation uses task sets close to real business scenarios to compare success rates and costs; online canary release observes stability and user feedback under real traffic.
Illustrative pseudocode:
Define task set tasks, including prompts, inputs, expected formats, and scoring rulesDefine candidate model set modelsFor each model in models:For each task in tasks:output = model.run(task.prompt, fixed parameters)score = rubric_score(task, output)Record score, latency, retry count, and human takeover flagAggregate success rate, end-to-end latency, and per-task costConduct blind review and human review for critical tasksSelect model combinations that meet risk level and cost constraints
7. Implementation Recommendation: Use Composite Model Routing
Most teams will not ultimately rely on only one model. A more pragmatic strategy is to route by task risk and cost: use fast models for high-frequency, low-risk tasks; use models with stronger reasoning for complex reasoning and critical delivery; keep human review for mathematical proofs and code review. Through caching, prompt templates, structured output validation, and failure retry mechanisms, teams can further reduce dependence on the capability of a single model.
In summary, large language model selection should center on real tasks, verifiable metrics, and comprehensive cost. Brainstorming focuses on interaction and divergence; engineering execution focuses on stability and verifiability; mathematical reasoning focuses on process and reviewability; deployment focuses on throughput and cost per result. Only by building a layered evaluation system can model capability be translated into sustainable engineering productivity.
