All articles
-
Ollama API Examples: curl, Python, and OpenAI SDK
Working Ollama API examples for chat, streaming, JSON schema output, tool calls, and embeddings in curl and Python, plus the metrics to log per call.
-
Ollama vs LM Studio: Which Local LLM Runner to Pick
Ollama vs LM Studio compared on speed, API, headless serving, Apple Silicon MLX and licensing, with a clear pick for developers and desktop users.
-
How to Run Ollama in Docker: CPU, NVIDIA and AMD GPU Setup
Run Ollama in Docker on CPU, NVIDIA or AMD. Check GPU use, keep downloaded models across upgrades and bind the API to localhost with Docker Compose.
-
Best GPU for Ollama: 8GB to 48GB Cards Compared
Best GPU for Ollama by the two specs that matter: VRAM capacity decides what loads, memory bandwidth decides how fast it answers. Compared by tier.
-
Best Ollama Models for 8GB VRAM: What Fits
Which Ollama models fit an 8GB card: llama3.1:8b, qwen3:8b and gemma3:4b with their library sizes, the near misses, and how to set context.
-
Ollama on Apple Silicon: Unified Memory Sizing
Ollama on Apple Silicon: how much unified memory a model actually gets, what each M-series chip's bandwidth means for speed, and which Mac to size for.
-
Ollama Not Using GPU: Fix CPU Offload and 100% CPU
Run ollama ps to see if Ollama is on the GPU. Fix 100% CPU or a CPU/GPU split: check the driver, Docker, iGPU flag, then free VRAM or cut num_ctx.
-
Ollama Tokens per Second: How to Show & What Sets Speed
Show Ollama tokens per second in the terminal, calculate generation speed from the API, and see how memory bandwidth and context affect decoding.
-
Ollama Without a GPU: CPU-Only Speed and RAM
Run Ollama without a GPU. Compare CPU-only speed estimates and RAM by model size, then see how to force and verify CPU mode on Linux and Windows.
-
How Much VRAM Do You Need to Run Local LLMs with Ollama?
VRAM sizing for local LLMs: how quantisation, parameter count, and context length set your GPU memory bill, and which model fits 8, 12, 16, or 24 GB.