← Blog/LM Studio Will Not Load the Model: What Each Error Means
deep-dive
Runyard Team
@runyard_dev
7 min read

Tags

#lm-studio#troubleshooting#vram#gguf#local-llm
Runyard.dev — Find AI Models That Run on Your Hardware

LM Studio Will Not Load the Model: What Each Error Means

Largest model that loads on each common card size
Most load failures are capacity, whatever the dialog says.

LM Studio's error messages are not always clear about what went wrong. Almost always it is capacity, and the fix is to pick a file that fits rather than to reinstall anything.

What actually fits

At Q4_K_M with an 8K context, computed against usable memory rather than nameplate:

  • 8 GB card — about 7.2 GB usable. Largest model: 8B.
  • 12 GB card — about 10.8 GB usable. Largest: 14B.
  • 16 GB card — about 14.4 GB usable. Still 14B.
  • 24 GB card — about 21.6 GB usable. Largest: 27B.

The 12 GB and 16 GB rows are the surprise. Four extra gigabytes does not move you up a model tier at this quantisation — it buys headroom for a longer context on the same model instead.

The common failures, and what they mean

It loads, then immediately unloads

The weights fit but the cache does not. Lower the context length in the model's load settings before trying anything else.

Failed to load model / exit code 6 or 42

Usually out of memory dressed up as a generic failure. Check the file size against your usable memory — if the GGUF is within about 2 GB of your card's capacity, it will not fit once cache and overhead are added.

It loads but generates at a crawl

Partial GPU offload. Look at the GPU offload slider — if it is not at maximum and cannot go there, the model is too big for full residency.

Unsupported architecture or unknown model

This one is genuinely not capacity. The GGUF uses an architecture your build of llama.cpp does not know. Update LM Studio; new architectures need runtime support and a recent quant of a brand-new model often needs the newest build.

Pick the file that fits first

Most of this is avoidable at the download step. The rule: choose the largest quantisation whose file is at least 2 GB below your usable memory, which leaves room for the cache and runtime overhead.

Every figure here is computed the same way the calculators do it: weights are parameters times bits-per-weight divided by eight, plus a KV-cache term for your context, plus about a gigabyte of runtime overhead. Usable memory is roughly 90% of nameplate on a discrete card.

Check what your card holds before you download 20 GB.

Check your hardware

RUNYARD.DEV

Hardware-aware AI model discovery. Know exactly what runs on your machine — before you download.

© 2026 RUNYARD.DEV — All rights reserved.

Built for local AI.

Tools

Try Runyard

Find AI models that fit your exact hardware. Enter your specs and get a ranked list instantly.

Newsletter