DocsHow-to guides
Loading models and the fit check
Load a model with the settings you want, and how ModelDeck checks memory before every load.
Where your models live
ModelDeck lists the models in one folder, the Model folder in Settings > General. By default that is ~/.modeldeck/models, ModelDeck's own folder, so it never shares a library with another app unless you point it there. You can point it anywhere, including an LM Studio library. On a Mac, ModelDeck also lists the models Splash installed itself, marked Installed by Splash; it only reads that folder.
ModelDeck finds:
- GGUF files, with split files (
-00001-of-00003.gguf) grouped as one model. - MLX folders: a
config.jsonwith.safetensorsweights. - Splash packages.
Models you download from Discover go to <Model folder>/<owner>/<repo>/. A model with missing files shows an Incomplete download chip and cannot load until you finish or redo the download. After you change the Model folder, or copy files into it, click Rescan on the Models screen.
The Models screen
Open Models in the sidebar (⌘2). Each model is a card with its engine, kind, quantization, size on disk, the longest context it supports, and when you last used it. By model groups the quantizations of one base model side by side, each card showing its source and engine; All cards shows a flat grid. Filter by search text, engine (GGUF, MLX, Splash) and kind (LLM or Decision).
On a card:
- Model card, the button beside the model or quantization name, opens its model card on Hugging Face.
- Load loads the model with its saved settings.
- Click the card, or choose Load with settings… in its ⋯ menu, to open the load sheet first.
- Benchmark measures its speed on this Mac.
- While it runs: Running ↗ opens it on the Server screen, Change and reload… reopens the load sheet, and Unload stops it and frees its memory.
- The ⋯ menu also has Model kind, Show in Finder and Move to Trash….
Choosing Splash or llama.cpp
A standalone GGUF file that the installed Splash release's catalog lists defaults to Splash once Splash has verified the file. The load sheet then shows an Engine menu with Splash (default) and llama.cpp (GGUF), and the card says Splash available. Splash reuses the model file already on disk and any compatible draft model. Its first load may download a draft model, and a file with no vision file runs in text-only mode. A running model's button reads Running on Splash or Running on llama.cpp.
Model kinds
ModelDeck marks each model LLM (generative chat) or Decision (typed judgments: labels, scores, yes or no). It detects rerankers and classifiers from the file's metadata and name. If it guesses wrong, set Model kind to LLM or Decision in the card's ⋯ menu; Auto goes back to detection. Decision models answer on the decision endpoints and in Evaluate > Decide.
Ways to load a model
- Load on a model card, or on a model card in Discover.
- The model loader: press ⌘L anywhere, type to filter, and press Enter to load with saved settings. Press ⌥-Enter or click Settings… to choose settings first. Running models are listed at the top with Unload.
- The command palette (⌘K): Load a model….
- The Server screen: Load a model.
- An app's request for a model that is not loaded, when loading on first request is on.
- At launch: Settings > Startup > Load a model when ModelDeck starts.
Running models are managed on the Server screen, which shows each one's memory, idle timer, load settings and the id apps use.
The load sheet
The load sheet shows, top to bottom:
- Memory: how much memory the model will use and whether it fits. See The fit check.
- Preset: the saved settings for this model, and what you changed from it.
- Settings: quick settings at the top, then the common settings, and a search box over every setting.
- More settings: every other setting, by group, plus Port and Load on first request.
- Command line: the exact command ModelDeck will run, with secrets masked, plus Import from CLI, Extra args and Environment.
Then Load (or Reload for a running model). If something blocks the load, the sheet lists it and says Fix the errors above to continue.
Quick settings
One-tap choices for the settings people change most, shown only when the installed engine supports them:
| Engine | Quick settings |
|---|---|
| All | Unload after idle: Never, 10 min, 30 min, 1 hour or 2 hours. Empty uses the default in Settings. |
| GGUF | Context (up to the model's own limit), Reasoning, Flash attention. |
| Splash | Context, Reasoning, SSD cache with Keep after restart, KV cache format. |
| MLX | KV cache (Full, 8-bit, 4-bit), Max reply. |
Every engine setting
The settings list comes from each engine's own --help, so it matches the engine you have installed. Each setting shows a plain label, the real flag (for example --ctx-size), and one sentence on what it does. Settings ModelDeck manages itself, such as the host, port and model path, are shown as set by ModelDeck.
Context length starts from the model's own setting, then the model's native context, then Default context (tokens) in Settings > General (32,768 unless you change it).
Presets
Presets are saved per model. Each model starts with a built-in Default preset, which cannot be renamed or deleted. Use the ⋯ menu next to the preset for Save as…, Save changes, Rename…, Delete and Reset to default. Under the preset, Changed vs lists every setting you changed from it.
A preset keeps the engine settings, extra args, environment variables, port, idle time and the Load on first request switch. For decision models it also keeps the decision defaults used by Decide and /v1/decide.
Load on a card uses the model's most recently saved preset, or Default. A load from an app's request uses the settings the model last ran with.
Extra args, environment and port
- Extra args takes free text, split like a shell command.
- Environment takes variables. Names containing KEY, TOKEN, SECRET or PASSWORD are marked secret and masked.
- Port is normally left on auto; ModelDeck picks one from 8101 to 8199.
- Import from CLI reads a
llama-server,mlx_lm.serverorsplashcommand you paste, shows what it recognized, and applies it to the form.
ModelDeck starts every engine on the loopback interface only, so nothing it runs is reachable from your network. It refuses --port in extra args (use the Port field), any host or bind setting that reaches beyond this Mac, and wildcard CORS origins. It checks again right before starting the engine.
The fit check
Before you load, the load sheet estimates the memory the model needs and compares it with what is free:
- Needs: the model file, plus the context (KV cache) at the context length you chose, plus engine overhead.
- Free for it: this Mac's memory, minus the memory reserve for macOS and your apps, minus what other ModelDeck models use.
The verdict is one of:
| Verdict | Meaning |
|---|---|
| Fits | Fits with room to spare. |
| Tight | Fits, with less room to spare than the fit check wants. |
| Runs from SSD | Larger than free memory, but it can run by reading from your SSD. See below. |
| Won't fit | Needs more than is free. |
| Unknown | The size is unknown, so ModelDeck cannot estimate it. |
Open How is this estimated? for the arithmetic. The same verdicts show in the model loader and in Discover.
Fit check and memory reserve
Two settings in Settings > General decide how strict the estimate is:
| Fit check | What it does |
|---|---|
| Strict | Counts what your apps use right now (or the reserve, if more) and wants 8 GB to spare. Safest; often says no when macOS could make room. |
| Balanced (default) | Keeps the memory reserve for macOS and your apps, ignores what they happen to use right now, and wants 4 GB to spare. |
| Relaxed | Keeps at most 4 GB for macOS and wants 2 GB to spare. Big models load; other apps may slow down. |
| Off | Same numbers as Relaxed, but never stops a load or benchmark on its own. |
Memory reserve (GB) is the memory kept free for macOS and your apps. The default is 16 GB; on a Mac with less than 64 GB it becomes a quarter of the Mac's memory. Any other value you set is used as written. A second model loaded beside another always gets the full reserve.
Runs from SSD
A GGUF model larger than free memory can still load when it is the only model loaded and its weights are no larger than your Mac's memory. It reads from the SSD as it runs, so replies are slower, they slow down further as the prompt grows, and other apps may slow down too. ModelDeck asks before it loads one.
- It never loads beside another model, and the Strict fit check always says Won't fit instead.
- It needs memory-mapped weights, so not with
--no-mmapor--mlock. MLX and Splash models cannot run from the SSD. - It was tested on one 64 GB Mac with weights at 0.97 times its memory. A model at 1.62 times memory failed on every request, and sizes in between were not tested.
The memory check
Every load is checked for memory: from the app, from an app's API request, from loading on first request, and from MCP. Models still loading count at their full size.
When you load from the app and there is not enough memory, ModelDeck shows a dialog that lists the models in the way:
- Unload … and load unloads those models, then loads yours. It shows only when that makes room.
- Load anyway loads it regardless. The models compete for memory, so loading and replies get much slower and your Mac may slow down.
- Cancel leaves everything as it is.
If the model does not fit even with every other model unloaded, the dialog says it is too big for this Mac's memory.
Loads from apps and MCP cannot ask, so Settings > General > When a model won't fit decides:
| Option | What happens |
|---|---|
| Refuse with a clear error (default) | Does not load. The API answers 503 insufficient_memory, naming the models in the way and the memory needed. |
| Unload the model idle longest | Unloads the models that have gone longest without a request until the new one fits. Never unloads a model that is answering or still loading. |
| Wait in line | Holds the load until enough memory is free, for up to 5 minutes, then refuses. |
| Load anyway | Loads regardless, with no error. |
With Fit check set to Off, the check does not stop a model that loads alone, however large. If the GPU then cannot hold it, ModelDeck stops it and says why.
Reloading a model with new settings runs the check first, so a reload it would refuse leaves the running model running.
While it loads
The Server screen shows loading progress as memory arrived of memory expected, for example 12.3 GB of about 27.6 GB. For a GGUF model the bar can jump ahead, because memory-mapped weights count as arrived before they are read. If macOS reports memory pressure while a model loads, ModelDeck says the load is slowed and offers Stop.
If the GPU runs out of memory, ModelDeck marks the model failed, stops it, and keeps the reason on screen for 5 minutes. Try a smaller quant or a smaller context.
Unloading
Unload (on a card, in the model loader, or on the Server screen) stops the model and frees its memory. A model also unloads after it has had no requests for its idle time: 10 minutes by default, set in Settings > Local server > Unload after idle (minutes) or per model in the load sheet. 0 keeps it loaded.
MLX setup
The first time you load an MLX model, ModelDeck asks to set up a small private Python environment for it. See MLX.