Onpode
Cover art for Why inference-time compute is more expensive per user than training-time — the scaling math

Why inference-time compute is more expensive per user than training-time — the scaling math

July 29, 2026 · 11 min

Max Rivera & Clara Bennett

OpenAI spent $2.3 billion running its models in 2024 — roughly 23 times GPT-4's one-time training cost of $78–100 million. Inference is a marginal, per-query cost that cannot be amortized across users the way training can, which is why serving AI has structurally eclipsed building it.

Training a large language model (LLM) represents a large but largely one-time capital expenditure, while inference—running the model to answer user queries—is a continuous operating cost that scales with every query served.

0:0010:37
Get the next episode on Artificial Intelligence

Follow it free — new episodes land in your feed.

Or make your own — any topic, in minutes

More Onpode episodes on Artificial Intelligence

About this episode

OpenAI spent somewhere around $2.3 billion in 2024 running its models — not training them. GPT-4 cost an estimated $78–100 million to build, a one-time expense. They spent more than twenty times that just serving it in a single year. This episode pulls apart why those numbers are structurally inevitable, not just a growth-phase anomaly. The core distinction is the type of cost. Training is fixed and amortizable — Google DeepMind's ~$192 million Gemini Ultra run gets divided across billions of queries over the model's lifetime until it's a rounding error. Inference is marginal and recurring, hitting fresh on every query. OpenAI was burning over $700,000 a day simply answering questions. What makes this stranger is that efficiency gains haven't helped. Token prices dropped roughly 1,200 times between 2020 and 2025. Bills went up anyway, because cheaper inference grew usage faster than it cut costs. Anthropic's 2024 gross margin was negative 94% — they lost money on every token before counting a single operating expense. And they can't price their way out because open-weight models like LLaMA and DeepSeek have removed the ceiling. The episode works through the real optimization toolkit — quantization, speculative decoding, Mixture-of-Experts, KV caching, structured pruning — with honest accounting of where each one falls short in production. It ends on the genuinely open question: whether the only durable escape is products designed to need fewer tokens in the first place, rather than hardware that processes them faster.

Frequently asked

Why does AI inference cost more than training in the long run?

AI training is a fixed, one-time cost amortized across every user who ever touches the model. Inference is a marginal cost charged on every single query — like hiring a tutor who shows up fresh each session. OpenAI spent $2.3 billion serving models in 2024 versus roughly $100 million to train GPT-4 once.

How much did OpenAI spend on inference in 2024?

OpenAI spent approximately $2.3 billion running its models in 2024 — about 23 times GPT-4's estimated one-time training cost of $78–100 million. OpenAI burned over $700,000 per day just answering ChatGPT queries, not building anything new, contributing to a net loss of roughly $5 billion that year.

What percentage of AI compute goes to inference vs. training?

NVIDIA's framing of the industry's own cost distribution is that roughly 80 percent of AI compute goes to inference and 20 percent to training. This reflects the reality that once a model is built, the ongoing cost of serving millions of users per day vastly exceeds the original training expenditure.

Does quantization or speculative decoding solve the AI inference cost problem?

Quantization compresses model weights from 16-bit to 8- or 4-bit, reducing memory and increasing throughput, but degrades on long-context reasoning and domain-specific edge cases that standard benchmarks miss. Speculative decoding cuts latency without touching quality. Neither fully solves the cost problem: efficiency gains historically summon more usage, leaving total bills roughly flat or higher.

Why did token prices fall 1,200x but AI labs still lose money?

Token prices fell from roughly $60 per million tokens in 2020 to about $0.05 by 2025 — a 1,200x drop — yet OpenAI still lost $5 billion in 2024. Lower prices improved latency and product quality, which drove higher usage volume. Demand outran every efficiency gain, so the total inference bill kept growing despite per-token deflation.

Grounded in 12 sources
Are OpenAI and Anthropic losing money on inference? | Hacker News · news.ycombinator.com
500+ LLM Inference Optimization Techniques · aussieai.com
AI Inference Cost Economics: The Complete Guide — Prompt20 Blog · blog.prompt20.com
Quantization in production: GPTQ, AWQ, GGUF, FP8 — what to ship — datarekha · datarekha.com
Top 5 AI Model Optimization Techniques for Faster, ... · developer.nvidia.com
Trading off compute in training and inference | Epoch AI · epoch.ai
Daily Papers - Hugging Face · huggingface.co
Why Quantization Won, and Where Pruning Survived: A Practitioner's View of LLM Compression | Dr. Kaoutar El Maghraoui · kaoutarelmaghraoui.com
Trading off compute in training and inference (Overview) — LessWrong · lesswrong.com
Optimizing Inference Costs: The Complete Guide · mirantis.com
The difference between AI training and inference · nebius.com
LLM Pricing Trends in 2026: What Token Costs Look Like After 18 Months of Competition — noburn.dev · noburn.dev
Read transcript

Clara Bennett: You sent me that inference number at eleven pm and I just sat there.

Max Rivera: Right? I couldn't — I kept re-adding it. Two point three billion dollars. That's what OpenAI spent running their models in 2024. Not building them. Running them.

Clara Bennett: GPT-4 cost somewhere between seventy-eight and a hundred million dollars to train. One time.

Max Rivera: And they spent twenty-three times that just... serving it. In a single year. That's — wait, actually that's what we're getting into today, the whole training-versus-inference thing, why the cost of using these models has completely eclipsed the cost of making them.

Clara Bennett: The key is understanding what kind of cost each one is. Training: fixed, one-time, amortizable across every user who ever touches the model. Inference: marginal, recurring, hits you fresh on every single query. That distinction is what makes the numbers look impossible.

Max Rivera: And it's not like they're charging nothing — OpenAI had six billion in revenue last year. They still lost five billion more than they earned.

Clara Bennett: Which is why inference economics is worth pulling apart carefully, because the Microsoft filings that surface those numbers suggest this isn't a 2024 anomaly — it's where the cost curve lives.

Max Rivera: So the thing I want to figure out — is there actually a way out of this, or is running frontier AI just fundamentally expensive in a way that doesn't get solved by making the model smarter?

Clara Bennett: That way out question is exactly where the analogy helps. Training is like printing a textbook — you pay once to write it, once to print a million copies, and then every student who opens it costs you almost nothing. Inference is hiring a tutor who shows up fresh for every single session. Every query. Every time.

Max Rivera: And you can't — wait, you can't amortize the tutor.

Clara Bennett: Exactly. The textbook's cost gets spread across every student who ever reads it. Google DeepMind spent roughly a hundred and ninety-two million dollars training Gemini Ultra — one time. That fixed cost gets divided across millions of users, billions of queries. The per-query training contribution becomes a rounding error. But every inference call is the tutor showing up. That cost does not divide.

Max Rivera: What does that actually look like in, like, daily burn? Because I've seen the number but it still feels abstract.

Clara Bennett: OpenAI was burning over seven hundred thousand dollars a day just serving ChatGPT. Not building anything new. Not training. Just answering questions.

Max Rivera: Seven hundred thousand. Per day.

Clara Bennett: And NVIDIA has basically put a number on the structural shape of this — their framing is that roughly eighty percent of AI compute goes to inference, twenty percent to training. That's not a prediction. That's the industry describing its own cost distribution right now.

Max Rivera: So the thing we keep calling a one-time cost — the training, the hundred-million-dollar run — that's almost irrelevant to the actual operating reality. The tutor never stops showing up.

Clara Bennett: And the tutor just got cheaper to hire — which sounds like relief, except it isn't. Token prices fell roughly twelve hundred times from 2020 to 2025. A million tokens cost about sixty dollars in 2020. Today it's around five cents. And OpenAI still lost five billion dollars in 2024.

Max Rivera: Wait. Five cents per million tokens and they're still hemorrhaging money.

Clara Bennett: Because the price drop didn't shrink the bill — it grew the usage. Every time inference got cheaper, more people sent more queries. Volume outran the efficiency gain every single time.

Max Rivera: Okay — I mean, I want to make this concrete because I think it's easy to nod at this and not feel it. Say there's a startup founder. Forty thousand active users, each hitting the API maybe three times a day. She's at eighty thousand dollars a month. She reads that prices just dropped forty percent, so she's expecting — what, forty-eight thousand? And then the bill comes in at ninety-two thousand.

Clara Bennett: Because the latency improved when the price dropped, the product felt snappier, users engaged more — and she didn't change a line of her code.

Max Rivera: She's on a treadmill that speeds up every time it gets more comfortable.

Clara Bennett: And the labs are on the same treadmill, just bigger. Anthropic's gross margin in 2024 was negative ninety-four percent. That means before a single operating expense — before salaries, offices, anything — they lost money on every token they sold.

Max Rivera: Negative ninety-four — so why don't they just raise prices? And the answer is Meta and DeepSeek, right? LLaMA is free. DeepSeek is basically free. You can't price above open-weight models when the open-weight models are good enough for most things. The ceiling is gone.

Clara Bennett: That's the structural trap. And what's coming — the optimization toolkit, quantization, speculative decoding, all of it — sounds like the exit ramp. We should get into whether it actually is.

Max Rivera: The exit ramp — okay, so what is actually in the toolkit? Because I've heard quantization thrown around like it's magic and I want to know what it actually does.

Clara Bennett: Start with the most basic one. Every weight in the model has a numerical precision — how many bits you use to store each number. Standard training runs at sixteen-bit floats. Quantization compresses that down to eight-bit or four-bit integers. Smaller numbers, smaller memory footprint, more tokens per second. The production formats are GPTQ, AWQ, GGUF, FP8 — different implementations of the same compression idea.

Max Rivera: But near-lossless is the benchmark claim, right? Like — MMLU, GSM8K, those are controlled tests. What actually breaks?

Clara Bennett: That's the honest limit. Long-context reasoning, retrieval-augmented generation, domain-specific edge cases — those degrade in ways the standard benchmarks won't catch. 'Near-lossless' is a benchmark promise, not a production guarantee. Teams often find they needed the full-precision model after they'd already shipped the compressed one.

Max Rivera: Okay, that's — yeah, that's the thing that doesn't get said.

Clara Bennett: Now, speculative decoding is a different mechanism entirely. A small draft model proposes several tokens at once, and the large model verifies them in parallel instead of generating one token at a time. Latency drops without touching model quality — you're just changing how the work gets scheduled.

Max Rivera: So the big model is basically grading homework instead of writing it from scratch. Wait — is that actually faster even accounting for the draft model's compute?

Clara Bennett: It is, because rejection is cheap and the large model's forward pass covers multiple tokens at once. Then Mixture-of-Experts takes a structural approach — the model isn't fully activated for every token. Only a subset of expert sub-networks fires per token, so you get large effective model capacity at lower active compute. KV cache is where the memory pressure actually lives in production though — it stores intermediate attention computations across a sequence, and it scales directly with context length and batch size. That's usually your first GPU wall.

Max Rivera: And structured pruning — I mean, I've seen unstructured pruning mentioned and it sounds like it should be equivalent but apparently it's not actually useful in practice?

Clara Bennett: Right — zeroing individual weights doesn't map to hardware acceleration. Structured pruning removes whole neurons, attention heads, or layers, which gives the GPU something it can actually skip. That's what vLLM and TensorRT-LLM are packaging together — paged KV cache, quantization, speculative decoding, all integrated. These aren't academic tools. They're the actual production inference stacks. The battleground for profitability isn't the training run — it's what happens inside those frameworks on every single query.

Max Rivera: There's this same wall I keep hitting. The crossover point for self-hosting — five to ten million in annual inference spend — that's supposed to be the exit. Get big enough, pull it in-house, stop paying the API tax. But even if you clear that threshold, even if you've got the H100s and the vLLM stack running, the market below you just shifted. Meta dropped LLaMA, DeepSeek undercut everyone, and suddenly the commodity tier exists whether you wanted it or not. The whole API market stratified into three layers almost by accident — frontier models for hard reasoning, mid-tier for most real workloads, commodity open-weight at the bottom — and I'm not sure any individual company planned that.

Clara Bennett: The restructuring happened because the economics forced it. No one architected three tiers — inference cost reality did. And the genuinely open question, the one I don't have a clean answer for, is whether the next move is smaller models that need less inference to begin with. Smarter prompting, products designed to consume fewer tokens per outcome. Because if efficiency gains just summon more usage every time, and pricing can't rise because open-weight models set the floor, the only real escape is needing fewer tokens to get the same result.

Max Rivera: Nobody knows who figures that out first.

Clara Bennett: No. And that's where I'll actually sit with this — we started with a number that felt impossible. Two point three billion dollars, just running the thing. And the conversation didn't make it less impossible. It just made the shape of why clearer.

Max Rivera: Yeah. It's still — I mean, I re-add it and it still doesn't feel real. Thanks for helping me stare at it properly.

Clara Bennett: Worth staring at.