Evaluating LLM Search Capabilities: How to Balance Intelligence and Cost

    This article breaks down why search capability needs to be measured along two separate axes—intelligence score and cost per 1,000 tasks—and why combining them in a single ranking leads to wrong conclusions. It explains what a search intelligence score captures and its limitations, why cost figures are easy to misread, and how a "threshold first, then cost" efficiency leaderboard works, with sample Python code. It also offers a reusable model selection framework covering business thresholds, tiered routing, cost budgeting, regression testing, and observability, plus common pitfalls and a practical rollout checklist.

    1. Background: Why Search Capability Needs to Be Re-measured

    In scenarios such as retrieval-augmented generation, intelligent Q&A, and enterprise knowledge bases, a model’s real-world performance depends less on parameter count and more on whether it can stay reliable across multi-step retrieval, information filtering, conflict resolution, and answer organization. A common industry practice is to capture this ability with a single composite “search intelligence” score, while using “cost per 1,000 tasks” to capture economic efficiency. The original leaderboard provides a set of illustrative figures: one model leads with 88.1 points at $206 per 1,000 tasks; the runner-up scores 86.9 but costs as much as $2,063; others sit at 84.5 points/$199 and 83.7 points/$111; and a low-cost model reaches 78.4 points/$20.2. The efficiency leaderboard first sets an intelligence median threshold of 66.6, then sorts by ascending cost, which puts the $20.2/78.4 small model on top, followed by $43.7/69.2 and $111/83.7.

    The value of these figures lies not in the exact rankings but in an engineering fact they reveal: capability and cost are two different axes, and comparing them in a single list leads to the wrong conclusion.

    2. What Each Dimension Means and Where It Falls Short

    2.1 What the Intelligence Score Measures

    A search intelligence score typically aggregates sub-items such as multi-hop reasoning, sufficiency-of-evidence judgment, refusal and clarification ability, and citation consistency. It has three limitations: first, it is task-distribution dependent, so rankings may shift with a different evaluation set; second, a ceiling effect exists, and differences in the high-score range often fall within noise; third, it measures “average performance,” whereas the business actually cares about long-tail failure rates.

    2.2 Why Cost Figures Are Easy to Misread

    “Cost per 1,000 tasks” folds in token consumption, retrieval calls, retries, and failure fallbacks, making it closer to a real bill than unit price alone. But note that cache hit rates, batching strategies, and context-trimming strategies differ across implementations, so cost differences may come from engineering rather than the model itself. Cost must therefore be interpreted together with the technical approach.

    3. The Logic of the Efficiency Leaderboard: Threshold First, Then Cost

    The key design of the efficiency leaderboard is filter first, then sort: keep only candidates whose intelligence score is no lower than the median (66.6 in the example), then order them by ascending cost. This prevents low-price, low-capability models from dominating on price, and also prevents high-price, high-capability models from monopolizing the top spot.

    The logic can be expressed mathematically as:

    1. def efficiency_rank(candidates, threshold=66.6):
    2. qualified = [c for c in candidates if c.score >= threshold]
    3. return sorted(qualified, key=lambda c: c.cost_per_1k)
    4. # Illustration: threshold filtering + ascending cost

    Engineering practice can also introduce a “cost-effectiveness slope” as a secondary metric—the marginal cost paid for each additional point above the threshold—to judge whether increasing the budget further is worthwhile.

    4. A Reusable Selection Framework

    1. Define the business threshold: Map the evaluation set to real tasks and determine the minimum acceptable score instead of blindly chasing the highest.
    2. Tiered routing: Send high-difficulty requests to high-score models and routine requests to low-cost models, using confidence or rules to split traffic.
    3. Budget the cost: Set an upper limit on cost per 1,000 tasks, with automatic downgrade or queuing when exceeded.
    4. Regression validation: Every time you switch models or prompt strategies, run a fixed regression set and record both the score and cost curves.
    5. Observability: Monitor and alert on retrieval hit rate, retry rate, and context length to pinpoint the source of cost anomalies.

    Illustrative routing logic:

    1. def route(req, models):
    2. if req.complexity >= 0.7:
    3. return models["high"]
    4. if req.confidence < 0.5:
    5. return models["mid"]
    6. return models["low"]

    5. Common Pitfalls

    • Looking only at unit price: Ignoring retries and long contexts can double the actual bill.
    • Looking only at the score: The marginal return of a high-score model is nearly zero on low-difficulty tasks.
    • One-off selection: Task distribution drifts, so periodic re-evaluation is needed.
    • Ignoring the cost of failure: The business loss from a single wrong answer can far exceed token costs.

    6. Rollout Checklist and Conclusion

    Teams are advised to build a five-piece set of “evaluation set—threshold—budget—routing—monitoring,” turning selection from a one-time decision into continuous operations. If you need to carry retrieval indexes, logs, and monitoring data, you can combine general cloud product categories such as object storage, message queues, container platforms, log services, and monitoring/alerting; on Baidu AI Cloud, the same setup can be built from these general capabilities, keeping the solution neutral and portable. The ultimate goal is not to find the “strongest model” but to find the combination with the lowest total cost and controllable failures under a given threshold.