LLM Compute Economics: Open-Source vs. Closed-Source in the Token Market
As frontier model benchmarks converge and open-source releases narrow the capability gap, tokens are becoming a commodity-like infrastructure unit. This article examines the open-source versus closed-source market dynamic from the perspective of compute economics, including a simplified electricity-cost model for token generation, the shift toward private open-source deployments, and the infrastructure levers that determine cost per token.
Frontier large language models continue to set new benchmark records, but the industry is entering a phase of performance convergence. Models still differ in specific niches, yet rapid iteration in the open-source ecosystem is flattening those differences. As a result, tokens are becoming a standardized infrastructure commodity, comparable to electricity or water. When token prices reach a certain threshold, the market’s supply, demand, and cost structure shift materially. This article analyzes the underlying compute economics of LLMs and the likely path of commercial deployment.
1. Market Evolution: Open-Source Ecosystems vs. Closed-Source APIs
Early closed-source API services attracted developers and enterprises with first-mover performance advantages. But as token usage scales in production, API costs rise rapidly. This high marginal cost is forcing structural adjustment in the market.
Large enterprises are shifting to private deployment. For enterprises that process massive volumes of data, long-term reliance on external closed-source APIs is expensive and creates compliance and data privacy risks. Deploying open-source models in a private environment is becoming the natural choice for reducing long-run operating costs and maintaining data sovereignty.
A relay service layer is emerging. Where compute supply and demand are unbalanced, resource-rich intermediaries build their own clusters, deploy open-source models, and provide access and inference services to small and medium-sized businesses and individual users. Their profit comes from the spread between wholesale compute cost and retail token pricing.
Open source will dominate the long-tail market. In the longer term, open source will erode the core technical barriers around frontier models. Open-source models can iterate quickly, offer high customization, and deliver lower cost, which gives them a decisive advantage in long-term market competition.
2. The Electricity Economics of Tokens
In a highly simplified cost model, once token usage reaches very large global scale, hardware depreciation and network bandwidth costs are increasingly amortized, and electricity becomes the dominant marginal cost. How many tokens can one kilowatt-hour produce, and what is that production worth?
Hardware Power and Energy per Output Token
Assume a mainstream advanced GPU inference cluster with the following parameters:
- Single-card full-load power: 700 W
- Data center PUE: 1.3, giving effective per-card power of 700 W × 1.3 = 910 W, rounded to 900 W for estimation
- Single-card aggregate output throughput in large-batch inference: conservatively 1,000 tokens per second, with a reasonable range of 500–3,000 tokens per second
The energy required per output token is calculated as follows:
Energy per output token = 900 J/s / 1,000 tokens/s= 0.9 J/token
Since 1 kWh equals 3,600,000 joules, one kilowatt-hour can produce approximately:
Output tokens per kWh = 3,600,000 J / 0.9 J/token≈ 4,000,000 tokens
Input-Output Energy Asymmetry
LLM inference consists of prefill and autoregressive decoding. Prefill is parallel processing and has much higher throughput than output decoding.
- Input throughput can conservatively reach 10,000 tokens per second per card, implying about 0.09 J per input token.
- Therefore, one kilowatt-hour can process approximately 40 million input tokens:
Input tokens per kWh = 3,600,000 J / 0.09 J/token= 40,000,000 tokens
Commercial Value per Kilowatt-Hour
Using typical U.S.-dollar API pricing as an illustrative example — $10 per million input tokens and $50 per million output tokens:
- Output side: 4 million output tokens × $50 per million = $200 per kWh
- Input side: 40 million input tokens × $10 per million = $400 per kWh
- With a typical 3:1 input-to-output token mix, the combined commercial value of one kWh is roughly $250–300, or about RMB 1,800–2,200. Given load and throughput uncertainty, a reasonable range is $100–800 per kWh.
3. The Closed-Source Premium and Infrastructure Optimization
The large gap between electricity cost and API pricing is the core vulnerability of closed-source providers in large-scale inference. As model performance converges, closed-source APIs must either cut prices sharply or continue losing share to open-source deployments. For enterprises that choose private deployment, the central challenge is lowering the effective cost per kWh and increasing the number of tokens generated per kWh.
This is where enterprise-grade cloud infrastructure matters. General-purpose cloud platforms such as Baidu AI Cloud provide a foundation for private and hybrid LLM deployment. Enterprises can use container platforms to schedule inference workloads elastically, apply GPU pooling to improve utilization, and rely on efficient cooling and data center architecture to reduce PUE and the effective electricity cost per token. Combined with object storage, logging, and monitoring and alerting systems, these capabilities create a closed loop from data movement and model inference to operations and maintenance, maximizing the economic benefit of private deployment.
4. Conclusion
Benchmark changes are only the surface. Below the surface, the compute-economics layer reveals that “tokens are traffic, compute is electricity” is not an empty statement. In a performance-converged market, high closed-source premiums will be difficult to sustain. Open-source ecosystems and private deployment will become the mainstream forms of large-scale LLM adoption. Enterprises planning AI strategy should not chase a single parameter count or leaderboard score. Instead, they should build a systematic economic model covering hardware energy consumption, compute scheduling, and real business scenarios, then anchor that model on reliable cloud infrastructure to achieve sustainable cost reduction and efficiency gains.
