Topic 13 of 20 · 32 words
Local AI & Open-Weight Models
Running open-weight models privately on your own devices vs. cloud APIs—licenses, Safetensors, GGUF, data sovereignty, and cost math.
The 32 words, in learning order
Start at 1. Each word builds on the ones before it.
- Local AILocal AI means running AI models on your own device, like a laptop, phone or home server, instead of on a company's cloud.
- On-Device AIOn-device AI is AI that runs directly on a phone, laptop, car or gadget without sending data to the cloud.
- Edge AIEdge AI means running AI close to where data is created, like on cameras, sensors, factory machines or phones, instead of in a distant data center.
- Cloud AICloud AI is AI that runs on powerful servers in data centers, which you use over the internet.
- Hosted AIHosted AI is an AI model run for you by a provider, which you access through a website or API.
- Self-Hosted AISelf-hosted AI means running AI models on servers you control, such as your own computers or rented cloud machines.
- Open Source AIOpen source AI is AI whose code, and ideally model weights, training data and methods, are released for anyone to use, study, change and share.
- Open-Weight ModelAn open-weight model is a model whose trained weights are published so anyone can download and run it.
- Closed-Weight ModelA closed-weight model is a model whose weights are kept private, so you can only use it through the company's app or API.
- Model LicenseA model license is the legal agreement that says how you may use, share and change an AI model.
- Model RepositoryA model repository is a storage location where a model's files, like weights, configs, tokenizer and documentation, are kept and shared.
- Model HubA model hub is a website or platform that hosts many AI models for people to discover and download.
- GGUFGGUF is a file format for storing AI models, especially quantized ones, made for llama.cpp and tools like Ollama and LM Studio.
- SafetensorsSafetensors is a safe, fast file format for storing model weights, created by Hugging Face.
- Model CardA model card is a document that explains what a model is, how it was trained, what it is good and bad at, and how it should be used.
- Hugging FaceHugging Face is a company and platform where people share and use AI models, datasets and demos.
- Model DownloadA model download is getting a model's files onto your computer so you can run it locally.
- Local InferenceLocal inference is running a model's predictions on your own machine.
- Offline InferenceOffline inference can mean running a model without internet, or processing data in batches rather than live.
- API InferenceAPI inference is using a model by sending requests to a provider's API and getting answers back.
- Cloud InferenceCloud inference is running model predictions on servers in a data center rather than on your own device.
- Model Fine-Tuning LocallyFine-tuning locally means training a model on your own data using your own computer or GPU.
- Hardware CompatibilityHardware compatibility is whether a model or AI tool can run on a particular device, chip or GPU.
- Model CompatibilityModel compatibility is whether a model's architecture and file format work with a given tool or engine.
- Context ConfigurationContext configuration is setting how much context a model can use when you run it, along with related options.
- Local DeploymentLocal deployment is installing and running an AI model on your own devices or company servers for real use.
- Data SovereigntyData sovereignty is the idea that data is subject to the laws of the country where it is stored or processed.
- Data PrivacyData privacy is protecting personal information so it is collected, used and shared only in fair and allowed ways.
- Inference CostInference cost is how much it costs to run a model to get answers.
- Cost Per TokenCost per token is the price of processing or generating one token, usually quoted per million tokens.
- Cost Per RequestCost per request is how much one call to an AI model costs, based on the tokens it uses and any extra fees.
- Total Cost of Ownership (TCO)Total cost of ownership is the full cost of an AI system over time, including hardware, software, electricity, staff, maintenance and API fees.
How Local AI & Open-Weight Models fits together
Not every AI workload belongs on a third-party cloud API. Open-weight models (whose trained weight files you can download and inspect) let teams and individuals run inference locally on laptops, phones, or private servers—keeping sensitive documents on-device with zero per-token API bills.
Choosing between local/self-hosted AI and cloud APIs comes down to a clear trade-off: cloud APIs give instant access to the largest frontier models with zero hardware upkeep, while local and open-weight deployments win on privacy, offline reliability, predictable cost at steady volume, and full customization.