Analysis updated 2026-05-18
Run a capable open source language model locally on a Mac without cloud API costs
Point an OpenAI compatible tool or app at a local server instead of a paid API
Experiment with a mixture of experts model on consumer Apple Silicon hardware
| drewcsillag/qwen36ba3b-m1macbook | anthonyhann/knowledge-wiki | baiyuetribe/test-heroku | |
|---|---|---|---|
| Stars | 1 | 1 | 1 |
| Language | Shell | Shell | Shell |
| Last pushed | — | — | 2021-06-30 |
| Maintenance | — | — | Dormant |
| Setup difficulty | moderate | moderate | hard |
| Complexity | 3/5 | 3/5 | 1/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires an Apple Silicon Mac with at least 24 GB unified memory.
This repository provides Shell scripts to run Qwen3.6-35B-A3B, a large AI language model, as a local HTTP server on Apple Silicon Macs, with an API compatible with the OpenAI API format. The goal is to make it easy to use a capable open model locally without a cloud service. The model has an unusual architecture. GatedDeltaNet is used for 30 of its 40 layers: instead of a growing memory cache that expands with longer conversations, it maintains a fixed size recurrent state, so memory usage stays constant regardless of context length. The other layers use Mixture of Experts, where only 8 of 256 specialized sub networks are activated per token. The result is a model with 35 billion total parameters but roughly 3 billion active at a time. At 3 bit quantization it fits in about 16 GB of unified memory and runs at around 37 tokens per second on an M1 Pro with 32 GB RAM. Setup runs a single script that creates a Python virtual environment, installs MLX, Apple's machine learning framework for Apple Silicon, applies a small patch so the server accepts any model name, and downloads the model weights. The server then exposes endpoints at /v1/chat/completions and /v1/completions, so any tool configured for an OpenAI compatible API works without changes. A thinking mode is on by default, where the model produces a chain of thought reasoning section before its final answer. This can be disabled for faster responses. Requirements are an Apple Silicon Mac, M1, M2, M3, or M4, with at least 24 GB unified memory, macOS 13 Ventura or later, and Python 3.10 to 3.12.
Shell scripts that run a large open AI language model as a local, OpenAI compatible server on Apple Silicon Macs.
Mainly Shell. The stack also includes Shell, Python, MLX.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.