Multimodal LLM Selection: Cost, Capability, and Agent Evaluation

    This article presents a practical framework for selecting multimodal LLMs based on business acceptance criteria rather than model specifications alone. It covers how to build a capability matrix, evaluate input modalities, context and output budgets, tool calling, reasoning modes, and service constraints; how to measure effective task cost instead of per-call price; how to assess agent reliability across planning, state management, error recovery, and safety controls; and how to run reproducible evaluations, deploy layered routing, and monitor production systems.

    1. Start with Business Acceptance, Not Model Specs

    The same activities—reading materials, generating code, and calling tools—can vary widely in actual cost and completion quality across tasks. The reason is not only the model’s unit price. It also includes input length, generation volume, number of call rounds, failed retries, and the amount of human review.

    For this reason, model selection should first answer three questions:

    • What exactly is the input: plain text, scanned images, charts, or video with temporal order?
    • What counts as an acceptable output: Is correct format enough, or is factual accuracy, complete evidence, and executable code required?
    • What are the consequences of failure: Can the system retry automatically, or could errors cause financial loss, data leakage, or irreversible operations?

    For example, receipt field extraction can be accepted based on field completeness, amount consistency, and format validation. Document question answering requires checking whether answers are supported by the source text. Code modification requires validating the scope of changes, test results, and potential side effects. All three may use the same class of model, but the required capabilities and evaluation methods are clearly different.

    A reasonable selection process should be:

    Define the business task → Set acceptance criteria → Filter the capability scope → Measure effective cost → Validate production reliability.

    Do not interpret “longer context” as “stronger on complex tasks,” and do not assume a lower-priced option is suitable for all high-frequency business workloads.

    2. Build a Capability Matrix First to Avoid Mismatched Comparisons

    Specifications for different models often use different definitions. Before comparison, organize this information into a unified capability matrix and record documentation update dates, deployment methods, and actual configurations.

    Evaluation dimension Question to confirm Business impact
    Input modality Does it support text, images, or direct video input? Determines whether data can be submitted directly and whether preprocessing is required
    Context range How are total context, maximum input, and output limits defined? Affects capacity for long documents and multi-turn execution
    Output budget Does the single-generation limit share capacity with input? Affects long reports, code generation, and tool-parameter output
    Tool calling Does it support structured calls, and is behavior stable? Affects the executability of automated workflows
    Reasoning mode Are different reasoning configurations offered, and how is billing described? Affects quality, latency, and cost for complex tasks
    Service constraints How are concurrency, rate, timeout, and availability limited? Affects production throughput and failure recovery

    Each item in the matrix should distinguish between “documented claims” and “business testing.” The former is used for screening; the latter is used for decisions.

    2.1 Supporting an Input Does Not Mean Understanding Meets Requirements

    Image input may contain text, tables, diagrams, and complex scenes. The fact that a model can receive images does not mean it can reliably recognize small fonts, cross-page tables, or precise spatial relationships.

    Video input also requires further verification: Does the system receive video directly, or does it first convert video into a series of images? Does it process audio? Can it preserve timestamps? How well does it recognize fast actions, long-duration events, and subtle changes?

    If the business chooses frame sampling, evaluate whether the sampling interval may miss key events. For meeting-notes tasks, audio transcription may be an important source of information. For equipment inspection, visual details and temporal order are often more critical. The input method should be determined by the task, not by the modality label.

    2.2 Large Context Does Not Mean Stable Use of All Information

    A context window describes a capacity constraint, not a guarantee of understanding quality for every piece of material.

    Long inputs may contain repetitive content, irrelevant attachments, historical conversations, and tool logs. These increase cost and may also interfere with judgment. Practical evaluation needs to observe whether the model can locate dispersed evidence, identify conflicts between sections, and preserve accurate citation relationships in the output.

    For very long materials, two routes should generally be compared:

    • Place all materials directly into the context.
    • Retrieve relevant snippets first, then ask the model to answer based on evidence.

    The first route is simpler to implement, but cost and latency may be higher. The second route is better for controlling input size, but it depends on retrieval quality. If key evidence is not retrieved, stronger generation capability cannot fully compensate.

    2.3 Output Budget Is Not a Simple Promise of Usable Answer Length

    Input, history, tool descriptions, tool return values, and output may all share context capacity constraints. Different services may also use different counting or billing rules for reasoning content, so tasks should not be planned based on a single “maximum output” number.

    Longer output is not necessarily more valuable. For structured extraction, field correctness and parseability should take priority. For code modification, necessary changes and validation notes should take priority. Controlling output scope is usually more helpful for reducing cost and rework than pursuing output length.

    3. Shift from “Per-Call Cost” to “Effective Task Cost”

    Unit price is one variable in the cost model, not the final conclusion.

    A business task may include document reading, plan generation, tool execution, result validation, and failure repair. Even if a single call is cheap, the final cost may still be high if repeated retries or substantial human correction are required.

    A general formula for total task cost can be used:

    Total task cost = model invocation cost + data preprocessing cost + tool execution cost + infrastructure cost + human review cost.

    Model invocation cost needs to sum all requests during task execution, including retries and follow-up fixes. If a service distinguishes input categories, cache states, or reasoning configurations, count them separately according to the actual billing rules in use. Do not assume all services apply the same rules.

    A more business-relevant metric is:

    Effective task cost = total cost during the test ÷ number of tasks meeting acceptance criteria.

    This metric should be reported together with success rate and coverage. If a solution handles only simple tasks, it cannot be compared directly with a solution that handles all complex tasks.

    3.1 Identify Cost Amplification in Multi-Turn Execution

    Each agent round may carry history messages, tool definitions, and previous tool results again. As execution rounds increase, cumulative input volume may continue to grow.

    Common optimization methods include:

    • Provide only the tools needed for the current stage rather than exposing all tools.
    • Filter verbose tool results to retain key fields and evidence locations.
    • Store stable state in external storage to avoid repeatedly copying it into the conversation.
    • Set limits on rounds, time, and cost for tasks.
    • Use rule-based fixes when errors are deterministic, avoiding meaningless repeated generation.

    Context compression should not focus only on brevity. User constraints, confirmed facts, execution state, and evidence provenance should all be preserved; otherwise, duplicate operations or lost decision basis may occur.

    3.2 Cache Benefits Must Be Validated Against Real Workloads

    If a service provides cache billing mechanisms, verify their applicable conditions, validity period, and matching method. The existence of repeated content in business workloads does not mean the expected cache benefit will necessarily be achieved.

    Measure the cost, latency, and hit behavior of first requests versus repeated requests separately, and incorporate the duplication ratio in actual traffic into the budget. For frequently changing materials, caching may cover only a small portion, so an ideal hit rate should not be used to estimate total business cost.

    4. Agent Evaluation Should Focus on the Full Execution Chain

    Being able to generate a tool-call request only shows that the model has the basic ability to connect to tools. Whether a complex agent can complete tasks reliably also depends on planning, state management, error handling, and the execution environment.

    4.1 Tool Selection and Parameter Correctness

    Evaluation should cover cases with similar tool names, missing parameters, ambiguous input, and temporarily unavailable tools.

    The model needs to know when to call a tool, when to ask a follow-up question, and when to stop. Key parameters such as amounts, time, resource identifiers, and operation scope should be validated by programs rather than relying solely on the model.

    4.2 Multi-Step Planning and State Maintenance

    Complex tasks may require retrieving materials first, then reading files, then generating a modification plan and executing validation. The model should be able to adjust subsequent steps based on tool return results rather than mechanically repeating the original plan.

    Tests should specifically include the following situations:

    • A step fails, but an alternative path still exists.
    • A tool returns only partial results.
    • An operation has succeeded, but the response is lost.
    • New evidence conflicts with previous assumptions.

    These situations can expose problems such as duplicate execution, state confusion, and premature declarations of success.

    4.3 Error Recovery and Stop Conditions

    After a tool error, the system should distinguish between input errors, permission errors, transient failures, and business rejections. Transient failures can be retried within limits. Insufficient permissions should stop execution and prompt the user. For irreversible operation failures, the actual state must be checked rather than blindly executing again.

    An agent must have explicit stop conditions, including task completion, insufficient information, reaching the budget limit, and triggering safety boundaries. Infinite loops waste resources and also amplify operational risk.

    4.4 Safety Controls Must Be Enforced at the Execution Layer

    External documents, web content, or tool return values may contain injected instructions. The system should treat them as data to be processed, not automatically elevate them into execution permissions.

    For operations involving deletion, payment, publishing, or permission changes, authorization checks or human confirmation should be set up. The tool execution layer should also restrict accessible resources, validate parameters, record audit logs, and design duplicate-prevention mechanisms for repeatable operations.

    The model can suggest actions, but it should not be the sole basis for permission control.

    5. Use a Unified Test Set to Build a Reproducible Evaluation Process

    5.1 Build Layered Samples Based on Real Tasks

    The test set should cover routine tasks, boundary tasks, and high-risk tasks. Image-text workloads can include blurry scans, complex tables, rotated pages, and image-text contradictions. Long-document workloads can include cross-section evidence and version conflicts. Agent workloads should include timeouts, insufficient permissions, and duplicate responses.

    Sample size should be determined based on task variance, risk level, and resource budget. Small-scale tests can be used for initial screening, but when comparing closely matched options, the sample should be expanded and uncertainty reported.

    5.2 Standardize Conditions While Preserving Necessary Adaptation Space

    Cross-model testing should standardize task materials, tool permissions, acceptance rules, retry policies, and budget constraints.

    However, standardized conditions do not mean forcing exactly the same interaction format. Different services may require different input packaging methods. Necessary adaptation is acceptable, but changes should be recorded to avoid mistaking gains from extra manual optimization for differences in model capability.

    5.3 Use Multi-Metric Acceptance

    At minimum, record:

    • Task success rate and first-pass completion rate
    • Factual error rate and evidence coverage
    • Parseability rate of structured output
    • Tool-call and parameter error rates
    • Average latency and high-percentile latency
    • Average execution rounds and retry count
    • Cost per accepted task
    • Human review time
    • Safety violations and privilege-escalation attempts

    Structured output can be validated by rules, code tasks can be validated through tests, document question answering can check evidence support, and high-risk content requires human review. Reliability should not be judged only by language fluency.

    5.4 Turn Failure Cases into Improvement Inputs

    For each failed task, retain the desensitized input, key call records, error type, and acceptance conclusion.

    If the failure comes from data quality, improve preprocessing first. If it comes from missing retrieval, adjust evidence acquisition. If it comes from ambiguous tool parameters, improve tool descriptions and validation. If it truly comes from insufficient reasoning, then consider upgrading model capability.

    This avoids attributing every problem to the model and reduces unnecessary replacement costs.

    6. Production Deployment Is Better Served by Layered Routing Than a Single Solution

    After evaluation, routing strategies can be established based on task risk and complexity:

    • Simple extraction, classification, and format conversion enter a cost-first path.
    • Multi-evidence integration, complex code modification, and long-chain planning enter a capability-first path.
    • For video tasks, choose the processing method first based on audio requirements, temporal information, and visual details.
    • Operations involving sensitive or irreversible actions enter a human-confirmation path.

    Upgrade conditions should rely on observable signals where possible, such as format validation failures, missing evidence, failed tests, or consecutive tool errors, rather than trusting only the model’s confidence in its own answers.

    At launch, use small-traffic canary releases or shadow testing to observe cost, latency, and error types under the real input distribution. After acceptance criteria are met, gradually expand traffic and retain a clear rollback mechanism.

    Continuous monitoring is equally important. Model configurations, tool definitions, knowledge materials, and business traffic may all change, and any critical change should trigger regression testing. Logs should also follow the principles of minimal collection, desensitization, and access control to avoid expanding sensitive data exposure for evaluation purposes.

    7. Final Decision: Choose a System That Consistently Completes Tasks

    The core of multimodal LLM selection is not finding the most prominent number in a specification table. It is confirming whether the entire system can consistently produce acceptable results within given cost, latency, and risk boundaries.

    In practice, four principles can be followed:

    First, filter options by input type and acceptance criteria, not by capability inferred from naming.

    Second, compare economics using effective task cost, not only per-call price.

    Third, evaluate agents through the full execution chain, and do not equate tool-call support with reliable automation.

    Fourth, control risk through layered routing, programmatic validation, and continuous regression rather than handing all responsibility to the model.

    When the evaluation object shifts from “model specifications” to “business systems,” teams can more accurately determine which tasks are suitable for automation, which tasks require capability upgrades, and which steps must retain human oversight. Only then does the selection result have engineering value that is explainable, reproducible, and continuously optimizable.