Selecting Multimodal LLM Agents: Capability, Cost, and Reproducible Evaluation

    This article provides a structured approach to evaluating and selecting multimodal large language models (LLMs) for agentic workflows. It breaks down selection criteria into four hard dimensions—input types, context window, output budget, and reasoning mechanism—and emphasizes moving from per-token pricing to cost-per-successful-task. The article details a cost formula, a five-category evaluation task set, and a reproducible testing methodology with unified prompts, tools, and acceptance criteria. It also recommends a dual-candidate routing and monitoring strategy for production deployment. The goal is to help engineering teams avoid common pitfalls such as mistaking specification sheets for real-world performance and to make data-driven decisions based on pass rates, rework rates, and total cost.

    1. Clarify First: Selection Is Not a Specification Ranking

    When multimodal large language models (LLMs) enter agent scenarios, teams are most easily misled by two factors: suffixes like “large,” “fast,” or “pro” in model names, and simple visual comparisons of input/output unit prices. Both have reference value, but neither directly answers the key question: In real business tasks, which candidate can complete acceptance at the lowest “cost per successful task”?

    For the same set of operations—reading files, writing code, calling tools—different models can consume vastly different resources per round. The reason is not only unit price but also input length, output budget, thinking process consumption, tool-calling rounds, failed retries, and manual rework. Therefore, selection should first define acceptance criteria, then perform cost estimation, and finally re-test all candidates using the same task set. Specification tables only describe boundary conditions; they cannot replace actual validation.

    A safer trial order is:

    • For high-frequency image-text and structured tasks, first use the low-cost candidate to establish a cost baseline.
    • For budget-sensitive tasks requiring a large generation budget, add a candidate with a broader output budget.
    • For tasks involving direct video input, prioritize candidates that support native video understanding.

    Ultimately, the choice for complex agent workloads must be decided by running the same task set across all candidates.

    2. Four Hard Dimensions: Input, Context, Output Budget, and Reasoning Mechanism

    When evaluating candidate models, break down the specification into four hard dimensions rather than just looking at “context size.”

    First, input types. Text, images, and video require different processing pipelines. Batch image-text extraction, receipt recognition, and page understanding demand different capabilities than direct video question answering or long-video summarization. If the business requires direct video understanding, verify early whether the candidate natively supports video input, including frame sampling, temporal event reasoning, and long-video truncation strategies.

    Second, context window. A large context is suitable for long documents, multiple files, and multi-turn dialogue, but “total window” does not mean “unlimited input plus unlimited output.” In some implementations, input and the current turn’s generation share the same total window—when input approaches the upper limit, the output space shrinks. Ask these questions during selection:

    • What is the maximum input size?
    • What is the maximum output size?
    • Is input and output budget shared?
    • What happens when limits are exceeded—truncation or an error?

    Third, single-output budget. The output budget is not equivalent to final answer length. Thinking processes also consume generated tokens; in reasoning modes, some models share the same generation budget between the chain-of-thought and the final answer. If the business requires long reports, long code, or large structured objects, the output budget must be part of acceptance testing—not just short Q&A measurements.

    Fourth, reasoning mechanism and pricing. Different candidates may have different billing policies for reasoning mode, non-reasoning mode, caching, batches, and failed retries. Price comparisons should be unified to “cost per successful task,” not “per thousand-token price.” In agent scenarios with multi-turn calls, a cheaper per-turn price with frequent retries can lead to a higher total cost.

    Use the following generic checklist to organize the evaluation:

    Dimension Questions to Ask Reproduction Method Common Mistake
    Input types Does the model support the required images, video, and long documents? Test with stratified real samples Extrapolating text-only capability to video
    Context window Input limit, output limit, shared window? Construct long tasks approaching limits Treating total window as output budget
    Output budget Are thinking tokens counted? What happens on overrun? Test with long reports, long code, large structured output Treating budget as answer length
    Pricing Are input/output priced separately? Are retries billed? Accumulate tokens and costs per task Comparing only single-request unit price
    Agent capability Tool-call parameter accuracy, recovery behavior Run multi-turn with a fixed tool set Inferring success rate from specification

    3. Cost Accounting: From Per-Request Price to Cost per Successful Task

    Cost estimation should follow this generic formula:

    1. Per-task cost =
    2. Input token cost
    3. + Output token cost
    4. + Thinking token cost
    5. + Tool-call round cost
    6. + Failed retry cost
    7. + Manual acceptance and rework cost

    The first four items are model-side costs; the last two are business-side costs. Many selections only calculate the first two, only to discover after launch that rework and manual validation dominate. A more meaningful metric is:

    1. Cost per successful task = Total cost / Number of tasks passing acceptance

    If candidate A has a lower unit price but only 70% one-shot pass rate, while candidate B has a slightly higher unit price but 90% one-shot pass rate, the final cost per successful task may reverse. This is especially true in agent scenarios: a single incorrect tool-call parameter can trigger multiple retries, and costs accumulate per round.

    Record the following fields during reproduction:

    1. Candidate ID, task type, input tokens, output tokens, thinking tokens,
    2. number of tool calls, number of retries, one-shot pass (yes/no),
    3. rework reason, P95 latency, per-task cost, acceptance verdict

    Do not compare different unit conventions (e.g., K vs. M) as exact numbers. Different documents may use approximate notation; unify the unit and rely on actual call statistics. Also verify API identifiers and version aliases—you may accidentally test an older version while the production call uses a newer one.

    4. Agent Scenarios: Success Rate Comes from Toolchain and Acceptance

    Four types of candidates (e.g., text-only, image-text, video-capable, and reasoning-optimized) may all support tool calling, but “support tool calling” does not mean “high agent success rate.” Naming suffixes, context length, and specification parameters do not directly prove capability in complex tasks involving planning, parameter filling, error recovery, and multi-turn state management.

    For agent scenarios, decompose testing into five task categories:

    1. Image-text extraction and structured output: check field completeness, format stability, and long-image understanding.
    2. Long-document QA and summarization: check context utilization, citation accuracy, and truncation behavior.
    3. Video understanding: check temporal event localization, key-frame selection, and long-video compression.
    4. Tool calling: check parameter types, required fields, idempotency, and error-code handling.
    5. Multi-turn tasks: check state retention, plan correction, and failure recovery.

    Acceptance metrics go beyond “answer correctness” to “stable delivery”:

    • One-shot pass rate: percentage of tasks that pass without manual modification.
    • Rework rate: percentage of tasks requiring modification due to format, field, tool-parameter, or factual errors.
    • Retry recovery rate: whether the agent can automatically correct and continue after tool failure.
    • P95 latency: whether long-tail tasks degrade the user experience.
    • Cost per successful task: the combined cost including retries and manual validation.
    • Security and compliance: sensitive information handling, unauthorized tool calls, output traceability.

    5. Reproducible Evaluation Methodology

    Reproduction should follow the principle of “same task, same prompt, same tools, same acceptance.” Do not use different prompts to “favor” each candidate; otherwise, results are not comparable.

    1. 1. Stratified sampling from real business tasks: several each for simple, normal, hard, and long-tail cases.
    2. 2. Fix prompt templates, tool definitions, timeout and retry policies.
    3. 3. Run each candidate on the same task set, repeat multiple rounds to observe stability.
    4. 4. Collect one-shot pass rate, rework rate, token consumption, tool rounds, P95 latency.
    5. 5. Compute cost per successful task and log failure samples.
    6. 6. Attribute failures: input truncation, output budget exhaustion, thinking budget limits,
    7. tool-parameter errors, shared context window shortfall, format instability, etc.
    8. 7. Run a small-scale canary test to observe cost and acceptance changes under real traffic.

    Pseudo-code:

    1. task_set = build_stratified_tasks(image_text_extraction, long_doc, video_qa, tool_call, multi_turn)
    2. for candidate in candidate_model_list:
    3. results = batch_run(candidate, task_set, fixed_prompt, fixed_tool, fixed_retry_policy)
    4. metrics = compute(one_shot_pass_rate, rework_rate, avg_input_tokens, avg_output_tokens,
    5. thinking_tokens, tool_rounds, p95_latency, cost_per_successful_task)
    6. record(candidate, metrics, failure_attribution)
    7. selected = candidate with lowest cost_per_successful_task among those meeting acceptance thresholds

    6. Deployment Strategy and Conclusion

    Selection is not a one-time event. Model versions, pricing, and output budgets change. A recommended approach is “dual candidates + routing + monitoring”:

    • Simple tasks go to the cost-baseline candidate.
    • Complex tasks go to the stronger candidate.
    • When failure rate or latency exceeds thresholds, automatically degrade or switch.
    • Continuously record cost per successful task and rework reasons.

    In summary, multimodal LLM agent selection should:

    • First, examine input types and acceptance criteria.
    • Second, calculate costs.
    • Third, reproduce testing using the same task set.

    Context length, output budget, reasoning mechanism, and pricing must be compared under unified conventions. Specifications are not a ranking of effectiveness; name suffixes are not proof of capability. Only by putting “one-shot pass rate, rework rate, and cost per successful task” on the same table can you select a candidate that truly fits your business.