Developers

Open, local, and yours to build on.

Mference runs on its own Swift and Metal inference engine, with llama.cpp linked in for GGUF models. The same engine powers the app, a local OpenAI-compatible server and a command-line tool.

Get started

Install it in one line.

Mference runs on Apple Silicon Macs with macOS 26 or later. It is pre-release and not yet signed with an Apple Developer ID, so for now there are three ways to install it; a signed download comes later.

One line in Terminal downloads the latest release, checks its SHA-256 and puts Mference in Applications, with no Gatekeeper warning. An older copy goes to the Trash; your chats and models stay. Read the script before you run it.

Download the app: get Mference.dmg, open it and drag Mference to Applications. The first time you open it, macOS says it cannot verify the app: click Done, then in System Settings > Privacy & Security click Open Anyway next to “Mference was blocked”, and confirm. You do this once.

Build from source with Xcode 26. The app needs Xcode itself, since SwiftData’s @Model macro is not in the Command Line Tools; the CLI, server and installer build with either. The first build takes about six minutes on an M1 Max; later builds are much faster.

On first run the app helps you pick a model. Every model installs from inside the app, in Settings > Models.

# install the latest release in one line
curl -fsSL https://raw.githubusercontent.com/NeelM0906/Mference/main/install.sh | bash
# or build from source: clone, fetch the search engine once, build and open
git clone https://github.com/NeelM0906/Mference.git
cd Mference
App/Scripts/searxng/prepare.sh --fetch
App/Scripts/run.sh

More models

Or install from the terminal.

Qwen 3.6, MiniCPM5 (2B and 1B), Maple and Inkling 2 Mini install from inside the app, and the same installer runs from the terminal too. It streams each pinned checkpoint without staging the whole source, and the app finds the result in ~/llm-models on its own.

# or --model minicpm5 / minicpm5-1b / maple / inkling2mini
swift run -c release MferenceRepack \
  --model qwen36 --output ~/llm-models/qwen36.gturbo
# add --resume to continue an interrupted install

Under the hood

One engine, three ways in.

MferenceEngine

One API for every model, with two backends: Mference's own runtime for .gturbo installs and in-process llama.cpp for GGUF files. Embed it in your own Swift app.

Engine API โ†’

Local server

An OpenAI-compatible server bound to 127.0.0.1. In library mode it serves every installed model from one process, swapping the resident model in place.

Server guide โ†’

CLI

Run a prompt against any install from the terminal, with the same runtime controls as the server.

Runtime controls โ†’

Server

Point your own tools at your Mac.

Anything that speaks the OpenAI chat API can talk to a model on your Mac. The server has no authentication of its own, so it stays on the loopback address unless you choose your Tailnet.

Run one model process at a time: not alongside the app, which already holds its model.

swift build -c release --product MferenceServer
.build/release/MferenceServer \
  --model ~/llm-models/qwen36.gturbo \
  --port 8080 --max-context 16384

# then, from any client
curl http://127.0.0.1:8080/v1/models

Contribute

Help make it better.

New Mference code is MIT. Its foundation comes from TurboFieldfare by Andrey Mikhaylov (Apache 2.0). Vendored llama.cpp and ggml, Maple's MLX-derived kernels, the bundled SearXNG (AGPL-3.0, shipped with its source) and the Geist font (OFL) keep their own licenses; see the README.