Sizing Ollama models for CPU-only servers: a RAM guide
Ollama can run models on a CPU alone by loading them into system RAM, so the key question is which model fits the available memory with room left for context and the OS. The guide lists download sizes for common model tags, from about 292 MB for gemma3:270m up to 17 GB for gemma3:27b. Its rule of thumb is to keep the model file at or under roughly half the server's RAM at default context, then verify. It also covers quantization differences, such as llama3.2:1b defaulting to 8-bit while its 4-bit version is 808 MB. Four settings, including OLLAMA_CONTEXT_LENGTH and OLLAMA_NUM_PARALLEL, affect how much extra memory is used, and ollama ps and free -h help confirm the result.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in