LLM Selection: From Brainstorming to Complex Reasoning

    Selecting the right Large Language Model (LLM) is a critical engineering challenge as applications become more complex. This article deconstructs the myth of a single "all-powerful" model and provides a practical framework for evaluating LLM capabilities across different workloads. It covers task decomposition, tiered routing strategies balancing speed and intelligence, handling complex mathematical reasoning, building comprehensive cost models, and developing custom evaluation datasets to replace reliance on external leaderboards.

    LLM Selection: From Brainstorming to Complex Reasoning

    As LLM applications enter deeper and more mature phases, a common misconception is attempting to cover all tasks with a single model. Developers often hope it can generate high-quality creative ideas during brainstorming, execute production tasks quickly, stably, and cost-effectively, and handle complex mathematical proofs and long-chain reasoning. In actual engineering practice, however, this assumption of an “all-powerful model” rarely holds true. A more reasonable approach is to break down tasks into different load types, evaluate models based on capability, speed, cost, and verifiability, and then form a complete solution through routing and composition strategies.

    A typical dilemma reflects this reality: a certain class of models performs well in the creative divergence phase, but during actual task execution, another class of lightweight, high-speed models achieves near-equivalent intelligence at significantly faster speeds, making the former difficult to justify for execution scenarios. Simultaneously, for complex mathematical proof tasks, the former can generate lecture-style derivations of decent quality, but still falls short of top-tier reasoning models, while consuming considerable quota for a single task. Stripping away specific product names, this is a universal technical problem: How do we evaluate the capability boundaries of general LLMs across creativity, execution, complex reasoning, and cost efficiency, and make engineering selections accordingly?

    1. Decompose Tasks First: Brainstorming vs. Execution Loads

    The core goal of brainstorming tasks is to “expand the solution space.” It focuses on the quantity, diversity, and combinability of ideas, adherence to constraints, and convergence quality after multiple rounds of questioning. These tasks have a low validation cost, as incorrect ideas can be quickly filtered out manually, making them better suited for models with strong divergence capabilities and good interactive experiences. When evaluating, don’t just look at whether a single response is “stunning.” Instead, assess whether the model can continuously provide different perspectives in multi-turn dialogues, understand implicit constraints, and translate vague requirements into executable plans.

    Execution tasks are entirely different. They focus on correctness, format compliance, stability, end-to-end latency, unit task cost, and traceability. If an execution task is several times slower, it will significantly impact interaction frequency and iteration cycles; if retries are needed after failures, the actual cost amplifies further. Therefore, when a lightweight, high-speed model achieves quality close to a high-reasoning model on a target task, it often has a greater advantage in production execution. Engineering teams should establish separate “creative evaluation sets” and “execution evaluation sets” rather than relying on a single set of subjective impressions for global judgments.

    2. Speed vs. Intelligence Trade-off: Fast-to-Slow Routing Strategy

    Speed is not merely an experience metric; it affects how tasks are completed. High-speed models support more frequent draft generation, more rounds of self-checking, and faster human-machine collaboration, potentially making up for insufficient single-inference depth through “multiple iterations.” High-reasoning models are suitable for solving hard problems correctly in one pass, but if each call is time-consuming and consumes high quotas, it is not appropriate for all requests to go through a heavy reasoning pipeline.

    A common practice is tiered routing: use a lightweight, high-speed model first to complete planning, drafting, and initial inspection; when the verifier detects insufficient confidence, formatting errors, or missing critical steps, escalate to the high-reasoning model. The pseudocode is as follows:

    1. handle_task(task):
    2. plan = fast_model.make_plan(task)
    3. draft = fast_model.execute(task, plan)
    4. score = verifier.check(draft)
    5. if score < threshold:
    6. draft = reasoning_model.repair(task, plan, draft)
    7. return human_review_if_needed(draft)

    The key to this pattern lies in the verifier design. The verifier can be rule-based checks, unit tests, structured format validation, retrieval consistency checks, or manual scoring rubrics. Without a verifier, routing degrades into “upgrading by feel,” making it difficult to achieve stable benefits. At the same time, timeouts, retry limits, and fallback strategies should be set to prevent the heavy reasoning pipeline from becoming a system bottleneck.

    3. Complex Math and Long-Chain Reasoning: Quality, Originality, and Verifiability

    Complex mathematical proof tasks cannot be evaluated solely on whether they “read fluently.” More reasonable evaluation dimensions include: accurate proposition understanding, validity of key lemmas, connectivity between steps, consistency of citations, absence of circular reasoning, whether the final conclusion covers the original proposition, and whether the generated formatted document is structurally clear. For problems in public repositories that do not have provided proofs, the model’s output should undergo independent reproduction and step-by-step review; fluency should not be mistaken for mathematical correctness.

    These tasks also expose cost issues: a single complex task may consume a high proportion of a monthly quota, so “unit task cost” must be factored into selection. High-reasoning models are suitable for exploring open problems, completing proofs, organizing lecture notes, and reviewing critical steps; lightweight, high-speed models are better for data summarization, formatting, draft expansion, and low-risk checks. Combining the two is often more economical than using a single model.

    Originality verification is also indispensable. Cross-validation can be performed using plagiarism checks, independent derivation reproduction, manual review of key lemmas, counterexample searches, and machine-assisted checks. For teaching lecture outputs, the consistency of definitions, symbols, and formatting should also be checked to avoid “seemingly complete but unverifiable” content.

    4. Cost Model: Look Beyond Per-Call Pricing

    True cost is the sum of API costs, human review costs, rework costs, latency losses, and compliance costs. Although complex tasks yield high single-pass quality, if quota consumption is large and review time is long, the effective output per unit cost may not be optimal; although high-speed models have slightly lower single-pass intelligence, they support more iterations and may achieve acceptable quality at a lower cost. Teams should establish a cost dashboard categorized by task type, recording first-pass success rates, rework rates, average latency, and manual intervention ratios.

    At the infrastructure layer, you can leverage general model services, inference acceleration, logging, and monitoring capabilities—such as those provided by Baidu AI Cloud—to build a closed-loop routing and evaluation system. However, selection conclusions should still be derived from your own task testing rather than external leaderboards. For sensitive data, it is also necessary to evaluate permission isolation, log desensitization, access auditing, and data retention policies.

    5. Evaluation System: Replace Leaderboard Intuition with a Business Golden Dataset

    It is recommended to establish a tiered evaluation set: simple tasks, routine execution tasks, long-chain tasks, complex reasoning tasks, and edge-case anomaly tasks. Configure reference answers or scoring rubrics for each task, employing blind evaluations, multi-judge calibration, and error categorization. Error types should at least include factual errors, reasoning errors, formatting errors, insufficient instruction adherence, tool usage errors, and stability issues. Conduct regression tests before launch and small-traffic A/B comparisons after launch, observing quality, latency, cost, and failure rates.

    Ultimately, model selection is not about finding the “strongest model,” but rather finding the “combination with the lowest overall cost and controllable risk within a specific task chain.” High-reasoning models tackle hard problems and reviews, high-speed models handle execution and iteration, and the creative phase can use multiple models for divergence before converging. Only by establishing an evaluation, routing, verification, and cost closed-loop can we avoid the fallacy of “there is no alternative to a specific model.”