Choosing a General-Purpose Multimodal LLM: An Evaluation Framework for Pricing, Capability, and Agent Workloads
Choosing a multimodal LLM by its headline per-token price is misleading: for agentic workloads, the dominant cost driver is the number of turns multiplied by the input length of each turn, not the rate on the price sheet. This article reframes model selection around total cost of ownership (TCO) and lays out a practical evaluation framework. It groups current flagship multimodal models into four neutral archetypes, shows how to translate a price table into real per-task cost, and flags specification traps around generation limits, shared context windows, and model snapshot versions. It also explains how to tell multimodal "support" from real usability, how to assess agent capabilities such as tool-call accuracy and long-horizon stability, and presents a three-stage evaluation plan built on acceptance criteria, side-by-side comparison, and staged rollouts. It closes with five actionable cost-and-quality practices and a launch checklist.}
1. Redefining the Problem: A Low Unit Price Doesn’t Mean a Low Total Cost
“Why does reading a file, writing code, and calling a tool cost a few cents in one task but several dollars in another?” The answer breaks down into three multipliers:
Cost per turn ≈ input tokens per turn × input price + output tokens per turn × output price
Total task cost ≈ cost per turn × number of turns, plus multipliers from retries, replays, and multi-path sampling
Every time an agent enters a new turn, it resends the system prompt, tool definitions, conversation history, and tool results to the model. The real cost amplifier is “number of turns × input length per turn,” not just the numbers on the price sheet.
For example, a repair task with 8,000 input tokens and 500 output tokens per turn over 6 turns consumes roughly 48,000 input tokens and 3,000 output tokens in total. If input per turn rises to 30,000, input consumption jumps from 48,000 to 180,000 — nearly a fourfold increase.
So before you open a price sheet, answer four questions:
- Is the task’s consumption mainly on the input side or the output side?
- Who absorbs failures: automatic retries, human review, or outright discarding?
- How large is the downstream loss from a single failure?
- How many times per day are these calls made?
The answers together determine the total cost of ownership (TCO), not the unit price.
2. Neutral Categorization: Positioning and Common Misconceptions About Four Model Archetypes
Here I group the current flagship multimodal models of the same tier (all supporting image understanding, tool calling, and million-token-class context) into four archetypes: A, B, C, and D. The specific product names and model versions from the original comparison material have been removed; only the specification differences that matter for selection remain:
| Archetype | Input types | Context | Max generation per call (per docs) |
|---|---|---|---|
| Type A | Text, image, video | Million-token class | ~130K tokens (non-thinking); ~260K tokens (thinking, with chain-of-thought and answer sharing the budget) |
| Type B | Text, image | Million-token class, max input ~960K tokens | ~64K tokens |
| Type C | Text, image | Million-token class | ~380K tokens max |
| Type D | Text, image, video | ~1.048M tokens | ~130K tokens by default, constrained by remaining context |
Two points need clarifying first:
- The table keeps each vendor’s differing “K” and “M” notation, only to illustrate that limits vary by archetype. No unit normalization has been applied.
- Vendors may adjust specifications and versions at any time, so you must return to the official documentation to verify before going live.
This yields three common misconceptions:
- Misconception 1: A model with a “Max” or “Pro” suffix must be stronger than one with a “Flash” suffix. Suffixes reflect the vendor’s positioning or release cadence; task success depends on how the model performs on your specific task, not on the name.
- Misconception 2: A million-token context means you can feed in a million tokens and still generate hundreds of thousands more. On Type D models, the input and the current-turn generation share the same window, so the output limit shrinks as remaining space decreases.
- Misconception 3: A high official benchmark score means better performance on your business data. Benchmark distributions often differ greatly from your real files, codebases, and tool sets, so your own test results must be the deciding factor.
3. Cost Conversion: Translating the Price Sheet into Task Cost
3.1 Example: Turns and Output Length Are the Real Levers
Below is a comparison using a set of hypothetical unit prices (for demonstration of conversion only):
- Low-price tier: input $2 per million tokens, output $8 per million tokens
- High-price tier: input $10 per million tokens, output $40 per million tokens
Using the task parameters from Part 1 (6 turns, 8,000 input tokens and 500 output tokens per turn):
- Low-price tier: 48,000 × 2 ÷ 10⁶ + 3,000 × 8 ÷ 10⁶ ≈ $0.12
- High-price tier: the same token volume costs about $0.60
The extra $0.48 buys a higher single-pass success rate. What matters is how much rework it saves:
- If a task requires one round of rework on average — each round costing about 4 turns, ~33,000 input tokens, and 2,000 output tokens — one rework on the low-price tier costs about $0.08. Trading $0.48 to avoid a $0.08 rework is not worth it.
- The premium is only worth paying if the high-price tier genuinely and significantly reduces the number of reworks or human interventions.
This gives a simple decision formula:
Benefit of the high-price tier = per-call price difference of high tier vs. low tier ÷ (extra reworks of low tier vs. high tier × cost per rework)
3.2 Three Hidden Rules Beyond the Price Sheet
The price sheet explains only part of the cost. These three rules also determine the bill:
- Input is “resent,” not “accumulated and deduplicated”: with each added turn, all prior input is charged again at full price. Long-task cost grows roughly with the square of the number of turns.
- Output and input prices are often on different scales: the low-price tier’s output price is 4× its input price, and so is the high-price tier’s. Letting the model produce long analyses can easily make output cost overtake input cost.
- Thinking content also consumes the output budget: if thinking mode is enabled, the chain-of-thought and the final answer share the generation quota, so long reasoning eats into the answer’s space.
3.3 Beyond Unit Price: Verify the Billing Rules
- Are input and output priced separately, and what multiple is the output price over the input price?
- Is thinking content billed as output tokens?
- Is there a hit discount such as context caching or prefix reuse?
- Do batch or offline calls have separate pricing?
- How is the free tier calculated?
- Are rate limits counted by number of requests or by tokens?
4. Three Specification Details That Are Easy to Get Wrong
4.1 The Generation Limit Isn’t the Answer Length
Type A’s thinking mode puts the chain-of-thought and the answer in the same quota, so the 260K-token limit must be shared between the two. Type B’s 64K and Type C’s 380K are likewise generation-side limits, distinct from the input window. In engineering terms, leave headroom for “thinking” — a common guideline is to keep the visible answer within half of the generation limit.
from dataclasses import dataclass@dataclassclass OutputBudget:"""Configure per the vendor's actual documentation; use conservative values for unknown fields."""max_output: int = 16_384 # Total generation budget per call (includes thinking content)reserve_for_answer: int = 8_192thought_ratio: float = 0.5 # Estimated share of thinking content; calibrate with real data after launchdef check(self, answer_tokens: int, thought_tokens: int) -> dict:total = answer_tokens + thought_tokensreturn {"within_limit": total <= self.max_output,"answer_ok": answer_tokens <= self.reserve_for_answer,"over_budget": max(0, total - self.max_output),"note": "Thinking content and answer share the budget; exceeding it truncates the answer",}
4.2 Context Is a Shared Window, Not Two Independent Quotas
On Type D models, the input and the current-turn generation share the same window, so the available generation space equals the window length minus the input already used. In practice, do three things:
- Estimate the token count before sending the request;
- Reserve a separate budget for tool results;
- Summarize and compress long conversations rather than endlessly appending history.
MAX_CONTEXT = 200_000 # Example: a soft cap set on the business side; adjust to the chosen model's documentationdef fit_context(history: list[dict], new_input: str, max_context: int = MAX_CONTEXT) -> list[dict]:"""When over the limit, compress the earliest conversation first to leave room for the new input and tool results."""msgs = history + [{"role": "user", "content": new_input}]while len(msgs) > 1 and estimate_tokens(msgs) > max_context * 0.8:msgs.pop(1) # Keep the system prompt, drop the earliest conversationif estimate_tokens(msgs) > max_context * 0.8:# Compromise: summarize the earliest history into a digest, keeping key conclusionsmsgs = [{"role": "system", "content": "The following history has been compressed into a summary:"},{"role": "user", "content": summarize(msgs)}]return msgsdef estimate_tokens(msgs: list[dict]) -> int:"""Rough estimate: Chinese ~1 char ≈ 1 token, English ~4 chars ≈ 1 token; calibrate with the official metering API after launch."""return sum(len(m.get("content", "")) for m in msgs)
4.3 Align Model Identifiers with the “Snapshot Version”
A vendor’s public name, API identifier, and actual deployed version often don’t map one-to-one. The same name may point to different snapshots at different times. The recommended approach:
- Lock the snapshot version before launch and record the version number;
- Run regression tests with a fixed case set to confirm behavior hasn’t drifted after an upgrade;
- Log the version used in request metadata for later traceability and attribution.
5. Multimodal Capability: Distinguish “Supports” from “Usable”
All four archetypes support image input, but what really determines business success is preprocessing and task division:
- Supporting image input doesn’t mean supporting every image format; vendors usually set limits on resolution, per-image size, and the number of images per request.
- Video input also comes in two kinds: one sends the video as-is and lets the model understand the temporal sequence itself; the other has the caller extract frames and send them as a sequence of images. The former is easier; the latter is more controllable but requires you to implement frame extraction, deduplication, and key-frame selection yourself.
- Don’t push all document parsing onto the model. Run OCR first on scanned documents, extract tables into structured form first, then use the model for validation and summarization — this is often more stable and cheaper than having the model “read the whole document directly.”
6. Agent Capability: Tool Calling, Long Tasks, and Stability
Almost everyone offers tool calling; the differences lie in three places:
- Accuracy of parameter generation: the more complex the tool schema, the more likely the model is to omit, mis-fill, or fabricate parameters.
- Stability of multi-step planning: in long chains of tasks, an early misstep gets amplified across all later steps.
- Context management: the longer the history, the more likely the model is to drop key constraints.
Evaluating agent tasks can’t rely only on “can it call tools.” You should also look at:
- Tool selection accuracy;
- Parameter-filling completeness;
- Task completion rate;
- Average number of turns;
- Recovery ability after failures.
Engineering guardrails include: a cap on loop turns, per-step timeouts, truncation of tool-result length, and a cap on retries for invalid parameters.
7. A Three-Stage Evaluation Plan for Your Business
7.1 Set Acceptance Criteria First, Then Choose the Model
Organize real business tasks into a case set, with each case specifying the input, the expected output, and an automatically checkable acceptance condition. Example (structural illustration):
case_id: code-fix-001input:repo_files: ["src/parser.py", "src/parser_test.py"]failing_test: "test_parse_empty_input"expected:type: patchrules:- all new tests pass- no files unrelated to the defect are modifiedacceptance:auto_check: "pytest -q" # Automatic checkmax_turns: 12max_cost_usd: 0.5
Acceptance conditions must be executable and decidable; otherwise “pass rate” becomes a subjective impression.
7.2 Compare Side by Side with the Same Case Set
- Fix sampling parameters such as temperature; run the same case multiple times and look at stability, not just the single best run;
- Record token consumption, turns, latency, and cost for each run;
- Produce a comparison table: pass rate, rework rate, average cost, P95 latency.
7.3 Staged Rollout with a Small Traffic Slice, Not a One-Time Full Switch
def route(task_type: str, history_len: int, need_vision: bool) -> str:"""Layered routing example: simple tasks go to the low-price tier, complex tasks to the high-price tier."""if need_vision or history_len > 100_000:return "model-heavy" # High-price tier / model strong at long contextif task_type in ("extract", "classify", "format"):return "model-cheap" # Low-price tierreturn "model-balanced"
In the staged phase, roll out at 1% → 5% → 20% → full, observing success rate, cost, and latency at each step, and keep a one-click rollback switch.
8. Balancing Cost and Quality: Five Actionable Practices
- Layered routing: send simple extraction, classification, and formatting to the low-price tier, and complex reasoning and multi-step agents to the high-price tier.
- Prefix reuse: put the system prompt and tool definitions at the very front and keep them unchanged as much as possible, to hit context-caching-style discounts (subject to the vendor’s actual billing rules).
- Hard output budget constraints: limit max_tokens; convert long outputs into paragraph-by-paragraph persistence or structured-field returns.
- Context compression: summarize long conversations and truncate tool results, keeping only the parts relevant to the current decision.
- Fast degradation on failure: when the budget is exceeded, automatically switch to a cheaper model or fall back to rules, avoiding the “the more expensive, the more it’s used” inertia.
9. Launch Checklist
- Task tiering: which tier do high-frequency, low-frequency, and long-chain tasks fall into;
- Acceptance criteria: does each case have an automatically decidable pass condition;
- Cost accounting: have you verified output price, thinking billing, and cache discounts;
- Version management: have you locked the snapshot version and retained call records;
- Guardrail configuration: are turn limits, timeouts, and budget circuit breakers in effect;
- Staged rollout and rollback: is there small-traffic validation and a one-click switch mechanism.
10. Conclusion
A price sheet can answer “how much per million tokens,” but it can’t answer “will my business pass on the first try.” Reframing the question from “which model is cheapest” to “on my tasks, which model minimizes rework and total cost of ownership” is what gives selection a definite answer. The recommended sequence: first use the low-price tier to establish a cost baseline, then bring in the high-price tier to validate complex tasks, and finally use the same case set to decide who handles the complex agents.
