Why Deploying Open-Source AI Is Often More Expensive Than Renting It
OpenAI's CFO recently claimed the company's closed models now undercut open-source alternatives on cost. The math behind enterprise AI deployment explains why she is largely right.
By Lila Morgan
- Commercial API Providers
- Closed-model developers argue that pooled compute and optimized infrastructure make their APIs cheaper per task.
- Enterprise AI Adopters
- Organizations deploying AI focus on the total cost of ownership, weighing engineering salaries against token fees.
- Open-Source Advocates
- Proponents of open weights value data sovereignty and privacy control over pure per-token economics.
Perspectives this story doesn't cover
- Independent Open-Source Contributors
- Hardware Manufacturers
Common questions
Why do output tokens cost more than input tokens?
Generating tokens sequentially requires the model to process each word one at a time, which is computationally harder and slower than reading a massive batch of input tokens in parallel.
What is prompt caching?
Prompt caching allows an AI model to store and reuse frequently processed input text, significantly reducing the compute required for subsequent requests and lowering costs.
Why is GPU utilization so important?
A GPU costs the same hourly rate whether it is processing thousands of tokens or sitting idle. High utilization spreads that fixed cost across more tokens, lowering the unit price of inference.
The short answer
- OpenAI claims its closed models are now cheaper to deploy than open-source alternatives on cloud infrastructure.
- Deploying an open-source large language model costs between $125,000 and $820,000 annually in infrastructure and talent.
- Hardware utilization dictates cost; idle GPUs make self-hosted tokens significantly more expensive than pooled API tokens.
- Commercial providers use economies of scale and prompt caching to drive down the unit cost of intelligence.
Deploying an open-source large language model is often more expensive than renting a closed one because the cost of intelligence is no longer in the software, but in the silicon and the talent required to keep it running. OpenAI Chief Financial Officer Sarah Friar made this explicit on September 8, 2026, telling the Goldman Sachs Communacopia + Technology Conference that the company is actively undercutting open-source rivals on cost.[1][2]
Friar noted that OpenAI is focusing on specialized sectors like chip design and life sciences, where enterprises demand measurable returns on their artificial intelligence spending. "If you're deploying Luna and compare that to GLM 5.3, for example, on a cloud layer, we are cheaper," Friar said, referring to Z.ai's popular open-weight model. She added that an 80 percent price cut on OpenAI's lower-cost Luna model recently drove a 10-fold increase in usage.[1][2]
The claim strikes at the heart of a long-held technology assumption: that open-source software, being free to download, is inherently cheaper to run. In traditional software, that is largely true. In generative AI, model weights are free, but the infrastructure required to serve them is not.[6]
The math of large language model inference explains the discrepancy. Inference cost is essentially GPU-time per token. According to a September 2026 analysis by CloudZero, output tokens cost roughly five times as much as input tokens across major providers because generating tokens sequentially is harder work than reading them in parallel.[5]
When an enterprise downloads an open-source model, they shift costs from transparent API fees to hidden operational expenses. A March 2026 report by AI Superior found that deploying an open-source LLM costs between $125,000 and $820,000 annually for most organizations.[3]
The talent required to maintain these systems forms a massive portion of that baseline. Minimal internal deployments require at least three to four engineers, while enterprise-scale systems demand 15 or more. With a machine learning engineer costing roughly $200,000 annually, AI Superior notes that a single engineer "needs to save you 6.6 billion tokens worth of API calls just to break even on their salary alone."[3]
The talent required to maintain these systems forms a massive portion of that baseline.
Hardware utilization is the other major trap for self-hosted deployments. A GPU-hour costs the same whether it emits 2,000 or 27,000 tokens per second. Cost per token is the hourly rate divided by the realized throughput, making utilization the dominant variable in AI economics.[6]
Cerebrium, an AI infrastructure provider, published internal benchmarks in July 2026 demonstrating this scale. Serving a 120-billion parameter open-source model at 12 million tokens per minute requires approximately 21 instances of dual NVIDIA H100 GPUs. At $0.11604 per minute per instance, that setup costs roughly $105,000 a month at continuous full load.[4]
The problem for most enterprises is that their workloads are not continuous. If those 21 instances sit idle overnight or during low-traffic periods, the cost per generated token skyrockets. Commercial API providers like OpenAI and Anthropic avoid this by pooling traffic across millions of users, keeping their GPUs saturated and their unit costs low.[4][6]
API providers also leverage massive economies of scale in prompt caching. Anthropic, for instance, bills cache reads at a 90 percent discount, dropping the input cost of its Claude Sonnet 4.6 model from $3.00 to $0.30 per million tokens. Open-source deployments can implement caching, but achieving high hit rates requires sophisticated engineering.[5]
CloudZero highlighted a case study from ProjectDiscovery, the company behind the open-source Nuclei security scanner. By moving dynamic working memory out of the system prompt and setting explicit cache breakpoints, the engineering team increased their cache hit rate from 7 percent to 84 percent, cutting total LLM spend by up to 70 percent across 9.8 billion tokens.[5]
Despite the cost disadvantage, open-source AI remains critical for many organizations. The primary drivers are data sovereignty, privacy control, and the ability to fine-tune models for highly specific domain tasks without sending proprietary data to a third-party server.[6]
As Friar noted at the Goldman Sachs conference, open weights have a place in the ecosystem, but customers pay for the holistic stack, compute, data integration, and enterprise reliability. Until the price of specialized silicon collapses, the free open-source model will remain a premium deployment choice for those who can afford the infrastructure to run it.[1][6]
Jargon, explained
- Inference
- The process of a trained artificial intelligence model generating an output or prediction based on live input data.
- Model Weights
- The learned parameters and mathematical values that define how an artificial intelligence model makes decisions, often released publicly in open-source projects.
- Prompt Caching
- A technique where an AI system stores the processed version of frequently used input text to avoid recomputing it on future requests.
- Token
- The fundamental unit of data processed by a large language model, roughly equivalent to a word or a piece of a word.
Sources
[1]Channel News AsiaCommercial API ProvidersOpenAI offers AI for chip design, touts cost advantage over open-source, CFO says
Read on Channel News Asia →
[2]The Economic TimesCommercial API ProvidersOpenAI is pushing its AI into specialized industries and undercutting open-source rivals on cost
Read on The Economic Times →
[3]AI SuperiorEnterprise AI AdoptersOpen source LLM deployment costs $125K-$820K/year minimum
Read on AI Superior →
[4]CerebriumEnterprise AI AdoptersInference Cost at Scale: The Tokens-Per-Minute Math
Read on Cerebrium →
[5]CloudZeroEnterprise AI AdoptersWhat does LLM inference cost per token actually mean?
Read on CloudZero →
[6]Factlen Editorial TeamSynthesis by Factlen editorial team
Read on Factlen Editorial Team →
Comments
More in Technology
See all →Acoustic Engineering
The Latency Constraint: Why Active Noise Cancellation Cannot Silence High Frequencies
4 sources
Model Complexity
The Bias-Variance Trade-off: Why Simpler Models Underfit and Complex Models Overfit
7 sources
Wireless Power
The Air Gap Penalty: Why Wireless EV Charging Struggles to Match Plug-In Efficiency
2 sources
Quantum Decoherence
The T1 and T2 Times: How Relaxation and Dephasing Define a Qubit's Lifespan
6 sources
Every angle. Every day.
Get Technology stories with full source coverage and perspective breakdowns delivered to your inbox.




