Desktop availability and downloads
The desktop Local Models interface is enabled for canary builds. Other desktop builds require the--local launch flag. A runtime can already be bundled;
its absence triggers the managed-tool install path, not an arbitrary latest
llama.cpp download.
Use Pause and Resume on engine installs, engine updates, catalog models,
Hugging Face downloads, and quickstart. Paused jobs remain visible when you
leave and reopen Local Models. Pause stops the transfer at a chunk boundary;
unpacking, verification, and server activation are separate phases.
PM downloads every engine component, including CUDA runtime DLLs, from the
URLs and SHA-256 pins in pm/lock.json. Model weights, split GGUF parts,
vision projectors, and draft models use the same downloader. Byte progress
covers the whole download plan, including completed files and resumed ranges.
Quickstart labels engine and model progress as separate stages.
Partial downloads use PM’s writable cache/partials area, outside a signed
app package. Range-capable hosts resume missing bytes. Hosts without Range
support restart the current file. Completed files are reused.
Getting started
- Open Settings → Providers → Local Models (or choose Run models locally during onboarding).
- Click Install runtime. Mibyan downloads the official llama.cpp build for your hardware (a few hundred MB), verifies it, and keeps it updated.
- Pick a model from the catalog and click Download.
- Click Use. New chats now run on the local model.
How Mibyan picks what to download
Every model in the catalog is priced against your machine before you download anything. Each row shows:- Memory fit — green (Fits your GPU: runs entirely in GPU memory), amber (Uses system RAM: works, but slower), or red (Too big for this machine).
- Context — the window the model starts with and the maximum it can grow to.
- The download size of the build selected for your hardware.
How memory management works
Local models live or die by memory placement, so Mibyan manages it end-to-end and exposes no knobs:- Models start at a context window that fully fits your GPU and grow toward their native maximum as your conversation needs more room. You may see “Context window grown” in the status feed during long sessions — that’s the window expanding, not an error.
- Every recommended model gets at least a 64K context window. When a model is larger than your GPU’s memory, Mibyan deliberately places the overflow in system RAM in the order that hurts least (expert weights first, never the attention cache), trading some speed to protect the context guarantee.
- Memory fit includes the launch configuration, not just the model file: context state, runtime buffers, the vision projector, and MTP buffers all count. For multi-token prediction (MTP), Mibyan uses smaller batches when larger batches would spill at the same context window. MTP stays enabled. The same calculation runs when a grown window is restored after restart.
- Conversation compression follows a growth check. If a larger window cannot fit, generation is too slow, or the native maximum is reached, Mibyan compresses instead of claiming a window the server did not receive.
- Idle models are unloaded after 15 minutes to free GPU memory; they reload automatically on the next message.
The status bar
Right-click the status bar and enable System resources to see live GPU utilization, GPU memory, and RAM while local models run. The context meter always reflects the window the model is actually running with.Finding more models
The catalog is a curated starting point, not a boundary. The Find more models section on the same page searches all of Hugging Face:- Results show download counts and a per-file fit check sized to your machine, so you know before downloading whether a build runs fully on your GPU.
- Anything you download behaves exactly like a catalog model — Mibyan reads the model file itself to pick its context window and memory placement. The only difference: community models don’t carry our “validated” testing badge.
- Already have a
.gguffile on disk? Add model file links it into your library without copying it (the original stays where it is), and it’s usable immediately.
Using your own llama-server
If a llama-server is already running on your machine, Mibyan detects it and uses it instead of starting its own. Point a custom endpoint at any OpenAI-compatible server for full manual control — the managed runtime is a default, not a requirement. You can enter the server root (for examplehttp://127.0.0.1:8080) or the full /v1 URL: the endpoint test tries
both and saves the variant that actually served /models, so chat
requests go to the same prefix the model list came from. For manual setups (Ollama, MLX, custom
builds, headless CLI machines), see
Run Mibyan Locally with Ollama and
Run Local LLMs on Mac.
Configuration
The managed runtime is controlled by thelocal_runtime section of
config.yaml. The desktop UI writes these values for you; they’re
documented for CLI and headless use:
llama-server yourself on a fixed port works with the same
model.provider: llamacpp selection — either list the port in
local_runtime.detect_ports, or define the endpoint explicitly under
providers: (an explicit entry wins over server detection):
/model → Local picker row and provider: llamacpp resolve to that
server; with no server reachable the error names the local runtime (“the local
model server isn’t running”) instead of an unknown-provider or missing-API-key
message.
Engine versions come only from PM’s lockfile, not a local_runtime.tag
override. Boot uses an installed PM engine without downloading. When a new
pin is available, install it with the desktop update button.
Models live in the machine-shared models/ directory. Engine binaries live
in PM’s store; runtimes/llamacpp/ holds mutable presets and server state.
Selecting a local model as your main model uses the standard
model.provider: llamacpp + model.default settings.
Requirements and limits
- Windows: CUDA on supported NVIDIA targets, Vulkan on x64, or CPU. Linux: Vulkan or CPU; the pinned release has no prebuilt CUDA archive. macOS: Metal or CPU. HIP/ROCm is an explicit choice on supported x64 targets. Unsupported backend/target pairs fail before any download.
- A GPU with 8 GB+ of memory runs the small catalog models comfortably; 16 GB+ runs the 27–35B models at high quality.
- Model completeness is checked against the server’s response, not catalog size estimates. Interrupted transfers retain partials for resume; incomplete files are not published. Engine archives are SHA-256 verified before use.
- Deleting a model removes every file it staged, including vision adapters and speculative-decoding companions.

