Multimodal LLM Selection: Cost, Capability, and Agent Testing
Choosing a multimodal large language model is less about picking the strongest one and more about finding the combination that minimizes cost per task while passing on the first attempt. This article presents a vendor-neutral selection method built on four steps: narrowing candidates by input modality and acceptance criteria, aligning specification definitions such as context window notation and output budget, building a cost model based on cost per task rather than per-token price, and re-testing candidates in agent scenarios with one shared task set. It also covers a cost-controlled trial order, routing with automatic fallback, and a checklist of common mistakes, including treating output budget as answer length and ignoring model version drift. The conclusion is that a spec sheet only defines feasibility boundaries; effectiveness conclusions must come from your own evaluation data.
1. The Real Question Is Not “Which Model Is Strongest” but “Which Combination Is Cheapest and Passes First Time”
In real engineering work, teams often face four or five multimodal LLMs with nearly identical capability descriptions: all claim image understanding, all support function or tool calling, and all offer context windows in the millions. When the marketing claims look alike, a spec sheet alone cannot support a decision, so selection degrades into “pick the cheapest” or “pick the one with the biggest parameters.” Both choices carry a price after launch. The first shows up as a low first-pass rate, which drives up retries and manual verification costs. The second shows up as expensive single requests and squeezed output once the context is filled.
A more reasonable approach is to ask three quantifiable questions:
- What is the cost per task, rather than the price per token?
- What is the first-pass rate, and what is the rework rate?
- Under a fixed output budget, can the task be fully expressed?
This article does not compare any specific vendor products. Instead, it abstracts this kind of selection into a general method: filtering by input modality, aligning specification definitions, building a cost model, and re-testing in agent scenarios.
2. Step 1: Narrow the Candidate Pool by Input Modality and Acceptance Criteria
Differences in multimodal capability show up first in “what the model can ingest.” The common tiers are: text and images only; text, images, and video; and longer pipelines that include audio. If the business only needs to read screenshots, documents, or charts, the candidate pool can immediately be narrowed to image-and-text models. If the system must directly understand screen recordings, surveillance clips, or instructional videos, options without video input must be filtered out first; otherwise every later comparison is meaningless.
Acceptance criteria should be written down before filtering, for example:
- Structured output: field completeness rate, type correctness rate, valid enum value rate;
- Extraction tasks: recall of key fields and the cost of wrong extraction (wrong extraction is often more expensive than a missed one);
- Code tasks: compilability rate, unit test pass rate, number of static check warnings;
- Image-and-text Q&A: accuracy of numeric reading, consistency of units and dimensions.
Putting acceptance criteria first matters because they determine how “first pass” is measured later, and they prevent subjective impressions from replacing metrics.
3. Step 2: Align Specification Definitions So Different Units Are Not Treated as Exactly Equal
Three things in the public specs of four models are the easiest to misread.
First, context window notation is not uniform. Some use an integer such as “1,000,000 token,” some write “1M with a maximum input of 960k,” and some give “1,048,576.” These numbers cannot be treated as fully equivalent in engineering. For capacity planning, keep each vendor’s original wording and leave a safety margin.
Second, the single-response output budget varies enormously, from tens of thousands to hundreds of thousands of tokens. The output budget is often misunderstood as “final answer length.” In reality, for reasoning models the chain of thought and the final answer share the same generation budget, so long reasoning eats into the space available for the answer.
Third, whether input and generation share the total window. In some implementations, the current input and the current generation share the same window limit, which means you cannot assume you can “fill a million input tokens first and then output another million on top.”
Illustrative capacity check logic:
def fits_window(prompt_tokens, reserved_output, window, shared=True):if shared:return prompt_tokens + reserved_output <= windowreturn prompt_tokens <= window and reserved_output <= window# The reserved output must cover the chain of thought, not just the final answerok = fits_window(920_000, 60_000, 1_000_000, shared=True)print(ok) # False: when input is nearly full, generation space is already insufficient
Engineering recommendation: express “input truncation strategy, output reservation ratio, and failure fallback path” as configuration items rather than scattering them across business code.
4. Step 3: Build a Cost Model Based on Cost per Task
A price list cannot directly answer whether something is expensive, because the real bill is determined by four variables: input tokens, output tokens, number of retries, and the proportion of manual review. It can be written as:
cost per task = (input tokens × input price + output tokens × output price) × (1 + retry rate) + manual review cost
The retry rate is strongly correlated with the first-pass rate. A model with a low unit price but a noticeably lower first-pass rate is often more expensive in scenarios where wrong extraction is costly. Conversely, in fault-tolerant scenarios with automatic verification, such as batch summarization or label classification, the cost advantage of a low-price model is amplified.
Three points about billing definitions also need attention: images and video are usually billed by area, duration, or a converted token count; cache hits often have a separate price; and billing for reasoning model output includes the reasoning process. When budgeting, use “per thousand business tasks” as the unit rather than “per million tokens.”
5. Step 4: Agent Scenarios Must Be Re-tested with the Same Task Set
Tool-calling capability cannot be inferred from a name suffix, and “longer context” does not equal “higher agent success rate.” The real failure points in an agent pipeline are concentrated in: wrong tool selection, parameter hallucination, loss of state across turns, instruction drift under long histories, and failure to self-correct after an error.
It is advisable to build an internal task set of 30 to 100 items covering:
- Single tool, single turn: reading a file, retrieval, calculation;
- Multiple tools chained: query then write, with rollback on failure;
- Long context: locating a small amount of key information within a large amount of irrelevant material;
- Strictly constrained output: must return a fixed schema with no added or removed fields;
- Adversarial input: document content containing misleading instructions.
Unified evaluation script skeleton:
tasks = load_tasks("agent_evalset.jsonl")for model in candidates:stats = {"pass": 0, "retry": 0, "tokens_in": 0, "tokens_out": 0}for t in tasks:r = call_model(model, t.messages, tools=t.tools,max_output=t.reserved_output)stats["tokens_in"] += r.usage.inputstats["tokens_out"] += r.usage.outputif check(t.acceptance, r):stats["pass"] += 1else:stats["retry"] += 1report(model, stats) # pass rate, average turns, cost per task
The evaluation must fix the temperature, fix the maximum output, and fix the system prompt, and it must record version numbers. Otherwise the data is not reproducible and the selection conclusion will break after the next round of tuning.
6. Recommended Trial Order and Decision Path
A cost-controlled sequence is:
- High-frequency image-and-text and structured tasks: first use a low-price tier model to establish a cost baseline and a pass-rate baseline;
- Budget-sensitive work that needs a larger generation budget: bring in a high-output-budget tier model for comparison and observe completion quality on long-output tasks;
- Scenarios involving direct video input: first filter candidates that support video input, then enter re-testing with the same task set;
- Final selection for complex agents: decide only on pass rate, average turns, and cost per task from the same task set, and if necessary adopt a routing strategy where “simple tasks go to the low-price model and hard tasks go to the high-price model.”
The key to routing is confidence estimation and automatic fallback: when verification fails or a tool returns an error, switch to a backup model and feed the failed samples back into the evaluation set, forming a closed loop.
7. Checklist of Common Mistakes
- Treating the output budget as answer length and ignoring chain-of-thought consumption;
- Treating context window notations in different units as exactly equal;
- Using public leaderboards instead of business re-testing;
- Counting only token unit price and not retries and manual costs;
- Ignoring model version drift and failing to pin versions and prompts;
- Providing no truncation or fallback strategy when approaching the window limit.
8. Conclusion
Selecting a multimodal LLM is essentially a quantifiable engineering experiment: first narrow candidates by input modality, then align specification definitions, then measure first-pass rate and cost per task with a unified task set, and finally use routing and fallback to push cost into a reasonable range. The spec sheet only provides feasibility boundaries; effectiveness conclusions must come from your own data. If you already use relevant general capabilities from Baidu AI Cloud, such as object storage for holding samples and log services with monitoring alerts for observing call chains, you can connect evaluation and online observation into a single closed loop, so the selection conclusion keeps updating as the business evolves.
