PhyseaWiki How AI actually works physea.ai →

Frontier vs local

Which costs less, a frontier model or a local one?

Frontier models cost nothing to start and then charge for every request, so the bill grows with how much you use them. Local models cost a lot upfront in hardware but almost nothing per request after that. Which is cheaper depends on your volume.

Last updated 2026-07-25 · Physea Labs

Frontier and local models bill in opposite shapes, and that shape matters more than any single price.

A frontier model is pay per use. You pay for the text going in and the text coming out, measured in tokens (roughly, pieces of words). There is nothing to buy first, which makes it cheap to start and easy at low volume. The catch is that the bill scales directly with usage, so it can become painful at high, steady volume.[1]

A local model flips this. You pay a large amount upfront for the hardware that can run it, and after that the cost per request is close to zero.[1] How much hardware depends on the model’s size: a guide for running models locally maps roughly 8 GB of memory to small models, 16 GB to mid-size ones, and a 24 GB graphics card to models in the 27 to 30 billion parameter range.[2] Bigger models need more.

Frontier: pay per use – Nothing to buy first– Bill scales with usage– Cheap to start, low volume Local: pay upfront – Hardware cost upfront– ~Zero per request after– Wins at high, steady volume
The two bills cross at some volume. Below it, renting wins; above it, owning wins — which is why the shape matters more than either sticker price.

So the real question is volume. One analysis suggests that if you are spending more than a few hundred dollars a month on a hosted API at a stable volume, it is worth checking whether local hardware would pay for itself within a couple of years.[1] Below that, renting is usually simpler and cheaper. Above it, owning the hardware can win, as long as you also count the cost of running and maintaining it yourself.

That last condition is where a lot of back-of-envelope comparisons go wrong, because the sticker price is a one-time number being weighed against an ongoing one. What’s easy to leave out: electricity for a card under sustained load, somewhere to put it that doesn’t overheat, and someone’s time when a driver update breaks inference or a new model needs different settings to run well. None of that shows up in a hardware price tag, but all of it shows up somewhere. The honest comparison isn’t “hardware cost versus API cost” — it’s “hardware cost plus your time versus API cost plus nothing,” and which one wins depends as much on what your time is worth as on the sticker prices themselves.

References

  1. Local AI vs Cloud AI: When to Run Models on Your Own Hardware — MindStudio
  2. The Best Open Source and Open-Weight LLM Models to Run Locally — Hugging Face