Native Multimodal LLMs: Practical Cost and Performance Analysis

    An engineering guide to native multimodal large language models with sparse activation. Learn how parameter activation, caching, input-output ratios, and thinking tokens affect cost per million tokens, how to diagnose throughput and latency fluctuations, and how to manage non-disableable reasoning chains in production.

    1. Introduction: From the Parameter Race to Cost per Unit of Intelligence

    Over the past two years, the narrative around large language models has mostly focused on parameter counts and benchmark scores. In real production environments, however, the metrics developers care about are shifting quickly: total cost per million tokens, time to first token, stable throughput, output consistency during long tasks, and whether multimodal inputs can share the same engineering pipeline as text.

    A recently released native multimodal model has drawn attention. Its technical profile—roughly 320 billion total parameters with only about 18 billion activated per inference—is a typical example of this shift. Setting aside the specific product, this article abstracts the discussion into three general engineering questions: how sparse activation architecture affects cost structure, why throughput fluctuates sharply under real workloads, and how a non-disableable chain of thought can be tamed through engineering.

    2. Technical Background: What Sparse Activation and Native Multimodality Mean

    2.1 Cost Implications of Sparse Activation (MoE-Style) Architectures

    The core idea of sparse activation is decoupling capacity from computation: the model retains a very large parameter pool to hold knowledge, but each token is routed to only a few expert networks for computation. With 320 billion total parameters and 18 billion activated parameters, the activation ratio is about 5.6%. This means the floating-point operations for a single token are close to those of a roughly 20-billion-parameter dense model, while the knowledge capacity approaches that of a trillion-scale model.

    This leads to two direct consequences:

    • Computation cost is significantly reduced, with clear advantages in high-concurrency, short-output scenarios.
    • Memory and bandwidth pressure do not drop proportionally, because all expert weights still need to remain resident or be swapped in on demand, and uneven routing can cause “hot experts” to queue up.

    2.2 Engineering Differences Between Native and Bolted-On Multimodality

    Native multimodality means that modalities such as vision and audio share the same representation space as text during the pre-training stage, rather than attaching a vision encoder to a text model and then aligning features. The engineering differences are:

    • Interleaved image-text input requires no extra preprocessing branch, so the application side can submit mixed content through a single interface.
    • Cross-modal reasoning (such as reading values from a chart or locating a control in a UI screenshot) is usually more stable.
    • However, visual tokens significantly increase input length, so the cost model must be upgraded from “text-only token pricing” to “equivalent token pricing.”

    A schematic request structure (pseudocode, showing form only):

    1. resp = client.chat.completions.create(
    2. model="<your-endpoint>",
    3. messages=[{
    4. "role": "user",
    5. "content": [
    6. {"type": "text", "text": "Explain the bottleneck in this architecture diagram"},
    7. {"type": "image_url", "image_url": {"url": "data:image/png;base64,..."}}
    8. ]
    9. }],
    10. stream=True
    11. )

    3. Cost Engineering: Turning Bills into Comparable Metrics

    The practitioner sample in the original article is highly instructive: about 180 million tokens consumed roughly 31 CNY, which works out to about 0.17 CNY per million tokens; on a 1-billion-token basis, that is about 170 CNY. To judge whether this number is a good deal, you need a comparable basis.

    3.1 Four Variables That Affect the Real Unit Price

    1. Cache hit rate: if prefix reuse (system prompts, codebase context, long documents) reaches a hit rate above 90%, input-side cost can drop by an order of magnitude.
    2. Input-output ratio: output tokens are usually priced at several times the input rate, so if output accounts for only 0.6%, the average price is pulled down significantly.
    3. Time-of-day strategy: some services offer off-peak discounts, and peak-hour prices may double.
    4. Thinking tokens: a non-disableable chain of thought adds a large number of tokens to the output side and is the most easily overlooked cost sink.

    3.2 A Reusable Cost Calculation Script

    1. def blended_cost(inp, out, cached_ratio=0.0,
    2. p_in=1.0, p_out=3.0, p_cache=0.1):
    3. billable_in = inp * ((1 - cached_ratio) + cached_ratio * p_cache)
    4. return (billable_in * p_in + out * p_out) / 1e6 # unit: CNY per million tokens

    The conclusion: when a workload is mainly “long context, short output, high prefix reuse,” the unit-price advantage of sparse activation models is amplified. Conversely, in reasoning tasks with “short input, long output, and verbose chains of thought,” that cost advantage is quickly erased. Model selection must be based on your own token profile, not on leaderboards.

    4. Performance Testing Methodology: Throughput, Latency, and Attributing Fluctuations

    4.1 Layered Metrics

    • Time to first token (TTFT): determines interactive responsiveness and is affected by queuing and prefill length.
    • Decoding rate (tokens/s): determines completion time for long-output tasks.
    • Long-tail stability: P95/P99 during peak hours is the real basis for capacity planning.

    4.2 A Checklist for Attributing Fluctuations

    The phenomenon recorded in the original article—50–55 tokens/s on weekends, dropping to 4–9 tokens/s for the chain of thought and 12–25 tokens/s for output during weekday morning peaks—is a typical sign of server-side queuing. Investigate in the following order:

    1. Rule out the client and network: launch multiple benchmark requests in parallel; if a similar lightweight model stays stable above 120 tokens/s, the problem is on the server side.
    2. Rule out a rate-limiting misjudgment: when concurrency is far below the quota (for example, a quota of 50 but actual concurrency of 1), a rate drop should not be attributed to rate limiting.
    3. Observability: whether the chain of thought and real-time rate are exposed directly determines whether a failure is “diagnosable” or “suspected hang.”

    Engineering recommendation: write both TTFT and decoding rate into monitoring alerts, and set timeouts and automatic degradation for long tasks.

    1. import time
    2. def timed_stream(resp):
    3. t0, n, first = time.time(), 0, None
    4. for chunk in resp:
    5. n += 1
    6. if first is None:
    7. first = time.time() - t0
    8. return {"ttft": first, "tps": n / (time.time() - t0)}

    5. Governance Strategies for Non-Disableable Chains of Thought

    When the interface only supports enabling thinking mode, model quality depends on a longer reasoning process, and complex tasks can exhibit “long silent thinking.” Mitigation measures include:

    • Task-tier routing: send simple rewriting and format conversion to smaller models or templated workflows, and reserve complex reasoning for strong thinking models.
    • Prompt constraints on the thinking budget: explicitly require “give the conclusion first, then no more than N supporting points” to compress ineffective reasoning.
    • Streaming visibility: prefer clients that can show reasoning progress and rate, so long thinking is not mistaken for a failure.
    • Timeouts and retries: set separate timeout thresholds for thinking-type requests and combine them with idempotent design for safe retries.

    6. Scenario-Based Implementation Recommendations

    • Cloud operations and daily research: long-log and long-document scenarios have high prefix reuse rates and the best cost profile, but a degradation path should be prepared for peak hours.
    • Content production (image/video scripts): use native multimodality to read reference images directly, reducing the loss from manual paraphrasing.
    • Intelligent coding: for repository-level context, use layered retrieval and inject only relevant fragments to control input expansion.
    • Enterprise integration: rely on general-purpose object storage, message queues, container platforms, log services, and monitoring alerts to build asynchronous tasks and observability, avoiding blocking long tasks in synchronous requests.

    7. Conclusion

    The combination of native multimodality and sparse activation has pushed large-model competition into a stage of “cost per unit of intelligence.” What developers really need to build is their own measurement system: use cost per million tokens corrected for cache hit rate, input-output ratio, and thinking-token share as the basis for model selection; use TTFT, decoding rate, and the P95 long tail as the basis for capacity; and use task tiering, timeout degradation, and streaming observability as the basis for stability. On platforms such as Baidu AI Cloud, these capabilities are typically offered as general cloud product categories, making it easy for teams to combine them as needed and build a large-model application foundation with controllable cost and predictable performance.