DocsExplanation
How ModelDeck works
How a request reaches a model, how the memory check decides, what updates do, and what data leaves your Mac.
The parts
ModelDeck is a Mac app that starts and watches model engines for you. It does not run models itself: each model runs in its own engine process, on this Mac only.
- Engines run the models: llama.cpp's
llama-serverfor GGUF files,mlx_lm.serverfor MLX folders, and Splash for Splash packages. ModelDeck starts one engine process per loaded model, each on its own port from 8101 to 8199. - The local server is ModelDeck's front door for other apps. It speaks the OpenAI and Anthropic APIs and passes each request to the right engine.
- The MCP server lets an agent control ModelDeck itself.
- The app shows what every engine is doing: memory, requests, tokens, speed and logs.
How a request reaches a model
- Your app sends a requestOpenAI or Anthropic format, to the local server
- The server checks the keyIf you set one
- It finds the modelBy the
modelfield - It loads the model if neededOnly with loading on first request on, after the memory check
- It forwards the requestTo that model's engine, streaming back as it goes
- It records the requestTokens, timing and status in Live requests
Requests in the Anthropic format are translated to a chat completion for the engine and back. Streaming replies pass straight through, and ModelDeck reads the stream on the side to measure time to first token and speed. That is how the app can show live telemetry without slowing the reply.
How ModelDeck decides whether a model fits
Every load, from the app, an API request, loading on first request or MCP, goes through the same check:
- Estimate what it needsModel file, plus the KV cache at the chosen context, plus engine overhead
- Work out what is freeMemory, minus the reserve, minus other ModelDeck models (counting ones still loading at full size)
- CompareFits, Tight, Runs from SSD or Won't fit
- ActLoad; or ask you; or follow When a model won't fit
Your Mac's memory is shared by the CPU and GPU, so a model loads into the same memory your apps use. The memory reserve keeps room for macOS and your apps. The fit check setting decides how much spare room ModelDeck wants. See Loading models and the fit check.
Which engine to use
- You have a GGUF file, or want the widest choice of models
- GGUF (llama.cpp)
- You want models built for Apple silicon from mlx-community
- MLX
- You use Splash models, or want speculative decoding
- Splash
- You are on Windows or Linux
- GGUF; the others need a Mac
- A model is larger than free memory
- GGUF can run it from the SSD when it is the only model
The model's format decides the engine; you do not choose per model. See Engines.
How updates work
- CheckAt launch and once a day: one request for the version file
- OfferA strip above the status bar, and the card in Settings > Updates
- DownloadAfter you click, checked against its size and SHA-256
- InstallAfter you click again: quit, replace, reopen
Engine and model updates are separate and never run on their own. Settings > Updates shows the exact command first, and keeps the previous version so you can undo. See Updates.
What leaves your Mac
- Prompts, chats, attachments, files and model names
- Stay on your Mac
- Models and their weights
- Stay on your Mac
- Usage telemetry: a random ID, versions, Mac details, counts
- modeldeckaicore.app, once a day; off in Settings > Privacy and data
- Registration details, if you register
- modeldeckaicore.app, encrypted; change or delete in Settings > Your details
- Searches and downloads in Discover
- Hugging Face
- Chats with an API provider's model
- That provider
- Update checks
- modeldeckaicore.app, and for engines GitHub, PyPI and Hugging Face when you check
See Privacy and telemetry for the details.