BLOG · AI NEWS & MODELS

Running AI models locally:
when a server beats the cloud

Running AI models on your own server: when it improves privacy and cost, what hardware you need and what operation and upkeep involve for a small company.

11 min read

Listen to this article

6 min · AI news & modelsA conversation by the WebDrift team, made with AI voices (Google NotebookLM)
0:005:19
All episodes

Updated: Auf Deutsch lesen

A compact server box glowing under a desk with a small planet hologram above it in a dark officeAI news & models

A local AI model is an option when data needs to stay in-house or you handle many similar requests. For low or variable usage, the cloud can be simpler and cheaper. This article shows how to weigh the two, what the cloud actually costs, what hardware is needed for which model size and what operation involves.

What is a local AI model?

A local AI model is a language model that runs on your own hardware rather than through the interface of a provider such as OpenAI or Anthropic. This is possible with so-called open-weight models, whose weights, meaning the learned parameters, are available to download.

The request can remain within your network if external tools, telemetry and remote inference are disabled and verified. In return you take on what the provider would otherwise handle: hardware, updates, security and choosing the right model. Which licensing questions matter here is explained in Open-source vs proprietary AI models.

As of October 2026, Qwen3.5-9B is a concrete model with downloadable weights. The Ollama qwen3.5:9b page shows different packages, including a quantised variant of 6.6 gigabytes. Package size is not the full memory requirement. Context, runtime and any image processing add to it. Model packages change; record the exact variant.

A metalworking business could begin by categorising anonymised enquiries. The objective is not “Our own ChatGPT” but “Correctly assign these known categories”. A small model may suffice or fail; a test with typical and difficult cases decides. Running locally does not answer the quality question.

When does a local model pay off?

Consider local operation for sensitive data, large volumes of similar requests or greater independence from a provider. First, when data is particularly sensitive and should not go to a model provider, such as client, patient or HR data. Second, when very many similar requests arise, because fixed costs then fall per request. Third, when you want to be independent of a provider's prices, usage limits and changes. A combined approach can make sense if data permissions are defined separately for each route.

CriterionCloud (through the provider)Local (own server)
Data controlData goes to the provider, governed by contractData stays in-house with the appropriate data flow
Cost profileUsage-basedFixed costs for hardware and operation
QualityTest for the taskTest for the task
EffortLowSet-up, updates, monitoring
AvailabilityProvider's commitmentsDown to you
AdaptationDepends on provider and modelDepends on model and licence

The comparison separates several decisions. Cloud means an external processing route; local means responsibility for operation. Both need an application and quality checking. Adaptation is not simply a location question either: some cloud services support customisation, while some local model licences impose conditions. Availability follows your infrastructure locally and the actual agreed service in the cloud.

For a seasonal retailer, a server could sit unused outside the busy season. A manufacturer continuously sorting documents might keep it busier. High use alone is insufficient, however. If people must correct many outputs, the cost per accepted result rises. Compare those accepted results instead of only counting calls.

How do you calculate the cost and the threshold?

Compare the monthly cloud bill at real usage with the monthly total cost of your own server; whether cloud is cheaper depends on the task and actual usage. Self-hosting costs include the purchase (spread over a period of use), electricity and the effort of looking after it. Calculation: Divide your quoted hardware price by the planned months of use, then add power, upkeep and replacement. Also compare quality, capacity, outages and privacy requirements; a higher cloud bill alone does not establish an advantage for self-hosting.

Let us calculate the cloud side with assumed usage: 1,000 requests a day with 2,000 word pieces (tokens) of input and 500 tokens of output each add up to 60 million input and 15 million output tokens a month. With 30 days of use, this gives the monthly volume. As of October 2026, the OpenAI price list gives gpt-6.1-sol Standard short-context rates of 2 US dollars per million input tokens and 10 US dollars per million output tokens. Without caching, this example volume costs 270 US dollars. Tools, other processing modes and special endpoints can change the bill. What tokens are is explained in Tokens and context windows explained.

What hardware do you need?

What matters is the memory in which the model sits: it decides which model size can run at all. As a rough guide, a model in a 4-bit representation (quantisation, storing weights with reduced precision) takes up about half a byte per parameter, plus room for the context. Graphics processors can accelerate this computation, but are not required for local inference.

Model sizeWeights alone at exactly 4 bitsAdditional requirements
8 billion parameters4 billion bytesFormat data, context and runtime
32 billion parameters16 billion bytesFormat data, context and runtime
70 billion parameters35 billion bytesFormat data, context and runtime

The table shows memory for weights alone. Eight bits make a byte. At four bits, each parameter theoretically requires half a byte. Eight billion parameters therefore require four billion bytes for weights alone. Real quantisation formats include additional data and may mix different precisions. The active request also occupies memory.

Software such as llama.cpp, which among other things supports quantisation from 1.5 to 8 bits, and Ollama makes running open models easier.

For a tax practice, choosing a model is only part of the workflow: documents, access rights and handovers need to fit together. Our page for tax practices explains how those parts can work together.

Distinguish working memory from graphics memory. A central processing unit (CPU) and a graphics processing unit (GPU) use different memory areas. A model can run partly on the central processor using system memory. When weights do not all fit into fast graphics memory, processing may slow down. Long inputs and concurrent requests need additional capacity. Measure the longest normal assignment and expected concurrency, rather than only one short demonstration.

An office could handle short emails comfortably but encounter long waits for a whole document bundle. A smaller context limit or a preceding search for relevant passages may be more useful than immediately buying more hardware. Compare these architecture choices with the same test set.

What do operation and upkeep involve?

A local server needs a responsible person for updates, security, monitoring and backups. That covers security updates, access rights, monitoring, backups, power and cooling and regular checks on whether a new model is better. The General Data Protection Regulation (GDPR) still applies: Article 32 GDPR requires appropriate technical and organisational measures that match the risk of the processing. Checked on 13 October 2026.

A local model server is an operational service of its own. Define who is alerted during an outage and how work continues without the model. Backups must be recoverable, rather than merely present. For a service business, manual sorting of enquiries might be the fallback. The server should not become a single point of failure for all customer communication.

The Ollama documentation describes a local-only mode that disables cloud features. Also inspect the application: search, tools or converting text into numerical search representations, called embeddings, might still use an external service. “Installed locally” is therefore an insufficient description of the data flow. Explicitly test which connections occur during a real request.

Which mistakes are common when running your own?

Avoid oversized hardware, starting without a test set and running a server without a responsible owner.

  • Buying too big: buying a multi-GPU server before the first test ties up money before it is clear which model size the task needs.
  • Starting without comparison: without a fixed test set from your own tasks, you cannot tell whether the local model is good enough.
  • Server on the open network: a model interface without access protection is a security risk.
  • No way to swap: without an intermediate layer, switching to a better model becomes laborious.

So start with one task and a small model on existing hardware. Measure quality and speed with your test set before you invest in a server. To tick off:

  • Data protection needs and data types named
  • Monthly cloud costs at real usage determined
  • Total cost of a server over three years calculated
  • Model size and required memory set
  • Ownership of updates, security and backups clarified
  • Quality checked against a cloud model with your own test set
  • Intermediate layer planned so that models stay swappable

How do you compare local operation with cloud use?

Compare both routes with the same task, the same test set and the same quality bar, and count every cost. The overview below names the five areas to check before you decide.

AreaCheck
MemorySystem memory, graphics memory, context and headroom separately
CapacityRequests per minute and concurrent users
Data flowTelemetry, updates, tools and automatic cloud fallback
OperationAccess, security updates, backup and outages
CostHardware, electricity, staff and quality checks

For memory, measure random access memory (RAM) and graphics memory (VRAM) separately and plan headroom for long inputs. For capacity, what counts is how many requests per minute the system handles and how many people use it at once. For data flow, check whether telemetry, updates, tools or an automatic fallback to the cloud still send data outside. For operation, settle access, updates, backups and what happens during an outage. And for cost, hardware, electricity, staff time and quality checks belong in one calculation.

This overall view is often called TCO (total cost of ownership). It covers purchase and depreciation, electricity, administrator time, updates, backups and spare parts, any model licences and the cost of outages. Divide that total by the number of checked, usable results. Comparing only token price with purchase price leaves out staff and operational risk.

Work through peak load too. At 300 requests in an hour, the average is five per minute. If one request takes ten seconds and the service handles them one after another, it can theoretically manage six per minute. That is enough on paper but leaves hardly any headroom. If a small manufacturer imports many documents at once each morning, average daily demand says little. Ask how long the last job in the queue has to wait, and check that failures are clearly reported.

Finally, plan how to replace models. Keep the test set and the approved model version before you apply an update. If a new version handles your specialist terms worse, the previous configuration must be recoverable. Your own server only creates control when the work of exercising that control is planned in as well.

Conclusion: test first, then invest

Local models are a good option with high data protection requirements or consistently high use, provided you can support their operation. Begin small, compare with the cloud and plan for operation. How to compare models fairly is described in How to evaluate a new AI model.

Cloud, your own server or a combination? In a free initial call, we can discuss your task, data requirements and operational needs. Explore our AI automation service or tell us about your project.

Related reading: Why does AI need GPUs? Chips, data centres and prices.

Sources

local AIown serveropen-weight modelsdata protectionhardwareoperation

FREQUENTLY ASKED QUESTIONS

Answered briefly.

01Are local AI models automatically GDPR-compliant?
No. A verified local data flow can avoid transfer to a model provider. The General Data Protection Regulation (GDPR) still applies. You carry security, access rights, logs and deletion periods yourself.
02How good are local models compared with the cloud?
For clearly defined tasks such as summarising, sorting and drafting, often good enough. Hosting location alone establishes no general quality advantage. Test with your own tasks.
03What is the minimum hardware I need?
Graphics or working memory is decisive. Requirements depend on the model, quantisation, context and concurrent use. A graphics processing unit (GPU) can accelerate computation but is not mandatory.
04Who looks after the solution?
You need someone who takes care of updates, security, monitoring and backups, in-house or through a contractor. Without care, a local server quickly becomes a risk.
05What is missing from a token-price-only comparison?
Above all staff time, electricity, backups, outages and the rework of faulty results. So compare the cost per usable result for the same task and quality, not just token price against purchase price.

ABOUT THE AUTHOR

Hamada

Founder & CEO of WebDrift

Combines system administration, software architecture and automation with an eye for thoughtful design. Your contact from the first idea to launch.