Skip to main content
DigiTransact AI Learning Centre

Module 1 of 6

Local AI foundations

What open-weight models are, what changes when they run on your own machine, and where the trade-offs sit.

Lesson 1

Open-weight is not the same as open-source

A model is open-weight when the trained parameters can be downloaded. That is all the term promises.

Open-source usually means the training code, data description and evaluation are also published under a licence that permits reuse. Many popular models are open-weight but not open-source.

  • Downloading weights does not give you the training data.
  • Read the licence, not the marketing page.
  • Some licences add acceptable-use terms or user thresholds.
  • The model card states the licence for that release.

Check yourself. Name one thing an open-weight release may withhold even when the weights are public.

Lesson 2

Proprietary, open-weight and hosted

Proprietary hosted models are reached through an API. You send text and receive text; the provider runs the machine and sees the request.

Open-weight models can be hosted by a provider or run by you. Running it yourself moves the machine, the logs and the data handling into your control.

  • Hosted is usually cheaper to start and harder to audit.
  • Self-hosting trades a monthly bill for hardware, power and staff time.
  • You can run open-weight models in the cloud on your own account.
  • Mixed setups are common: local for sensitive work, hosted for peak load.

Check yourself. Which option keeps documents inside your network by default?

Lesson 3

Data sovereignty and residency

Sovereignty is about who has legal control over the data. Residency is about where the servers sit. A provider can keep data in your country and still be controlled elsewhere.

A local deployment helps with both only if you also control backups, logs, telemetry and physical access.

  • Check where inference, logging and backups happen.
  • Cross-border support staff may still see data.
  • Regulators usually ask for purpose, retention and access records.
  • Local hosting does not remove your legal duties.

Check yourself. Why can local hosting still fail a residency requirement?

Lesson 4

Offline use, licences and cost

Local models work without an internet connection once the weights are on disk, which suits field offices, clinics and sites with poor connectivity.

The full cost includes hardware, electricity, maintenance and the person who looks after it. The licence may also limit commercial use or redistribution.

  • Offline inference is useful for training and field work.
  • Updates are manual unless you build a process.
  • Consumer GPUs are usually the cheapest entry point.
  • Budget for replacement every three to five years.

Check yourself. List the four cost lines a local deployment adds that an API bill hides.

Lesson 5

When local is the wrong choice

Local is a poor fit when you need the strongest frontier model, very high throughput, or a service you cannot staff.

It is also a poor fit when nobody owns patching, monitoring and incident response, because an unmanaged server is a liability.

  • Frontier capability usually arrives hosted first.
  • Throughput per dollar is often better with a provider.
  • An unpatched model server is an exposed service.
  • Start with one clearly bounded workload.

Check yourself. Name two conditions under which a hosted API is the better decision.