Beyond the LLM Race: Why Memory Is the Key Compute Bottleneck
This article examines what actually decides the outcome of the large language model (LLM) race, arguing that an early start does not guarantee a win—execution, scenario selection, and ecosystem building are what separate winners from the rest. It explains why developer-facing scenarios such as coding became the first proving ground, then turns to the constraints that matter most to engineering teams: the triple bottleneck of compute chips, memory, and power. Memory is singled out as the component most likely to hit its limit first, with a code example showing how KV cache memory scales with context length and concurrency. The piece also covers the rise of open-source models as a driver of diversified supply, practical strategies for allocating scarce compute, and the value of an observable, elastic infrastructure. Readers will find concrete engineering takeaways for building and scaling LLM-powered systems.
In recent years, discussions about “who will ship the first large language model chat product” have refused to fade. A recent public statement from the head of a leading tech company has pushed that debate into a new frame of reference: getting an early start does not mean you win. The real deciding factor is whether you can turn technology into a product and ecosystem that scale. Using this as a starting point, this article digs into the competitive landscape of the LLM era and focuses on a domain that popular discussion tends to overlook but that matters enormously to engineering teams—the triple bottleneck of AI infrastructure: compute chips, memory, and power.
First-Mover Advantage vs. Execution: Reconstructing the Logic Behind “Luck”
A common intuition in the industry holds that whoever launches a mature product first locks in the market. But put one tech giant that “had actually built a similar system long ago” next to another research organization that “got luckier and moved first,” and you find that the real dividing line is not the technical starting point. It comes down to three things working together:
- Productization timing: There is a vast gap between a technical prototype and a commercially usable product. The former only proves you “can build it”; the latter demands something that is “stable, controllable, and deliverable at scale,” involving a whole set of engineering constraints—inference cost, response latency, security, and compliance.
- Scenario selection: That company head specifically noted that the competitor “found its breakout in intelligent coding through a code collaboration platform.” This reveals a key pattern—scenarios that developers use at high frequency, that can be verified, and that close the feedback loop quickly are often where LLM value is proven first. Code naturally has the property of being “runnable and testable,” so the correctness of a model’s output can be checked immediately, which lets reputation and a data flywheel build fast.
- Ecosystem execution: What is genuinely hard to copy is the developer ecosystem, toolchain, and iteration cadence built around the product.
So the phrase “got luckier” is, at its core, a compressed summary of “execution + scenario selection + ecosystem operations.” The lesson for technical teams is clear: don’t put your faith in being first. Put your resources behind high-frequency scenarios where value can be validated quickly.
From Code Collaboration to Developer Ecosystem: Why Coding Took Off First
The reason intelligent coding became an early breakout area for LLM adoption is closely tied to the inherent properties of the coding scenario:
- Feedback is verifiable: Whether a piece of code compiles, passes unit tests, or runs correctly is visible immediately, which lowers the cost of judging whether a model’s output is good.
- Usage frequency is high: Developers write code every day, which naturally produces frequent calls and continuous feedback.
- Context is structured: Code is well organized, which makes it easier for the model to learn from and autocomplete.
This also explains why code hosting and collaboration platforms have become contested ground—they are both the source of data and the point of distribution. For teams that want to build AI capabilities in-house, the lesson worth borrowing is to embed LLM capabilities into existing high-frequency workflows rather than build an isolated “chat box.” In the practice of cloud platforms such as Baidu AI Cloud, this is typically done by connecting model inference services to business systems through general-purpose capabilities like elastic compute and container services, so that intelligent features land in users’ day-to-day operations.
The Overlooked Battleground: The Triple Bottleneck of AI Infrastructure
As competition moves down from “model capability” to “who can keep training and inferring continuously, reliably, and cheaply,” the constraints of the underlying infrastructure become decisive. The list of constraints that company head disclosed is highly representative and can be grouped into three categories.
1. Compute and Wafer Capacity: Chips Are the Entry Ticket
Training and inference for large models depend heavily on AI-specific accelerator chips. But chip supply is constrained by upstream wafer manufacturing capacity—a heavy-asset constraint with long lead times and poor elasticity. Even when the design is ready, insufficient foundry capacity will limit the delivery schedule. This is also why leading vendors are investing in their own accelerator chips: the goal is not just performance, but control over the pace of supply.
2. Memory: The “Most Critical Bottleneck”
Among the three constraints of compute, memory, and power, he was explicit that memory is the most critical component. This judgment holds up completely at the engineering level, for the following reasons:
- Parameter count sets the floor for VRAM: The model weights themselves need a large amount of high-speed memory to hold, so more parameters means higher static usage.
- KV cache grows linearly with context and concurrency: In autoregressive inference, every generated token requires caching its Key/Value. The larger the sequence length and the batch size, the more extreme the memory usage becomes.
- Memory bandwidth often hits the ceiling before compute does: Many inference scenarios are not “can’t compute fast enough” but “can’t move the data fast enough,” in which case the bottleneck is memory bandwidth rather than the compute units.
- The memory wall on the training side: Gradients, optimizer states, and activations all consume memory, and general-purpose techniques such as parallel sharding, recomputation, and mixed precision are needed to relieve the pressure.
The following snippet gives a rough estimate of memory usage for the KV cache, to help illustrate how fast it grows in inference scenarios (all parameters use standard industry definitions):
# Rough estimation of KV cache memory usage in inference scenariosdef kv_cache_memory(num_layers, num_heads, head_dim,seq_len, batch_size, dtype_bytes=2):"""Estimate KV cache memory usage in autoregressive inference (in bytes)- num_layers : number of model layers- num_heads : number of attention heads- head_dim : dimension of each head- seq_len : context/sequence length- batch_size : concurrent batch size- dtype_bytes: bytes per data type (e.g., 2 for half precision)"""per_token = 2 * num_layers * num_heads * head_dim # one copy each for K and Vtotal = per_token * seq_len * batch_size * dtype_bytesreturn total# Estimate with typical parameters: note the linear amplification effect# of seq_len and batch_size on memorymem = kv_cache_memory(num_layers=32, num_heads=32, head_dim=128,seq_len=4096, batch_size=16)print(f"KV cache takes about {mem / (1024**3):.2f} GB")
This code makes an engineering fact concrete: every time the context length and concurrency double, memory usage nearly doubles as well. This is precisely why the cost pressure of long-context, high-concurrency services ultimately lands on “do we have enough memory, and is there enough bandwidth.” Common mitigation techniques include KV cache quantization, paged memory management, and request batching and scheduling—all aimed at fitting more effective requests into a limited amount of memory.
3. Power and Skilled Labor: The Most Physical Constraint
He mentioned that the current limits come from multiple sources—wafer capacity, memory, and power supply—and even admitted that “you can’t even find enough electricians.” This is a reminder that AI infrastructure is not just a game of chips and software, but one of hard physical constraints on energy and labor:
- Power: The power draw of large-scale training and inference clusters is extremely high. Whether a data center can secure sufficient, stable power directly determines the upper limit of cluster size.
- Cooling and operations: High-density compute brings cooling pressure, and solutions such as liquid cooling are gradually becoming a necessity.
- Skilled labor: Frontline roles—datacenter deployment, power operations and maintenance, network troubleshooting—are likewise in short supply, becoming an invisible ceiling on expansion.
The Rise of Open-Source Models: Diversified Supply Is Inevitable
That company head also observed that open-source models from China perform remarkably well, and stressed that his newly released open-source model is “another strong option, aside from the open-source models from China.” Setting aside specific brands, this reflects a clear technical trend: open-source models are becoming an important force in diversifying the supply of large models.
The value of the open-source ecosystem lies in:
- Lowering the cost of experimentation: Teams can first validate business value on top of open-source models, then decide whether larger-scale investment is warranted.
- Private deployment: For scenarios with sensitive data or strict compliance requirements, open-source models can run in your own environment.
- Community-driven iteration: Open weights and toolchains let optimization techniques such as fine-tuning, quantization, and distillation be widely reused.
For enterprises, a reasonable technology-selection path is usually to first use open-source models to validate capabilities and estimate costs, then use general-purpose AI capabilities on cloud platforms—such as elastic compute, model hosting, and monitoring and alerting—to transition smoothly into production. General-purpose capabilities offered by platforms like Baidu AI Cloud are a common choice for helping teams lower the engineering barrier along this path.
Managing Scarce Resources: Putting Compute to Its Best Use
Finally, there is a new challenge worth mentioning at the operational level: when compute becomes a scarce resource, how to allocate it itself becomes a high-value decision. He revealed that he sets aside time each week to personally take part in allocating accelerator chips. This may look like a management detail, but it actually points to an industry-wide dilemma—resources are never enough to go around, and the allocation strategy directly determines overall output efficiency.
Practices that engineering teams can borrow include:
- Establish a resource-prioritization mechanism: Distinguish the urgency and payoff of different tasks—training, fine-tuning, inference—so that high-value tasks are not crowded out by low-value ones.
- Raise utilization rather than blindly stacking cards: Use batch scheduling, memory optimization, and elastic scaling so that every unit of compute produces more.
- Make observability a first-class concern: With general-purpose capabilities like monitoring, alerting, and logging, keep real-time visibility into resource levels so allocation decisions are backed by data.
- Keep an elastic buffer: Reserve some headroom for traffic spikes or urgent training runs to avoid the stability risks of running at full load.
Conclusion
A debate kicked off by “an early start that arrives late” ultimately points to conclusions on two levels. On the competitive level, being first does not equal winning—execution, scenario selection, and ecosystem operations are what draw the dividing line. On the engineering level, the real bottleneck for scaling large models is shifting from “algorithm capability” to the triple physical constraints of compute, memory, and power, with memory often being the first to hit its ceiling. For developers and enterprises, the pragmatic strategy is to focus on high-frequency, verifiable scenarios, manage scarce compute with precision, embrace the diversified supply that open source brings, and rely on general-purpose cloud capabilities to build infrastructure that is observable and elastically scalable. Whoever does this hard, unglamorous work solidly will move more steadily into the next phase of competition.
