How to Evaluate Native Multimodal LLM Capabilities and Real Costs

    Native multimodality and sparse-activation MoE architectures have become the baseline for general-purpose LLMs, which makes "which model is stronger" a weak selection criterion. This article lays out a practical evaluation workflow: why total and activated parameter counts measure different things, why public benchmarks should only filter a candidate pool, how to build a 30-100 item internal task set, why long-horizon reliability matters more than single-turn quality, how to measure token efficiency, and how to build a cost model that accounts for cache hit rates and plan break-even points. It closes with context-engineering levers and a pre-launch checklist.}

    1. Start with the Architecture: Sparse Activation and Native Multimodality

    New-generation general-purpose LLMs largely follow two technical routes. One is to decouple total parameter count from the parameters activated per inference, producing a sparse-activation mixture-of-experts (MoE) structure. The other is to encode multiple modalities, such as text and images, inside a single network natively, rather than attaching a vision encoder to a pure language model.

    These two routes mean completely different things to the people using the models, and the two should not be conflated:

    • Total parameter count determines knowledge capacity and the ceiling; activated parameter count determines the compute cost of a single forward pass. A model with several hundred billion total parameters but only in the tens of billions activated may cost close to a much smaller dense model to run, while its long-tail knowledge and complex reasoning are much closer to a large model. So don’t infer speed, latency, or your bill from total parameter count.
    • The advantage of native multimodality is fine-grained alignment. Tasks such as mixed text-and-image input, turning UI screenshots into code, and reading charts with coordinates are sensitive to cross-modal reference and spatial relationships, and unified encoding is generally more reliable than a “bolt-on vision module plus language model” approach.
    • The basis for judgment must come from your own measurements. Time to first token, output throughput, and effective context utilization at different context lengths should all be measured in your own load-testing script, not taken from vendor claims.

    2. Capability Evaluation: Public Benchmarks Are Only Good for a First Filter

    Public benchmarks have three systematic sources of distortion: the evaluation data may already be part of the training corpus; the task distribution of the benchmark often does not match your business distribution; and differences in evaluation protocol (whether tool use is allowed, prompt templates, output parsing) change scores directly. The sensible approach is to treat public scores as a “candidate pool filter” and make the final decision with your own evaluation set.

    Build an internal task set of 30-100 items covering these five scenarios:

    1. UI reproduction: given a screenshot, produce runnable frontend code, scored on visual similarity and the human cost of modifying the result.
    2. Cross-file refactoring: rename an interface or swap a dependency across a multi-file project, and check whether the changes are complete.
    3. Long-context retrieval: locate a specified constraint inside a very long document or codebase, and verify recall for content in the middle of the context.
    4. Tool use and multi-turn tasks: a full loop of read, execute, verify, and correct, with particular attention to whether human intervention is required.
    5. Formatting and instruction following: strict JSON output, field constraints, and adherence to prohibitions.

    Don’t score only on “did it get the right answer.” Include at least four dimensions: first-pass success rate, human rework time, number of model turns needed to complete the task, and number of interruptions. The last two often predict the real cost after launch better than the first.

    3. Long-Horizon Task Reliability: A Clear Dividing Line

    In engineering practice, once a model’s capability crosses a certain basic threshold, whether a coding agent can take on long autonomous tasks depends mostly on engineering stability rather than on being “a little smarter.” What actually determines usability is three things: running continuously without interruption, not losing context over a long workflow, and resuming from a checkpoint after a failure.

    This leads to an important conclusion: a small gap in model capability is almost invisible in single-turn question answering, but is amplified into an order-of-magnitude cost difference in long tasks. The reason is direct: one interruption means all completed work has to be rerun, and the input tokens, thinking tokens, and tool-refill content consumed by the rerun are all billed again. To evaluate long-horizon capability you need to design scenarios that run for tens of minutes across dozens of files, and measure interruption rate and recovery cost, rather than inferring from a few turns of conversation.

    4. The Underestimated Selection Metric: Token Efficiency

    The same task, given to different models, can consume more than twice the total tokens. Token efficiency can be defined as:

    1. Token efficiency = total (input + output) tokens consumed to complete the same standard task

    Consumption can be broken down into four parts, which also tells you where to optimize:

    Component What it covers Common optimizations
    Effective content Code and instructions directly related to the goal Trim context, retrieve on demand
    Thinking / reasoning Reasoning content generated internally by the model Choose the model tier by task difficulty
    Tool refill File reads, command output, and retrieval results fed back in Truncate long output, read in chunks, summarize and compress
    Repetition and retries Reading the same file again, rerunning after a failure Checkpoints, idempotent tools, context reuse

    The measurement method is simple: run the same script over the same task set on each candidate model, record the token usage fields returned by each run, sum them up, and compare. Note that thinking content is usually billed as output tokens, which is the part most easily left out of the count.

    5. Cost Modeling: Cache Hit Rate Has to Be in the Formula

    Pay-as-you-go cost is not simply “unit price times tokens.” The complete formula is:

    1. Total cost = fresh input × input unit price
    2. + cache-hit input × cache read unit price
    3. + cache-written input × cache write unit price (some services charge nothing extra)
    4. + output tokens × output unit price

    In coding-agent workloads, input tokens typically make up the overwhelming majority of the total, and the cache read unit price is far lower than the fresh input unit price. Cache hit rate is therefore the first factor affecting the bill, and its importance often exceeds the difference in model unit prices. A model with a lower unit price but a poor cache hit rate can easily end up more expensive in total than a competitor with a higher unit price.

    The following script compares multiple candidate options and computes the break-even point of a subscription plan relative to pay-as-you-go:

    1. from dataclasses import dataclass
    2. @dataclass
    3. class Price:
    4. """Unit prices in the currency your provider quotes (CNY per 1M tokens in this example)."""
    5. input: float
    6. output: float
    7. cache_read: float = 0.0
    8. cache_write: float = 0.0
    9. def estimate_cost(price: Price, in_tokens: int, out_tokens: int,
    10. hit_rate: float, write_ratio: float = 0.0) -> dict:
    11. """Estimate the cost of a single task.
    12. hit_rate is the cache hit rate; write_ratio is the share of fresh input that
    13. must be written to the cache (usually 1.0, meaning all fresh input becomes
    14. the prefix for the next request).
    15. """
    16. assert 0.0 <= hit_rate <= 1.0
    17. cached = in_tokens * hit_rate
    18. written = in_tokens * write_ratio
    19. fresh = max(in_tokens - cached, 0)
    20. cost = (fresh * price.input
    21. + cached * price.cache_read
    22. + written * price.cache_write
    23. + out_tokens * price.output) / 1_000_000
    24. return {"cost_yuan": round(cost, 6),
    25. "cached_ratio": round(cached / in_tokens, 3)}
    26. def break_even_tokens(plan_price: float, price: Price,
    27. in_tokens: int, out_tokens: int,
    28. hit_rate: float, per_task: int = 1) -> float:
    29. """Return the scale (in tasks) at which the plan pays off against pay-as-you-go,
    30. normalized by the average token usage of a single task."""
    31. unit = estimate_cost(price, in_tokens, out_tokens, hit_rate)["cost_yuan"]
    32. return plan_price / unit * per_task
    33. # Example: comparing two billing strategies for the same workload
    34. price_a = Price(input=3.0, output=15.0, cache_read=0.3) # higher unit price, cache-friendly
    35. price_b = Price(input=7.5, output=39.0, cache_read=0.6) # low cache unit price, high base unit price
    36. load = dict(in_tokens=120_000, out_tokens=8_000)
    37. for name, p in (("Option A", price_a), ("Option B", price_b)):
    38. print(name, estimate_cost(p, hit_rate=0.7, **load))
    39. print("Tasks needed to break even on the plan:", round(break_even_tokens(plan_price=200, price=price_a,
    40. hit_rate=0.7, **load), 1))

    The decision between subscriptions and committed-volume plans has to be settled with the same formula: effective unit price = plan price ÷ (monthly usable tokens ÷ billing basis). If a plan’s quota is only a few times the free allowance while actual usage far exceeds the plan cap, the overage is still billed at pay-as-you-go rates and the plan’s real discount is heavily diluted. Off-peak or off-hours discounts and the usage multiplier some platforms apply also change the result, so you must plug in actual quoted prices rather than looking at nominal discounts.

    6. Context Engineering: The Four Levers That Cut Cost the Most

    1. Build a stable prefix that is cache-friendly. Put the system prompt, tool definitions, and project conventions at the front and keep them stable; anything volatile, such as timestamps, random identifiers, or live retrieval results, goes at the end. Any dynamic content inserted into the prefix invalidates the cache, which is the most common cause of a falling hit rate.
    2. Load on demand, search before reading. Don’t let the model swallow an entire repository in one go. Retrieve and locate first, then read the relevant fragments; truncate or summarize command output and logs before feeding them back.
    3. Tiered routing. Send deterministic tasks such as classification, rewriting, and formatting to a lightweight model, and complex refactoring or architecture design to a strong reasoning model. Routing rules should be configurable and observable.
    4. Make failures recoverable. Keep tool calls idempotent, write checkpoints at critical steps, and cap the number of retries. This is both a stability requirement and a way to avoid paying twice for the same work.

    For observability, record for each task the token usage by category, cache hit rate, number of turns, elapsed time, interruptions and retries, and the final status, then analyze trends through your log service and monitoring alerts. In standard cloud product portfolios such as Baidu AI Cloud, object storage, log services, container platforms, and monitoring and alerting are all general capability categories that can host this instrumentation and the resulting dashboards directly, without building your own infrastructure.

    7. Pre-Launch Checklist

    • Did you complete the first screening with your own task set, rather than relying only on public benchmarks?
    • Did you measure the interruption rate for three long-horizon scenarios: cross-file work, long context, and multi-turn tool use?
    • Did you compare the total token usage of candidate options under the same task script, not just their unit prices?
    • Does your cost model break out cache reads, cache writes, and output tokens?
    • Are the system prompt and tool definitions stable, with dynamic content moved to the end?
    • Are idempotent tools, checkpoints, and a retry limit configured?
    • Do you have a cost dashboard and alert thresholds broken down by model and task type?
    • Did you calculate the break-even point between plans and pay-as-you-go using real quoted prices?

    Conclusion

    At the stage where multimodality and sparse activation have become the baseline architecture, “which model is stronger” is no longer a good question. The more actionable questions are: what is your cost per task under your own task distribution, what is the interruption rate over long workflows, and what is your context utilization rate. Switching the evaluation criteria from benchmark scores to these three sets of data turns model selection from a matter of subjective impression into a reproducible engineering decision, and gives cost optimization a clear place to start.