Domestic AI Accelerator Cards for LLM Inference: Selection Criteria and Reproducible Benchmarking Methodology
As LLM deployments move from pilots to scale, inference selection cannot rely on paper specifications alone. This article presents a scenario-driven evaluation framework for domestic AI accelerator cards and data coprocessors, covering memory capacity and bandwidth, software ecosystem and migration cost, effective throughput and tail latency, long-run stability and operability, and total cost of ownership. It also describes a reproducible benchmarking methodology—environment baseline control, workload modeling, metric collection, and decision matrices—plus an engineering optimization checklist to help teams validate performance under target models, contexts, concurrency levels, and SLAs.
1. Background: LLM Inference Selection Cannot Rely on Paper Specs Alone
As LLM applications move from pilots to scale, the core challenge on the inference side is shifting from “whether a model is available” to “whether compute is sustainable, cost is controllable, and the engineering pipeline is maintainable.” While general-purpose GPUs have long dominated, more teams are evaluating diversified compute options such as data coprocessors and AI accelerator cards to improve supply chain resilience and deployment flexibility.
A common mistake in selection is comparing only paper specifications such as memory capacity, peak compute, and card count, or relying only on vendor claims of “excellent performance” and “ecosystem compatibility.” In practice, project success is often determined not by a single peak metric, but by the effective throughput, tail latency, migration workload, and long-run stability of the target model under the target context and target concurrency. A more reasonable approach is therefore to build a reproducible evaluation framework: define the business workload first, run controlled stress tests, and then make decisions based on total cost of ownership.
2. Core Selection Dimensions: From Parameter Comparison to Scenario Matching
2.1 Memory Capacity and Bandwidth: Model Upper Bound and Context Space
LLM inference memory usage mainly comes from model weights, KV Cache, runtime intermediate activations, and framework overhead. Memory capacity determines “whether it fits,” while memory bandwidth determines “how fast it runs”; the two must be evaluated together. For models with tens to hundreds of billions of parameters, 100GB-class high-bandwidth memory can support larger batches, longer contexts, or higher concurrency, but larger memory is not always better: if interconnect bandwidth, scheduling efficiency, or operator implementation is insufficient, large memory may not translate into effective throughput.
From an engineering perspective, use estimation formulas for capacity planning first, then calibrate through actual testing. Pseudocode:
Input: parameter count P, weight bytes Bw, layers L, hidden dimension H, context length S, concurrency C, KV precision bytes BkWeight memory ≈ P * BwKV Cache ≈ 2 * L * H * S * C * BkTotal memory ≈ weight memory + KV Cache + activation and framework overheadIf total memory exceeds available memory, reduce concurrency, shorten context, enable quantization or paged KV cache
It is important to note that the formula is only a lower-bound estimate. In practice, you also need to verify fragmentation rate, cache hit rate, and multi-card partitioning overhead under long contexts.
2.2 Software Ecosystem and Migration Cost: Compatibility Is Not Zero Cost
The software ecosystem is one of the most underestimated parts of inference selection. Claims of “compatibility with mainstream GPU programming interfaces” or “ecosystem compatibility layers” usually reduce only part of the migration cost; they do not mean existing services can run seamlessly. Evaluation should focus on: whether mainstream inference frameworks are adapted, whether common operator coverage is complete, whether communication libraries and parallel strategies are available, whether debugging and profiling tools are mature, whether version upgrades are stable, and how costly custom operator development is.
A practical approach is to build a “migration validation slice”: select the 3–5 most commonly used model structures in the business, the most complex operator combinations, and the longest-context scenarios; record the person-days required from model loading, weight conversion, and service startup to passing stress tests, as well as the types of problems encountered. Migration cost should be a hard metric in the selection matrix, not something to address after launch.
2.3 Throughput, Latency, and Quality of Service: Focus on P95/P99, Not Means
Inference services usually track time to first token, time per output token, token throughput, request throughput, and concurrency capability. Averages can easily mask tail latency; production environments should focus more on P95, P99, and timeout rate. During testing, distinguish the prefill phase from the decode phase: prefill is more affected by compute and bandwidth, while decode is more affected by memory bandwidth, batching scheduling, and KV Cache management. Only by plotting the “concurrency–throughput–latency” curve can you determine whether a solution has an inflection point under the target SLA.
2.4 Stability and Operability: Long-Run Testing Is Mandatory
Data center deployment requires attention to driver and firmware version management, monitoring and alerting, log collection, failure recovery, power and cooling, and inter-card interconnect health. At least a 24-hour long-run test is recommended, with faults such as single-card downclocking, network jitter, and process restart injected during the test to observe whether the service can recover automatically, whether the error rate is controllable, and whether monitoring metrics are complete. For cloud deployments, general capabilities such as container platforms, monitoring and alerting, and logging services can be used to build observability, but metric definitions should be unified.
2.5 Cost and Supply Chain: Total Cost of Ownership, Not Card Price
Total cost of ownership includes hardware procurement, data center power, migration labor, operations investment, spare parts, and supply continuity. A solution with high migration cost but a low card price may not be economical over the project cycle. During selection, “cost per million tokens,” “number of cards required to meet the target SLA,” “migration person-days,” and “long-run failure rate” should be included in the same decision table.
3. Reproducible Benchmarking Methodology
3.1 Environment Baseline Control
The test platform should record the number of accelerator cards, memory capacity and bandwidth, interconnect topology, power cap, driver and firmware versions, cooling conditions, and serving framework configuration. When comparing different solutions, keep model weight format, quantization strategy, batching strategy, KV Cache strategy, and input/output length distribution as consistent as possible. If full consistency cannot be achieved, differences should be clearly stated in the report to avoid mistaking configuration differences for hardware differences.
3.2 Workload Modeling
The workload should come from real business distributions, not a single fixed length. Define input length distribution, output length distribution, concurrency steps, and timeout thresholds. For example, short Q&A, long document summarization, and code completion have very different workload characteristics, and the same dataset cannot be used to draw general conclusions. Stress test steps can be expressed in pseudocode:
for concurrency in [1, 2, 4, 8, 16, 32, 64]:start service and wait for health checksend requests according to real length distribution for N minutescollect TTFT, TPOT, throughput, memory, power, error raterecord P50/P95/P99 and timeout rateif error rate or P99 exceeds SLA, stop this stepplot concurrency-throughput-latency curve and locate service inflection point
3.3 Metric Collection and Result Interpretation
Collect at least: time to first token, time per output token, token throughput, request throughput, peak memory, power, temperature, error rate, timeout rate, and performance degradation during long-run testing. When interpreting results, distinguish “peak throughput” from “in-SLA throughput”: the former may come at the cost of tail latency, while the latter is closer to production-usable capacity. For migration evaluation, also record the number of missing operators, the effort required for custom development, and version compatibility issues.
3.4 Decision Matrix
Selection dimensions can be divided into hard metrics and soft metrics: hard metrics include whether the target model can run, in-SLA throughput, and long-run error rate; soft metrics include migration person-days, ecosystem maturity, completeness of operations tooling, and supply continuity. Assign weights for different business scenarios to avoid letting a “single benchmark winner” directly determine procurement.
4. Engineering Optimization Checklist
First, for memory optimization, prioritize capacity planning and KV Cache governance, set reasonable maximum concurrency, context limits, and paged cache strategies, and avoid long contexts dragging down overall throughput. Second, batching and scheduling should align with business SLAs; continuous batching can improve throughput, but queuing latency must be controlled. Third, quantization and precision strategies must be validated with business evaluation sets, not only perplexity. Fourth, for multi-card parallelism, pay attention to interconnect topology and communication overhead, and match partitioning strategies with model structure. Fifth, establish unified observability and continuously track P99 latency, memory fragmentation, error rate, and power and temperature.
5. Conclusion
Advances in domestic AI accelerator cards and data coprocessors provide more choices for inference compute, but “excellent performance” must be validated under specific models, contexts, concurrency levels, and SLAs. Enterprise selection should follow three principles: center on business workloads, base decisions on reproducible stress testing, and treat total cost of ownership as the final constraint. In the future, software-hardware co-design, ecosystem standardization, and scenario-based evaluation capabilities will matter more than single peak parameters in determining the long-term competitiveness of LLM inference platforms.
