Search Codefi

A seesaw with a light self-hosted box and a heavy cloud bill: 40–200× cheaper. Cheaper to run yourself, at scale.

ISSUE 016

What Running AI Actually Costs

Every pricing conversation I have about AI starts in the wrong unit. Somebody quotes a per-token price, somebody else quotes a monthly subscription, and neither number survives contact with an actual workload. So I went looking for the measurements underneath: what a single prompt costs in electricity, what the word open actually requires, and the one honest study I could find on whether buying your own hardware ever pays off at small-business scale. The answer to the last one is yes, at a volume almost nobody in Cape Girardeau will ever reach.

An idea worth thinking about

The same question costs fifteen times more energy depending on which model answers it

The 2026 AI Index report from Stanford's Institute for Human-Centered AI devotes a section of its first chapter to inference energy, on the argument that once a model is deployed at scale the cumulative energy of serving queries can exceed the one-time cost of training it within months. For per-model numbers the report leans on outside benchmarking by Jegham and colleagues, published in 2025, which estimates energy and carbon for what it calls a medium-length prompt — roughly 1,000 input tokens and 1,000 output tokens.

Among the top fifteen models by energy use in 2025, DeepSeek V3.2 Exp and DeepSeek V3.2 came in highest at about 23 watt-hours per query. GPT-5 on its high setting sat at 21.9. At the other end, Claude 4 Opus and GPT-5 mini on medium ran between five and six watt-hours. The carbon figures track the same shape: roughly 14 grams of CO2 equivalent per prompt at the top, against 1.6 grams for Claude 4 Opus and 1.5 for Mistral Medium 3.

Two things are worth sitting with. The first is that the spread is wide among models released in the same year, which means inference efficiency is a design choice and not a fixed cost of the technology. The second is the report's own conclusion that higher capability is not necessarily proportional to environmental cost — the most expensive model to run is not reliably the best one. These are third-party estimates, not disclosures; no major provider publishes measured per-query energy. Read them as the best available reconstruction rather than as meter readings.

Open the AI Index report

A tool I disappeared into

Somebody is benchmarking every model against every provider on price, speed and openness, and publishing it

Artificial Analysis runs an independent comparison of language models and the companies serving them. The dashboard reports input, output and cache-hit prices in dollars per million tokens, a blended price, output speed, time to first answer token, context window, and a quality score it calls the Intelligence Index. Benchmarks rerun every six hours; speed and latency are averaged over the trailing five days. The site's own filter counts show hundreds of models tracked, with a smaller subset evaluated on intelligence.

Two columns matter more than the headline price. One is cost per task rather than cost per token — because reasoning models emit far more tokens to answer the same question, a model with a lower per-token price can produce a higher bill. The other is the openness column, which marks whether a model's weights are published and scores how open the release actually is. Those two columns together are the closest thing to an answer for a small operator deciding what to run.

Flag the obvious. Artificial Analysis is a company, not a university or an agency. It sells access to its data and it benefits from being the reference point. I am linking it because a reader can open it in a browser and get a real number for a real model in under a minute, which is not true of any academic source on this subject. Check the figure you care about against the provider's own published price page before you budget on it.

Compare the models yourself

Learn something

Open weights and open source are not the same thing, and the difference is the training data

The Open Source Initiative published version 1.0 of its Open Source AI Definition on October 28, 2024. It asks the same four freedoms the organization has applied to software for a quarter century: you can run the system for any purpose without asking permission, examine how it works, modify it including changing what it produces, and share it with or without changes.

To deliver those freedoms, the definition requires three things be released. Parameters, meaning the model weights and configuration settings. Complete source code used to train and run the system, under an approved license. And what it calls data information — enough detail about the training data, its sources and its processing that a skilled person could build a substantially equivalent system, including where to get the public and third-party data. The definition's own language is that open weights must come with the data information and code used to derive those parameters.

That last requirement is where most models described as open fall out. A release that publishes weights under a permissive license but says nothing about what the model was trained on gives you three of the four freedoms and not the fourth, because you cannot rebuild or meaningfully audit it. For a small business the practical consequence is narrow but real: a weights-only release can still be downloaded, run on your own hardware and fine-tuned, and that is usually what you wanted. It just does not mean you can see what went into it. The definition is contested — several large vendors use the words open source for releases that do not meet it — and this entry takes no side in that argument. It only reports what the definition says.

Read the definition

What we’re seeing

Self-hosted inference came in 40 to 200 times cheaper than a budget cloud API, at 30 million tokens a day

Jonathan Knoop and Hendrik Holtmann submitted a paper to arXiv on January 14, 2026 asking whether consumer NVIDIA Blackwell cards can carry production inference for small and medium enterprises. They benchmarked 79 configurations across three cards — the RTX 5060 Ti, 5070 Ti and 5090 — running Qwen3-8B, Gemma3-12B, Gemma3-27B and GPT-OSS-20B, at context lengths from 8,000 to 64,000 tokens, across retrieval, multi-adapter agentic serving and high-concurrency API workloads.

The headline: self-hosted inference cost between $0.001 and $0.04 per million tokens, which the authors put at 40 to 200 times cheaper than budget-tier cloud APIs. Hardware paid for itself in under four months. The 5090 delivered three and a half to four and a half times the throughput of the 5060 Ti and about 21 times lower latency on retrieval work, while the budget cards gave the best throughput per dollar on API-style workloads. NVFP4 quantization ran 1.6 times faster than BF16 and used 41 percent less energy, costing roughly two to four percent of output quality.

Now the two numbers that change the meaning. The cost figure is electricity only. It does not carry the card, the machine around it, the power supply, the person who patches it, or the hours it sits idle. And the four-month payback assumes about 30 million tokens a day. That is on the order of thirty to forty million words of model output every day, forever. A five-person shop running AI hard across every function will not approach it. The paper is a preprint and has not been peer reviewed.

The idle problem is the one nobody prices. Cast AI, which sells cloud cost-optimization software, published its third annual Kubernetes resource report on April 21, 2026 and included GPU utilization for the first time: five percent, measured across what it describes as tens of thousands of production clusters before any optimization. It does not publish the cluster count and does not say whether those clusters belong to its customers, and it is selling the fix, so treat the number as directional rather than settled. Directionally it says the thing that matters here. Organizations that bought GPUs are mostly not using them, and a card at five percent utilization costs roughly twenty times per token what the benchmark says it should.

Put the two together and the honest version is this. Per token, at full load, your own hardware wins by an enormous margin and the preprint is probably right about that. Per month, at small-business volume, you are buying a depreciating asset to run at single-digit utilization, and the API wins. The crossover is not a price question at all. It is a question of whether you have enough continuous work to keep the thing busy, and most small operators do not, including us.

Which is a usable conclusion rather than a disappointing one. It means the cost lever available to a small Missouri business is not hardware. It is picking a cheaper model for the eighty percent of tasks that do not need the expensive one, and knowing which tasks those are — which is a training problem, and a measurable one.

Knoop, J. and Holtmann, H. Private LLM Inference on Consumer Blackwell GPUs. arXiv 2601.09527v1, January 14, 2026 (preprint, not peer reviewed). Utilization figure: Cast AI, 2026 State of Kubernetes Resource Optimization, April 21, 2026.

One question

What would you have to be running, every day, for your own hardware to make sense?

I am trying to find out whether anybody in our region is actually near that volume, or whether we are all comfortably on the API side of the line. Reply and tell me roughly what you run in a week.

More in this pillar as it's written.

— Shana

Sources link to the original publisher, never to a summary.