Multimodal LLM Evaluation and Agent Selection: A Practical Guide
This article breaks down a reusable methodology for evaluating multimodal large language models and selecting agents in the agentic era—shifting the focus from leaderboard rankings to how well models actually complete tasks. It covers four evaluation dimensions (logic and reasoning, agent tasks, coding delivery, and cost and selection) along with practical techniques such as using median scores over averages, building private evaluation sets, layered model routing, and accounting costs per successful task, illustrated with code examples for each. Readers will learn how to run evaluations, choose models for specific pipelines, and avoid common mistakes when deploying LLMs in real business workflows.
1. From “Chatting” to “Delivering”: How Multimodal Evaluation Logic Has Changed
Leading LLM vendors in China have been shipping flagship updates at a rapid pace recently. For developers, the real challenge isn’t just “which model looks stronger,” but rather: where exactly is a new model stronger, where is it weaker, and which business pipeline is it best suited for? This article isn’t about any single model. Instead, it breaks down a reusable evaluation methodology covering multimodal LLM evaluation, model selection, agent practice, coding delivery, and cost analysis—helping readers answer how to run evaluations, how to choose models, and what the common mistakes are.
A traditional “chatbot” mindset tends to treat a model as nothing more than a conversational Q&A tool. In the agent era, that misunderstanding leads directly to poor selection decisions. What an LLM platform delivers is already a complete inference and execution engine:
- Understanding layer: Accepts multimodal inputs including text, images, tables, documents, audio, and video.
- Reasoning layer: Decomposes and plans around a problem, and calls tools to retrieve external information.
- Execution layer: Turns plans into code, files, data, or system operations, then iterates and refines based on feedback.
- Delivery layer: Produces outputs that are clearly structured, directly usable, and ready to enter business workflows.
Accordingly, the focus of evaluation should shift from “how well it answers” to “how well it completes the task.” The “multimodal models” discussed here include mainstream modalities like text-to-text, image-to-text, and text-to-image, as well as extended directions like text-to-video. For models whose strengths lie in images, video, or audio, the quality, controllability, stability, and cost of a single generation should also be included in the evaluation.
2. What’s New in Model Capabilities—and How to Verify Claims
2.1 More Solid Reasoning, but Scores Depend on the Benchmark
Based on public information, the new generation of models generally shows improvements in general knowledge, mathematics, logic, and code reasoning. Take Baidu’s ERNIE series as an example: according to public leaderboards and official statements, ERNIE 5.1, ERNIE X1.1, and related models have appeared in public evaluations such as the LMArena text and search leaderboards. However, specific rankings, the time window of the statistics, and evaluation set versions should be based on the official release pages; these results have not yet been independently re-tested.
Here’s a point worth emphasizing: a leaderboard is usually an aggregate of results from a subset of models, not a complete ranking. When using leaderboards, don’t just look at “what place it’s in”—pay attention to:
- What the evaluation set is, and whether it includes tasks close to your business;
- The test method: human scoring, automatic scoring, or a combination;
- Whether the sample size is sufficient, and whether there’s an element of chance;
- Whether the scoring rules are transparent, and whether they include failure penalties;
- Whether the leaderboard was updated recently, and whether it distinguishes base models, reasoning models, and multimodal models.
Without this information, a single ranking can serve only as a reference, not as a basis for selection.
2.2 Stronger Agent Capabilities, but They Depend on the Framework and Tool Chain
Agent capability is a key direction for the new generation of models. According to vendor documentation or public developer feedback, some models can break a complex search task into multiple sub-goals and apply credibility weighting to information from different sources. This capability suits scenarios like complex retrieval, information synthesis, and cross-document Q&A, but it hasn’t been independently re-tested by all developers, so real-world effectiveness still needs to be validated against business data.
For agent tasks, the key isn’t just whether the model can “think,” but also whether the tools can “run to completion.” Common bottlenecks in public feedback include:
- The platform imposes overly strict limits on the number of tool-call rounds;
- Complex tasks hit the round limit midway;
- Insufficient support for structured arrays and nested objects;
- Incomplete timeout, interruption, and recovery mechanisms;
- Insufficient failure logs, making it hard to locate problems.
So it’s necessary to clarify the boundaries of responsibility:
- The model: determines whether it can “come up with” a plan—that is, planning, reasoning, decision-making, and self-checking capability.
- The framework and gateway: determine whether it can “get done”—that is, whether the workflow executes end to end, whether tools are available, and whether failures can be recovered from.
A capable model, dragged down by a low-quality wrapper, delivers a much worse experience in practice. Evaluation can’t look at the model alone; it must examine the entire call chain.
3. Evaluation Framework: Four Dimensions, One Executable Process
3.1 Logic and Reasoning: Use Median Scores Instead of Averages
General knowledge questions, math questions, logic puzzles, and code reasoning questions form the foundation of logical capability. Two points deserve attention during evaluation:
First, a leaderboard isn’t a complete ranking. Leaderboards usually aggregate results from a subset of models rather than being a full ranking; when using them, pay attention to the evaluation set, test method, sample size, scoring rules, and update time.
Second, the questions and test methods must be as transparent as possible. The score gap for the same model under different test methods can be larger than the real gap between models.
For top-tier models with similar capabilities, average scores are easily skewed by a few extreme questions. Median scores are less sensitive to individual “out-of-syllabus” questions or random fluctuations, giving a more stable picture of a model’s general level. That said, medians aren’t a cure-all—they’re better suited for comparing the overall level of top-tier models, but still need to be cross-validated with your own evaluation set.
Conditions for applying median scores include:
- Enough evaluation questions—not just a dozen or so;
- A stable difficulty distribution, avoiding a session that’s all hard or all easy;
- Consistent scoring rules, especially for subjective, coding, and open-ended questions;
- The same model version using the same prompts, the same temperature setting, and the same calling method;
- A private evaluation set that covers real business tasks, not just replicas of public questions.
Code example (median score calculation):
from statistics import mediandef median_score(model_scores: dict) -> dict:"""model_scores: {model_name: [score_per_question, ...]}Returns {model_name: median_score} sorted by median score in descending order."""return dict(sorted(((name, median(scores)) for name, scores in model_scores.items()),key=lambda item: item[1],reverse=True))
3.2 Agent Tasks: Planning, Tool Use, and Task Completion Rate
Agent capability can’t be judged by a single-turn answer alone; it needs to be placed within a real “goal–tool–feedback–acceptance” loop. Core metrics can include:
| Metric | Meaning | Focus |
|---|---|---|
| Task completion rate | Share of tasks that ultimately pass acceptance | Whether the output is truly usable |
| First-pass success rate | Share that meets the bar without manual rework | How well the model and tool chain work together |
| Average rounds and latency | Tool calls and time needed to complete a task | Whether it hits limits or drags on |
| Task adaptability | Variance in performance across task categories | Whether it’s skewed toward certain tasks |
| Cost per task | Total cost to complete a task | Long-term overhead in high-frequency scenarios |
To make this concrete, here’s a sample agent evaluation case:
- Task input: Given an e-commerce product page URL, a product image, and a promotion rules document, extract the product name, price, stock, and discount conditions, and generate an exportable Markdown table.
- Tool calls: Web scraping, OCR, table generation, data validation, file output.
- Acceptance criteria: Complete fields, consistent price and discounts, traceable sources, correct table structure, and directly deliverable to the business system.
- Failure cases: The task aborts because the tool-call round limit is exceeded; parsing fails because the structured array is too long; OCR misrecognizes something with no second-pass validation; the table is generated correctly but the source isn’t annotated.
- Scoring sheet: Task completion rate, first-pass success rate, average rounds, average latency, cost per task, error type distribution, and manual takeover rate.
From public feedback, the new generation of models tends to be more complete in planning, tool use, and closing the task loop, but in high-frequency scenarios, the extra planning and validation rounds amplify time overhead. Here, task routing can help: route simple queries to a lightweight model or cache path, and reserve complex tasks for the flagship model.
3.3 Coding Delivery: From “Generating Code” to “Shipping a Product”
Coding tasks are best executed end to end with mainstream AI coding tools, comparing the quality of the generated output directly. To gauge coding ability, focus on five aspects:
- First-pass quality: Whether the first generation runs directly and whether it has obvious defects.
- Self-test coverage: Whether the number of test rounds, test types, and coverage are sufficient.
- Visual and interaction details: Whether UI elements, styling, copy, and layout are on point.
- Instruction following: How well it honors the detailed requirements in the prompt.
- Delivery efficiency: The time, tokens, and tool-call costs consumed to complete the task.
Many models do well on pure code generation but fall short in real development scenarios. The root cause is a lack of two kinds of validation:
- Self-testing: Run tests, inspect the output, and fix obvious errors before delivery.
- Visual inspection: Look at the rendered result, rather than just “reading” the code.
From public feedback on recent evaluations of the latest models, the new generation places more emphasis on self-testing and fixing in coding tasks. In some tasks, the “generate–self-test–fix” loop improves the fix rate for edge-case issues. However, this capability is still affected by the platform’s tool-call round limits, timeout settings, file system capabilities, and logging capabilities.
The following is an illustrative implementation—not production-grade code—that mainly demonstrates the engineering approach:
MAX_ROUNDS = 3 # Should match the number of tool-call rounds the platform allowsdef deliver_task(task, model, tools):"""Illustrative implementation: generate, self-test, visual check, fix, manual takeover.In production, also add timeouts, exception handling, logging, cost tracking, and manual takeover policies."""total_cost = 0.0for round_idx in range(MAX_ROUNDS):try:plan = model.plan(task, timeout=task.plan_timeout)artifact = tools.edit(plan, timeout=task.edit_timeout)checks = tools.run_tests(artifact, timeout=task.test_timeout)visual = Noneif hasattr(artifact, "render"):visual = tools.screenshot(artifact, timeout=task.render_timeout)report = model.review(checks, visual, task.requirements)total_cost += estimate_cost(task, model, tools)log_round(round_idx, task.id, report, total_cost)if report.passed:return artifact, round_idx + 1, total_costtask = task.with_feedback(report.issues)except TimeoutError as e:log_timeout(task.id, round_idx, str(e))task = task.with_feedback({"error": "timeout", "message": str(e)})except ToolCallLimitError as e:log_tool_limit(task.id, round_idx, str(e))breakexcept Exception as e:log_error(task.id, round_idx, str(e))task = task.with_feedback({"error": str(e)})# If the round budget is exceeded, a tool limit is hit, or errors persist, hand back to a humanreturn None, MAX_ROUNDS, total_cost
In real deployment, it’s advisable to bake the following capabilities into the agent framework:
- Per-round and total-task timeouts;
- Retries on tool-call failures;
- Structured output validation;
- Logging that tracks each plan, tool call, test result, and cost;
- A manual takeover entry point;
- Archiving failed tasks, to expand the evaluation set over time.
3.4 Cost and Selection: You Don’t Always Need the “Strongest” Model
New-generation flagship models and lightweight models often form a “high–low pairing”: the flagship handles complex reasoning, long-chain agents, and high-quality delivery; the lightweight model handles high-frequency, low-complexity requests; and requests are routed based on task difficulty, latency budget, and cost thresholds.
To measure cost-effectiveness, you must standardize the accounting. Total cost can’t count only input/output tokens—it must also include planning, self-testing, retries, tool calls, retrieval, rendering, and other costs.
Precise accounting:
Cost per task = cumulative input tokens × input unit price + cumulative output tokens × output unit price + tool/retrieval/rendering call costs
For a rough single-turn estimate, it can be written as:
Cost per task ≈ average rounds × per-round token cost + fixed tool costs
One caveat: if tool costs are themselves incurred per round, they should be folded into the per-round cost or the cumulative call cost to avoid multiplying twice. For example, when each call to retrieval, rendering, or OCR is billed, count the cumulative number of calls across the whole task rather than simply multiplying by the average number of rounds.
Selection recommendations for different scenarios are as follows:
| Scenario | Recommended choice | Reason |
|---|---|---|
| Complex search, deep Q&A | Flagship multimodal model | Many retrieval sources; needs multi-round planning and evidence integration |
| End-to-end app generation, code modification | Flagship model + self-test loop | Output quality depends on self-testing and visual inspection |
| High-frequency classification, summarization, simple Q&A | Lightweight model or cache | Better latency and cost |
| Content production, multimodal understanding | Model strong in the relevant modality | Quality, controllability, and cost are the main criteria |
In mixed high/low-frequency scenarios, you can adopt simple routing rules:
def choose_model(task, cost_budget):# High-risk, low-confidence, or complex-reasoning tasks: upgrade to flagship firstif task.risk_level == "high" or task.confidence_score < 0.6:return "flagship"# Complex retrieval, long-chain tool calls, or high-quality delivery tasks: use flagshipif task.complexity_score >= 8 or task.retrieval_sources > 5:return "flagship"# Latency-sensitive tasks: prefer a lightweight model or cacheif task.latency_sensitive and task.complexity_score <= 3:return "lightweight_or_cache"# When cost exceeds budget, downgrade to a lightweight modelif task.estimated_cost > cost_budget and task.complexity_score <= 5:return "lightweight"# Default to a mid-tier model, balancing cost and capabilityreturn "mid_tier"
To assess whether a platform is “comfortable to work with,” focus on five capabilities:
- Whether it’s compatible with mainstream tool-calling conventions, such as function calling, structured output, and JSON Schema;
- Structured data handling capacity, such as array length, nesting depth, and file size limits;
- The maximum rounds allowed per task, plus timeout, interruption, and recovery mechanisms;
- Context length and file upload limits;
- Stability, rate-limiting policies, logging, monitoring, and observability.
These details determine whether a model’s capabilities can be fully unleashed. When building in the cloud, you can handle routing, rate limiting, retries, and cost control uniformly at the gateway layer, and continuously track the real-world performance of each task type through logging services and monitoring alerts.
4. From Evaluation to Production: Making Evaluation Serve the Business
4.1 Build Your Own Evaluation Set
Public leaderboards can only reflect “average capability,” while the business needs to know “how it performs on my tasks.” It’s advisable to extract representative cases from real tickets, customer service conversations, development logs, and content production records to form your own evaluation set.
A usable evaluation set template should include:
- Scenario name;
- Task goal;
- Input materials;
- Expected output;
- Acceptance criteria;
- Failure criteria;
- Scoring rules;
- Manual takeover conditions;
- A regression record after each model update.
4.2 Layered Routing, Not One Model for Everything
Based on task difficulty, real-time load, latency budget, and cost budget, distribute requests to models of different tiers. Simple tasks take the lightweight path, complex tasks take the flagship path, and high-risk tasks are upgraded to a stronger model with human review added.
4.3 Upgrade the Tool Chain and Bake In Key Mechanisms
It’s advisable to bake the following mechanisms into the agent framework:
- Self-testing and visual inspection;
- Evidence credibility assessment;
- Retries on tool-call failures;
- Timeouts and manual takeover;
- Cost tracking;
- Logging;
- Result acceptance and regression testing.
4.4 Track Costs Continuously, Measured per Successful Task
Cost assessment shouldn’t look only at the price per thousand tokens; it should focus on the total cost per thousand successful tasks. Because a single task may involve multiple rounds of planning, tool calls, testing, retries, and fixes. Only by accounting per successful task can you truly reflect business overhead.
4.5 Common Mistakes to Avoid
In practice, the following mistakes are worth avoiding:
- Only looking at public leaderboards, not your own business tasks;
- Not building your own evaluation set, making it impossible to run regressions after model updates;
- Ignoring tool-call round limits, so complex tasks can’t complete;
- Only looking at code generation, not the rendered result or interaction;
- Counting only token costs, not the costs of retries, tools, and manual takeover;
- Treating vendor marketing claims as independent conclusions without re-testing;
- Conflating model capability with framework capability;
- Using one flagship model to handle everything, causing cost and latency to spiral out of control;
- Too few evaluation questions or an unbalanced difficulty distribution, making conclusions coincidental;
- Not archiving failure cases, making it impossible to accumulate the evaluation set.
5. Conclusion
The concentrated release of the new generation of multimodal models marks the shift in LLM competition from “parameters and leaderboards” to “engineering and scenarios.” Logical capability sets the ceiling, agent and coding capability determine usability, and the supporting tools and cost structure determine real-world impact.
For enterprises and individual developers alike, a more rational approach isn’t chasing a single “strongest model,” but building a continuous mechanism for evaluation, routing, and cost monitoring. In an age where “mixing many models” has become the norm, what truly separates the winners is often not which model you chose, but whether you truly understand and master it.
