Benchmarking Sparse Multimodal LLMs: Cost, Throughput, and Observability

    A practical, hands-on breakdown of sparse multimodal large language models with long chain-of-thought reasoning. It shows how to measure cost per task rather than per-token price, how to decompose slow throughput into queueing, first-token, reasoning, and output metrics, and how to design fallback paths, budget guardrails, and observability when reasoning cannot be disabled.

    1. Define the problem first: what is actually new here

    A model release is usually worth attention not for its leaderboard position but for three structural changes: whether it natively supports multimodal input, whether it organizes parameters with sparse activation, and whether long chain-of-thought is the default reasoning path. These three points directly change the caller’s cost model, latency budget, and observability design.

    Native multimodal means text, images, and other modalities are jointly modeled in the same representation space, rather than stitched together from separate bolt-on modules. Sparse activation (the mixture-of-experts idea) means the total parameter count is very large, but each token is routed to only a few experts, so the compute for a single inference is far smaller than the parameter count implies. Combine that with long chain-of-thought and a typical engineering contradiction appears: each token is cheap, but total token consumption is amplified by the reasoning process.

    2. Account for cost per task, not per-token price

    The most valuable observation in the original account is that it did not stop at unit price but went back to the bill: roughly 180 million tokens consumed about 31 RMB, which works out to about 0.17 RMB per million tokens, or about 170 RMB on a 1 billion token baseline. This way of normalizing is worth adopting more widely.

    The denominator is what matters. If the cache hit rate is very high (say above 90%) and the output share is very low (say under 1%), the effective unit price falls well below the list price; but long chain-of-thought counts intermediate reasoning as consumption, which pushes the real cost per task up. It is therefore better to align different options with a single formula:

    1. cost per task = (input tokens × input price × (1 - cache hit rate)
    2. + output tokens × output price
    3. + reasoning tokens × applicable price) / successful tasks

    Three rules of discipline go with it: first, fix the evaluation task set and record input, output, and reasoning tokens plus cache hits; second, measure off-peak and peak periods separately; third, count failed retries in the denominator, otherwise cost is systematically underestimated.

    3. Throughput and concurrency: break “slow” into locatable metrics

    The original account recorded about 50–55 tokens/s on a weekend, chain-of-thought dropping to 4–9 tokens/s during the morning peak, and output dropping to 12–25 tokens/s, and after ruling out local network factors concluded that server-side capacity was insufficient. In engineering terms this should be split into four segments: queueing latency, first-token latency, reasoning rate, and output rate.

    1. t0 = time.time()
    2. stream = client.chat(stream=True)
    3. first = None
    4. think_tokens = out_tokens = 0
    5. for chunk in stream:
    6. if first is None:
    7. first = time.time()
    8. if chunk.kind == "reasoning":
    9. think_tokens += 1
    10. else:
    11. out_tokens += 1
    12. print("queueing", first - t0, "reasoning/s", think_tokens/(time.time()-first))

    When concurrency is far below the server-side limit, other calls on the same network work normally, and the rate still collapses across the board, it should be judged as capacity-side fluctuation rather than rate limiting. The correct response then is degradation, queueing, and retry backoff, not applying more load.

    4. Architectural responses when long chain-of-thought cannot be disabled

    When reasoning mode cannot be turned off, treat it as a fixed cost item in the design: set timeouts and budget caps for long-tail tasks, route simple tasks to a small model or a rules-based path, and reserve long reasoning for complex refactoring, hard troubleshooting, and similar cases. Also persist the reasoning process to a logging service on demand so it can be reviewed later.

    5. Observability is an underestimated hard requirement

    When reasoning progress is invisible, users cannot tell “still thinking” from “connection dropped.” The client should therefore show staged rates, heartbeats, and phase labels, with monitoring, alerting, and distributed tracing on the server side. In this kind of practice, Baidu AI Cloud is typically used as a general-purpose capability layer: a logging service to carry call details, monitoring and alerting to cover latency and failure rate, and a container platform to carry elastic concurrency.

    6. Implementation checklist

    1. Build a fixed evaluation set and a cost ledger, accounted per task.
    2. Record three key quantities: cache hit rate, output share, and reasoning tokens.
    3. Instrument latency in segments, separating queueing, first packet, reasoning, and output.
    4. Design a fallback path and budget guardrails so long-tail tasks do not drag down the whole system.
    5. For multimodal scenarios, first verify image-text alignment and structured output stability before going to production.