Blog, Business, November 12, 2026
Local AI vs Closed APIs: When Does Owning the Hardware Pay Off?
API pricing looks cheap per token, until usage scales. A simple framework for working out when a private AI server becomes the cheaper option.
Closed AI APIs are a great way to start: no hardware, no maintenance, the best models on day one. But every token is metered. As AI moves from a few people trying a chatbot to agents running all day across a company, the bill scales with it. For many teams there is a point where owning the hardware is simply cheaper, as well as more private.
The costs that matter
Closed API
- Price per million tokens, usually higher for output than input. Reasoning models also bill for “thinking” tokens you never see.
- Volume grows faster than expected: agents, retrieval (RAG) and long context multiply tokens per task.
- Prices and model availability are set by the vendor and can change at short notice.
Self-hosted
- Hardware, paid once: GPUs, the rest of the computer, the power supply and cooling. Cooling is easy to forget. A two-GPU server can produce over 1 kW of heat, which may mean a portable air conditioner as well as better fans.
- Electricity, at full draw during working hours and idle draw the rest of the time.
- People’s time: setup, updates and support. Budget a few hours a month for a small server.
- Software: usually zero. The models are free to download, and the main tools (Ollama, llama.cpp, vLLM, Open WebUI) are open source. Some businesses add paid support or management tools.
One thing that is not free is the right to use a model commercially. Most popular open-weight models allow commercial use, but some licences add conditions or forbid it. Check before you build a product on one.
A worked example
Say a 25-person company uses about 100 million output tokens a month across chat, document summaries and an internal coding assistant, on a closed model that costs about $10 per million blended. That is roughly $1,000 a month.
A server with two used RTX 3090s running a 70B model at 4-bit costs about $3,700, including a dual-GPU workstation platform, a 1,200 W power supply and liquid plus high-airflow cooling. If it runs at full power eight hours a day and idles the rest, at $0.17/kWh electricity is roughly $55 a month. Add two admin hours at $50 and running costs are about $155 a month.
Monthly saving: about $845. Break-even: about 4.5 months. Over three years the server costs about $9,300 all-in, against roughly $36,000 of API spend.
That is the optimistic case. It falls apart if:
- Usage is low. At 5 million tokens a month the API bill is $50, less than the running costs. Stay on the API.
- You need the very best model. Open-weight models are close to the frontier for most business tasks, but not every one. Many teams run a hybrid: local for routine, high-volume and sensitive work; a closed API for the hardest problems.
- The server cannot keep up. One chat stream at about 20 tokens/s for 8 hours a day is only about 18 million tokens a month. To serve a whole team you need a batching engine like vLLM, which serves many users at once with several times the total throughput, or more GPUs.
The benefits that do not show up in the spreadsheet
- Data stays in-house, which can simplify GDPR, HIPAA and client-confidentiality obligations.
- No vendor lock-in. You choose when to change models.
- Predictable budget. A fixed asset and a power bill instead of a usage meter.
- Fine-tuning on your own data without uploading it anywhere.
Run your own numbers
Our hardware calculator does this maths for any open-weight model: it recommends builds, includes power, cooling and admin time, and shows the break-even month against the API price you pay today. For a full business case, the Business Bundle includes an ROI workbook you can hand to finance.