Skip to main content
llm local-ai privacy on-premise open-weight vllm ollama self-hosted data-sovereignty

Local LLMs

Open-weight language models on your own hardware: model choice, hardware sizing, inference servers and quantization for data-sensitive applications.

Local LLM Deployment

We deploy open-weight models on your servers, workstations or edge devices, so prompts and documents do not leave your network. This matters for regulated data, trade secrets and air-gapped sites.

Cloud or local?

An honest comparison

The best open-weight models are now close to the commercial frontier on many tasks, but not equal on every one. Local deployment buys control. It also adds operations work and hardware cost.
Cloud APILocal
DataSent to a provider (contracts and EU regions can cover this)Stays in your network
CostPer token, no upfront costHardware and operations, cheap per token at steady high load
QualityBest available modelsGood to very good, depends on hardware budget
LatencyNetwork dependentLocal, predictable
AvailabilityProvider-dependentWorks offline
EffortLowReal: updates, monitoring, capacity

Many projects use both: a local model for sensitive data and routine tasks, an API model for hard cases that contain no sensitive data.


Architecture

Local LLM serving architecture: Applications call an OpenAI-compatible gateway, which routes to inference servers running on GPUs or unified-memory machines.

All common inference servers expose an OpenAI-compatible API, so applications can switch between local and cloud models by changing a URL.


Models

Open-weight releases move quickly. These are examples we use and test; we pick and benchmark on your task before recommending one. Always check the license for your use.

ModelSizeStrengthLicense
Gemma 4 (Google, Apr 2026)E2B, E4B, 26B MoE, 31B dense; 256K context on the larger twoMultimodal (image, video), small-footprint, good defaultApache 2.0
Qwen3.8 27B (Alibaba, Aug 2026)27B dense, 262K contextReasoning, coding, vision; fits one 48 GB GPU in 8-bitApache 2.0
gpt-oss-20b / 120b (OpenAI, Aug 2025)20B and 120B MoEReasoning and tool use; 20B on 16 GB, 120B on one 80 GB GPUApache 2.0
DeepSeek V4 Flash284B MoE, 13B active, 1M contextNear-frontier coding and agents; multi-GPU serverMIT

Larger open models exist (DeepSeek V4 Pro, GLM 5.2, a 2.4T Qwen3.8 variant) but need multi-GPU nodes and are rarely worth self-hosting below high volume.

MoE models

Mixture-of-Experts models activate only a fraction of their parameters per token, so they generate faster than a dense model of the same total size. All weights still have to fit in memory.

For retrieval we add local embedding and reranker models, and for scanned documents a vision-language model or OCR model. See RAG systems.


Hardware Sizing

Two numbers decide: memory (the model and its KV cache must fit) and memory bandwidth (it sets tokens per second for a single user).

Rough weight memory: parameters times bytes per weight. A 27B model needs about 54 GB in 16-bit, 27 GB in 8-bit, 14 GB in 4-bit. Add KV cache, which grows with context length and with concurrent users, and can exceed the weights for long contexts.

ClassExamplesSuitable for
Datacenter GPUsNVIDIA H100/H200, B200, AMD MI300XMany users, 100B+ models, high throughput
Workstation GPUsRTX PRO 6000 Blackwell (96 GB), RTX 5090 (32 GB)Department servers, 20-70B models
Unified-memory machinesNVIDIA DGX Spark (128 GB), AMD Ryzen AI Max+ systems, Apple Silicon MacsLarge models for one or few users; bandwidth is lower than on GPUs
EdgeNVIDIA Jetson, laptops, phonesSmall models, 1-8B

Prices are unstable

A worldwide memory shortage has raised hardware prices through 2026. NVIDIA raised the DGX Spark list price from $3,999 to $4,699 in February 2026, and analysts do not expect relief before the end of 2027. We quote current prices when we scope a project.

Unified-memory machines run large models that no consumer GPU can hold, but at much lower speed per token than datacenter GPUs. They suit development and small teams, not many concurrent users.


Inference Servers

ServerBest forNote
vLLMProduction serving, many usersContinuous batching, PagedAttention, wide model support
SGLangMulti-turn and agent workloads with shared prefixesPrefix caching, structured output
llama.cppCPU, Apple Silicon, edge, GGUF modelsRuns almost anywhere
OllamaDeveloper machines, quick startWraps llama.cpp, simple model management
LM StudioDesktop use with a GUIGGUF and MLX, local API server
TensorRT-LLMMaximum speed on NVIDIAMore engineering effort

Hugging Face’s Text Generation Inference is in maintenance mode and its docs point to vLLM and SGLang. We do not start new projects on it.

Quantization

MethodWeight memory vs. 16-bitQuality
FP8 / INT8about 50%Usually near-lossless
4-bit (AWQ, GPTQ, GGUF Q4, FP4)about 25-30%Small loss; test on your task
KV cache quantizationCuts cache memoryCheck long-context quality

Other levers: speculative decoding for lower latency, prefix caching for repeated prompts, tensor parallelism for multi-GPU. We measure on your prompts, because published benchmarks rarely match real workloads.


Tool Use and Agents

Local models run agents and MCP tools. Tool-call reliability varies a lot between models and quantization levels, so we test it explicitly. Pair local models with agents or skills and MCP servers that expose your systems.


Fine-Tuning

Try prompting, retrieval and a better model first. Fine-tune when you need a fixed output format, a domain style or a smaller model that matches a larger one on one narrow task.

  • LoRA / QLoRA: train small adapter weights; fits on a single GPU
  • Full fine-tuning: only with large datasets and clear gains
  • Preference tuning: for tone and behaviour
  • Required: a few hundred to thousands of good examples and a held-out test set

Implementation Process

  1. Assessment: use cases, data sensitivity, users, load
  2. Model selection: benchmark candidates on your data
  3. Sizing and procurement: memory, bandwidth, concurrency
  4. Deployment: inference server, gateway, authentication
  5. Optimization: quantization, caching, batching
  6. Operations: monitoring, model updates, regression tests

Need private AI capabilities? Discuss your local LLM deployment with us.