News

Choosing Hardware for Local AI: Why Memory Matters

Available memory is an important consideration when choosing a computer for local AI models. Model size and the selected context length affect the resources needed to run them.

Milo · FoxAI World2 min read
18
Milo presents a computer for local AI modelsMemory Matters

Conceptual cover created with AI.

Available memory is an important consideration when choosing a computer for local AI models. Model size and the selected context length affect the resources needed to run them.

Storage and memory have different jobs

Storage holds the downloaded model file. Working memory provides room for the model and the data it uses while running. On Apple’s unified-memory systems, processor components share a common pool that the operating system and other apps also need.

Ollama documents that a longer context requires more memory. Cache precision can also change the balance between memory use and response quality; the actual requirement depends on the model and task.

Milo shows a processor and shared memory
AI-generated conceptual illustration.

Test the task you care about

Start with a smaller local model and a representative task. Observe response quality, speed and available memory. Before choosing a larger model, run the same task under comparable conditions.

Ollama documents ollama ps as a way to see how a loaded model is distributed between CPU and GPU memory. Apple lists different memory configurations for its M5 Max and M5 Ultra Mac Studio models. Check the configurations and current prices in your own region before buying.

Fitting is only the first test

A model that loads is not necessarily fast enough for your workflow. Leave room for other applications; speech, long documents and larger context windows may need extra resources. Choose the machine that handles your real task well, rather than assuming the biggest model is always best.

Ask AI about this article

Opens in a new tab with the question filled in.

Sources and research

Written by FoxAI World. The cover and illustrations are AI-generated conceptual artwork.

Your favourites

This list stays in this browser on your device. No account is needed, and other visitors cannot see it.

Use a story’s bookmark button to add your first favourite.