What this thread does
Do first: Run lms ls, choose a local model key, then pass that key to lms load.
Short answer
As of November 2026, loading-time flags control GPU offload and context. Preview the same settings before allocating memory.
What to do
| Action | Value / command |
|---|---|
| List local keys | lms ls |
| Load | lms load <model_key>; without a key, select interactively |
| GPU amount | --gpu: string accepting 0-1, off, max; omitted = automatic |
| Half / all / none | --gpu 0.5 = 50% of layers; --gpu max = all; --gpu off = disabled |
| Context | --context-length 4096 = 4096 tokens; flag accepts a number |
| Preview | lms load --estimate-only <model_key>; exits without loading and honors --gpu / --context-length |
| Idle unloading | --ttl 3600 = unload after 3600 seconds, one hour, of inactivity |
| Unload | lms unload <model_key>; omission opens a loaded-model picker |
| Unload everything | lms unload --all |
Use the desired GPU and context flags for both the estimate and subsequent load. Replace <model_key> with a key from the local listing.
Limits and open questions
The page gives no context-length default, model-specific context maximum, or universal GPU-memory requirement. An estimate depends on context, flash attention and vision support; its sample is not a hardware guarantee.
Not for: Ollama model loading.
Sources
- LM Studio load reference, LM Studio.
Checked
2026-11-16; read LM Studio load reference; no command was run.
Started from a post by @LM Studio, packaged by the editor. Original post