maclocal-api
OpenAI-compatible local server for Apple Foundation and MLX models on macOS
maclocal-api is a command-line tool, invoked as afm, that runs a local server on a Mac. It exposes Apple's Foundation Models and MLX models through one OpenAI-compatible API endpoint, so existing client code can point at the Mac instead of a cloud service. It is aimed at developers and people who want to run language models on their own hardware.
Besides server mode, afm has a single-prompt mode for one-off inference that works with shell piping, and it also handles Apple Vision input. The project is MIT licensed and the source code is public on GitHub. It runs on macOS only.
Alternatives to maclocal-api
Products that do a similar job in AI Tools.
Open WebUI
Self-hosted web interface for chatting with local and remote language models
Jan
Offline desktop chat app for running language models locally
Osaurus
Local LLM server for Apple silicon Macs built on MLX
LM Studio
Desktop app for finding, downloading and running large language models locally
Lemonade
Local LLM server for running models on your own GPU or NPU
unsloth
Local web interface for running and fine-tuning LLMs and diffusion models
AnythingLLM
Open-source AI agent application that runs locally on your own machine
shimmy
Local OpenAI-compatible inference server for GGUF models on any GPU