Multimodal LLM Selection: Pricing, Capabilities, and Agent Scenario Evaluation
Selecting multimodal large language models (LLMs) for agent workflows is often oversimplified to comparing parameter counts and unit prices. However, real-world costs can vary significantly due to differences in input modalities, output budgets, reasoning mechanisms, and tool-calling success rates. This article explores a pragmatic approach to model selection, starting from defining acceptance criteria and calculating the true "cost per successful task." It delves into evaluating capability dimensions, conducting consistent agent re-testing, and avoiding common pitfalls to align pricing, capabilities, and specific business scenarios.
When integrating multimodal large models into agent workflows, the selection process is often reduced to “checking parameters and comparing unit prices.” In real-world business applications, however, tasks like reading files, writing code, and calling tools can incur single-turn costs that differ by several multiples, with the total cost of complex tasks varying even more. The reasons are not mysterious: varying input formats, output budgets, thinking mechanisms, tool-calling success rates, and rework rounds after failures can all inflate or deflate the apparent unit price. Therefore, selection should not start with leaderboards, but with acceptance criteria; instead of asking “how much per million tokens,” you should ask “how much does it cost to complete a task that passes acceptance.”
1. Define Acceptance Criteria Before Comparing Capabilities
The first step is not listing models, but breaking down business tasks into observable inputs, outputs, and acceptance conditions. It is recommended to define at least four categories of fields.
First, input modality. Does the task contain only text, or does it include images, scanned documents, screenshots, and tables? Does it require direct video understanding, or can it be processed after frame extraction, OCR, or speech-to-text? Direct video input and the “frame extraction + visual understanding” pipeline have completely different costs, latencies, and error sources, and should not be compared in the same pricing table.
Second, output contract. Is the output a natural language summary, structured fields, code patches, tool-calling sequences, or multi-turn plans? Structured outputs require checking field completeness, type validity, and reference accuracy; code tasks require checking compilability, testability, and patch minimization; tool-calling tasks require checking parameter validity, call sequence, and failure recovery.
Third, quality thresholds. Do not just look at average accuracy; define metrics such as first-pass rate, manual rework rate, tool-calling parameter validity rate, key field recall rate, and reference completeness. For agents, “passing the first time” is more important than “occasionally being amazing,” because every failure can trigger retries, manual intervention, and context replays.
Fourth, latency and throughput. Interactive agents care about time-to-first-byte and P95 completion latency; batch processing cares about throughput and concurrency costs. Failure to meet latency requirements will change the product form, which should not be discovered only during cost accounting.
2. Calculate Price Based on “Cost per Successful Task”
Unit price comparison is only a starting point. A more reasonable metric is the “cost per successful task,” which includes at least: input token cost, output token cost, reasoning process consumption, failure retry cost, manual rework cost, and peripheral costs like orchestration, storage, logging, and monitoring.
The estimation logic can be expressed in the following pseudocode:
Input: Task set T, model call configuration C, acceptance function accept()For each task t in T:total_cost = 0for attempt in 1..max_retries:input_tokens = count_input(t, historical_context, tool_returns)output_tokens = count_output(answer, thinking_process, tool_call_parameters)total_cost += input_unit_price * input_tokenstotal_cost += output_unit_price * output_tokensresult = call_model(t, C)if accept(result):record_success(t, total_cost, attempt)breakelse:record_failure_reason(t, result)If not successful:record_manual_rework(t, total_cost)Cost_per_successful_task = total_cost / number_of_successful_tasks
This formula reminds us of three things. First, the reasoning process also consumes the generation budget, meaning the “output budget” should not be equated with the “final answer length.” Second, long contexts simultaneously raise input costs and replay costs, especially in multi-turn agents where historical messages, tool returns, and retrieved chunks repeatedly enter the context. Third, retries and manual rework are hidden costs; a low-price model with a low first-pass rate might actually result in a higher total cost.
When reviewing documentation, also note billing metric differences: whether input and output are priced separately, whether the thinking mode shares a budget with the answer, whether the context window is shared between input and current-round generation, and whether cache hits have separate rules. Different unit expressions cannot be treated as exactly equal; estimates must be brought back to the same metric.
3. Capability Dimensions: Context, Output Budget, Multimodality, and Tool Calling
The context window is a necessary parameter but not a guarantee of performance. A million-level context does not mean you can “stuff a million inputs and then output a million.” Many system documents specify maximum input, single-output upper limit, default output budget, and whether input and current-round generation share the total window. During selection, verify item by item: what is the maximum input, what is the single-output budget, whether the thinking mode occupies the same budget, whether tool returns are counted toward the context, and whether the system truncates, summarizes, or throws an error when exceeded.
The output budget is equally critical. Report generation, code patches, and structured field extraction have different length requirements. If the output budget is insufficient, the model may be truncated, resulting in incomplete formats or missing tool parameters; if the budget is too large for a simple task, it may increase unnecessary generation costs. It is recommended to set a minimum viable output budget for each task type and verify the truncation rate through repeated testing.
Multimodal capabilities should be evaluated separately for “direct input” and “preprocessing pipelines.” Direct video understanding can reduce the engineering complexity of frame extraction, transcription, and alignment, but costs and latency need real-world testing; the pipeline of frame extraction + OCR + summarization is more controllable, but errors accumulate. For image tasks, distinguish between screenshots, scanned documents, charts, and handwriting; one sample cannot represent the whole.
Tool-calling capabilities cannot be inferred from the model name or suffix. You need to check: whether tool selection is correct, whether parameters meet the contract, whether the multi-tool calling sequence is logical, whether it can recover after tool errors, whether it makes repeated calls, and whether it stops at the correct termination condition. For complex agents, it is recommended to log the complete call chain and track the tool-calling error rate and recovery success rate.
4. Agent Re-testing Using the Same Task Set
Which model a complex agent ultimately uses should be determined by the same set of tasks. The task set should cover high-frequency main paths, long-tail edge cases, tool failures, insufficient permissions, empty results, and format anomalies. For each task, fix the initial state, tool returns, and acceptance function to avoid different models facing different environments.
It is recommended to adopt stratified sampling and repeated runs: stratify by task type with at least several entries per layer; run non-deterministic outputs multiple times to observe variance; use blind testing or at least hide model identifiers to reduce review bias. Metrics should include at least: first-pass rate, average rework rounds, cost per successful task, P95 latency, tool-calling error rate, structured output validity rate, and manual intervention rate.
The results table can use the following structure:
Task Stratum | Sample Size | First-Pass Rate | Avg Retries | Cost Per Success | P95 Latency | Primary Failure ReasonHigh-freq Image | ... | ... | ... | ... | ... | Missing fields / Screenshot misreadCode Patch | ... | ... | ... | ... | ... | Test failure / Patch too largeTool Calling | ... | ... | ... | ... | ... | Illegal params / Repeated callsVideo Underst. | ... | ... | ... | ... | ... | Temporal misalign / Missing key frames
During re-testing, context strategies must also be consistent: whether retrieval-augmented generation (RAG) is used, whether full history is retained, whether tool returns are summarized, and whether caching is enabled. Otherwise, you are comparing orchestration strategies, not model capabilities.
5. Selection Strategy: Establish a Cost Baseline, Then Expand Capability Boundaries
A pragmatic trial order is: for high-frequency image-text and structured tasks, first use low-cost candidates to establish a cost baseline and observe the first-pass rate and cost per successful task; for budget-sensitive scenarios requiring a larger generation budget, add candidates with more sufficient generation budgets; for scenarios involving direct video input, prioritize candidates that support video understanding pipelines; for complex agents, do not decide based on name suffixes, but re-test with the same task set.
Here, “low cost” does not mean the lowest unit price, but rather that under the current task distribution, the cost per successful task is controllable, failures are explainable, and retries can converge. For high-frequency tasks, a 10% difference in first-pass rate may affect total cost more than unit price differences; for low-frequency, high-value tasks, manual rework costs may far exceed API call costs.
At the deployment and observability level, general cloud product categories can support evaluation: object storage for evaluation sets and artifacts, logging services for call chains and failure reasons, and monitoring alerts for success rates, latency, and cost anomalies. If using Baidu AI Cloud, these general capabilities can be used for evaluation data management, log retention, and metric monitoring, but cloud product capabilities should not be confused with model performance.
6. Common Pitfalls and Landing Checklist
Common pitfalls include: treating suffixes like “large,” “fast,” or “professional” in model names as proof of capability; treating context length as an agent success rate; treating output budget as final answer length; treating unit price as total cost; substituting a few demo samples for a stratified task set; and ignoring tool failure recovery and manual rework.
The landing checklist can be summarized as: First, verify input types, context window, maximum input, single-output budget, thinking budget, billing unit, and sharing rules in the official documentation. Second, define acceptance functions and minimum output contracts for each task type. Third, conduct blind tests and repeated runs using a fixed task set. Fourth, calculate the cost per successful task rather than the single token price. Fifth, roll out gradually and continuously monitor first-pass rate, retry rate, P95 latency, and cost. Sixth, retain failure samples and re-test periodically to avoid a one-time selection remaining unchanged indefinitely.
Conclusion
The end goal of selection is not “which model is the strongest,” but “under given input, acceptance, budget, and latency constraints, which solution can stably complete tasks at an explainable cost.” Define acceptance first, then break down costs, and finally re-test with the same set of agent tasks to truly align pricing, capabilities, and scenarios.
