Skip to content
AI Skills Central

Type to search Agent Skills, workflows, tutorials, tools and the glossary.

Building with LLMs

Local models

Running open-weight models on your own hardware for privacy, cost or offline use.

Beginner
Bookmark

Bookmarks are kept in your free account, so you can find this page again on any device.

Sign in to bookmark
On this page

Overview

Open-weight models can be downloaded and run on a laptop, workstation or your own servers with tools like Ollama, LM Studio, llama.cpp or vLLM. Reasons to do it include keeping data on your own machines, working offline, predictable costs and experimenting freely.

The practical knowledge is about fit: how model size and quantisation relate to memory, what speed to expect on CPU, Apple Silicon or a GPU, how to choose a model for a task, and how to expose it through an OpenAI-compatible API so existing tools can use it. Check each model's licence, since open weights do not always mean unrestricted use.

What you will practise

  • Estimate whether a model fits your memory at a given quantisation
  • Run a model locally and call it through an OpenAI-compatible API
  • Pick a model for a task and compare it with a hosted one
  • Check the licence attached to open weights

Learning paths

  • AI foundations

    A free AI foundations course: the working vocabulary of modern AI, from prompting and structured output to retrieval, MCP, Agent Skills and prompt injection.

    Beginner3 h9 steps

  • Local models and fine-tuning

    Run open-weight models on your own hardware, use them on private documents, decide when fine-tuning beats RAG or long context, and try a small LoRA fine-tune.

    Intermediate11 h8 steps

Tutorials

Workflow recipes

  • Chat with private documents on a local model

    Chat with PDFs locally: ask questions about contracts, notes and PDFs with Ollama and Open WebUI or LM Studio on your own computer, and check nothing leaves it.

    Beginner1 h 30 min6 steps

Tools for this skill

9 of 21 tools tagged with this skill.

  • ComfyUI

    Node-graph app for image, video and audio generation.

    MediaOpen sourceComfy Org

  • Continue

    Open-source coding agent for VS Code, JetBrains and the terminal, unmaintained since 2026.

    Coding agentsOpen sourceContinue Dev

  • DeepSeek

    Chat app and API for DeepSeek's open-weight models.

    Models and local inferenceUsage-basedDeepSeek

  • faster-whisper

    Whisper reimplemented on CTranslate2: same accuracy, up to four times faster.

    MediaOpen sourceSYSTRAN

  • Gradio

    Python library for web demos of ML models.

    App buildersOpen source

  • Hugging Face

    Hub for models, datasets and Spaces, plus open-source ML libraries.

    Models and local inferenceFreemiumHugging Face

  • Jan

    Open-source desktop chat app that runs local models offline or connects to hosted ones.

    Models and local inferenceOpen source

  • llama.cpp

    C/C++ inference engine for GGUF models on CPUs and GPUs; many local tools use it.

    Models and local inferenceOpen source

  • LLM

    CLI and Python library for prompting many models.

    Models and local inferenceOpen sourceSimon Willison

Show 12 more

Key terms

Words you will meet while learning this, defined in the glossary.

Full glossary
  • Inference

    Running a trained model to produce outputs, as opposed to training it. Inference cost and speed decide what an AI feature costs to run.

  • Mixture of experts (MoE)

    A model architecture that routes each token through a few specialised sub-networks, so only part of the model runs per token.

  • Model parameters

    The numbers learned in training that determine what a model outputs; a model's size is usually quoted as how many of them it has.

  • Open-weight model

    A model whose trained weights are published for download, whatever the licence terms on their use. Training data and code may stay private.

  • Quantization

    Storing model weights at lower numerical precision, such as 8 or 4 bits, to reduce memory use and speed up inference at a small quality cost.

  • Small language model

    A language model small enough, usually up to a few billion parameters, to run cheaply on a laptop, phone or modest GPU.

  • Speculative decoding

    A speed-up where a small draft model proposes tokens and the large model checks them in one pass, keeping the ones it accepts.

  • Throughput (tokens per second)

    How many tokens a model or serving system generates per second, measured per request or across all requests.