Local AI and self-hosted LLM guides
Start with a local chatbot or coding assistant, compare desktop runtimes, and check CPU and GPU memory needs. Work through offline preparation, model selection, self-hosted APIs and retrieval with checks you can repeat on your own hardware.
Getting started
- Local AI: what it means and how to run your first modelGet started with local AI using Ollama or LM Studio. Run a model, test a useful task, check memory and trace where your prompts and files go.4 min read
- How to self-host an OpenAI-compatible API on your own GPURun open LLMs with Ollama on your GPU and share them through the hosted gpuos API with team keys, optional token quotas and usage metering.3 min read
- Ollama API: native endpoints, OpenAI compatibility and accessCall Ollama with curl, Python and Node. Compare native and OpenAI routes, parse streaming, request embeddings and connect through the gpuOS gateway.6 min read
- How to benchmark a local LLM: latency, tokens per second and concurrencyMeasure local LLM performance with a repeatable Ollama benchmark. Separate TTFT, total latency, generation throughput, cold starts and concurrent requests.4 min read
Hardware
- Ollama not using your GPU: diagnose CPU fallback and partial offloadCheck Ollama model placement, NVIDIA visibility, container access and memory pressure. Diagnose CPU fallback with scoped commands and server logs.7 min read
- Run a local LLM without a GPU: a CPU inference workflowRun a local language model on a CPU. Choose a small quantized model, budget RAM and context, verify the execution device and measure your own latency.5 min read
- How much VRAM do you need to run an LLM?VRAM needed for Qwen3, GLM-4, gpt-oss, DeepSeek R1 distill, Mistral Small, Gemma 3 and more, the rule of thumb behind it, and which GPUs fit each model.184 min read
- Run Qwen3 32B on a Hetzner GPU server (GEX45)Set up a Hetzner GEX45 with an RTX PRO 4000 Blackwell 24 GB, install the NVIDIA driver and gpuos, and serve Qwen3 32B through an OpenAI-compatible API.2 min read
- Which LLMs can run on a 24 GB GPU?Choose LLMs for a 24 GB GPU by task, quantization and memory headroom. Compare catalog estimates and verify context, concurrency and offloading.6 min read
- LLM quantization explained: choose Q4, Q8, FP16 or BF16Choose a quantized LLM for your GPU. Compare Q4, Q8, FP16 and BF16, estimate weight memory, and test answer quality with real context lengths.4 min read
- LLM context window and KV cache: plan GPU memory for real trafficPlan LLM context length, KV cache and concurrency on your GPU. Budget chat history, RAG passages and outputs, then validate Ollama memory and latency.4 min read
Use cases
- Ollama structured outputs: JSON Schema and strict client validationExtract JSON with Ollama's OpenAI-compatible API. Run a Node.js example with JSON Schema, bounded requests and business-rule validation before using the result.8 min read
- Build an offline AI assistant and verify its network pathPrepare a local AI assistant for offline use. Download models, disable cloud features and remote tools, then verify the complete workflow without internet.5 min read
- Set up a local AI coding assistant with Ollama and ContinueConfigure Continue with a local Ollama coding model. Control repository context, review small edits and verify changes with your project's tests.5 min read
- RAG on your own GPU: embeddings and chat with gpuosBuild RAG with BGE-M3 embeddings and Qwen3 on your GPU. Connect through the hosted gpuOS gateway with LangChain.2 min read
- Self-hosted embeddings API: BGE-M3 vs Qwen3 EmbeddingBuild a runnable embeddings API retrieval example with BGE-M3 or Qwen3 Embedding. Compare memory estimates, query instructions and index migration.8 min read
- LLM tool calling with a self-hosted OpenAI-compatible APIImplement function calling with a local LLM through chat completions. Define tools, validate arguments, execute application code and return tool results.4 min read
Compliance
Comparisons
- Ollama vs LM Studio: compare local AI workflows and APIsCompare Ollama and LM Studio for local chat, application APIs and headless serving. Test model formats, privacy boundaries and your real workflow.4 min read
- Local AI vs cloud AI: choose by workload, cost and data flowChoose local or cloud AI with a practical evaluation of model quality, latency, hardware costs, request volume, data flow and operational responsibility.4 min read
- An Ollama alternative for teams: Ollama with gpuOSOllama is the easiest way to run an LLM on one machine. gpuos builds on it for teams: API keys, quotas, metering, several nodes and no open port.2 min read
- Ollama vs vLLM: which inference engine should you choose?Compare Ollama and vLLM for local models and shared GPU serving. Launch both, check API differences and benchmark your workload without misleading rankings.7 min read
Try it on your own GPU
Free for one GPU. Install the agent, deploy a model and call it through one OpenAI-compatible API.