jjang-ai/mlxstudio
Apple Silicon desktop app for local chat and an OpenAI-compatible API via vMLX
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
MLX Studio is a macOS desktop app built around the vMLX inference server on Apple Silicon. The source build uses Electron for the desktop panel and an installable Python engine; the packaged app bundles Python 3.12 and its dependencies. The jjang-ai/mlxstudio root contains release-facing material and latest.json, while the buildable engine and panel/ sources are in jjang-ai/vmlx.
The desktop workflow runs from model discovery and download on Hugging Face to local inference and streaming chat. SQLite persists conversation sessions. For programmatic access, Server mode exposes localhost HTTP with OpenAI-compatible /v1/chat/completions and /v1/responses routes. Structured function calling is a separate integration surface: clients should validate tool behavior with the chosen model and template rather than infer compatibility from the HTTP routes alone.
Key Capabilities & Differentiators
The desktop app combines streaming multi-turn chat, vision input for models such as Qwen-VL, LLaVA, and Pixtral, and reasoning support for families such as DeepSeek-R1, QwQ, and GLM-Z1. It also offers structured tool calling, MLX diffusion image generation, Kokoro text-to-speech, and Whisper transcription. Model inspection, conversion, quantization, and diagnostics make it useful for more than interactive chat.
At the serving layer, continuous batching with PagedAttention manages requests and their attention caches. Prefix caching can reuse work across repeated prompt prefixes, while KV-cache quantization reduces the cache footprint of longer contexts. Speculative decoding targets generation speed on supported models. The engine also supports JANG mixed-precision formats and hybrid Mamba/SSM–Transformer architectures; these engine capabilities do not establish that every model supports every optimization.
Trade-offs & Limitations
Compared with hosted ChatGPT, MLX Studio lets you select the model and run inference on your own Mac, but makes you responsible for model downloads, storage, hardware sizing, and runtime compatibility. Compared with using the separately available vmlx CLI or Python library, the desktop package removes environment setup and adds chat, model tools, and API testing; the CLI or library is the more direct fit if you only need scripted engine access.
Unified memory is shared with the rest of the system. Size for the selected weights, KV cache, context length, concurrent requests, and other workloads—not just whether the model loads. The 8 GB floor and 16 GB recommendation are starting points, not performance guarantees; no throughput figures are established here. The distribution repository's license is unspecified, so verify the applicable app, engine, and model terms before commercial adoption or redistribution.
Hardware & Deployment Guide
The listed baseline is Apple Silicon (M1–M4), macOS 14.0 Sonoma or later, and 8 GB RAM, with 16 GB or more recommended for larger models. Budget roughly 500 MB for the app and 1–50 GB per model. The listed signed and notarized arm64 DMGs target Tahoe and Sequoia; if deploying on Sonoma, confirm a compatible artifact rather than assuming the stated minimum covers those installers. The packaged path requires neither system Python nor a virtual environment. Fetching a model from Hugging Face requires network access; inference is local once the model is available.
For source builds, use the separate vmlx repository: install the Python engine in a virtual environment, then build panel/ with npm and electron-builder. The documented API serves clients on localhost; do not assume remote-access controls are part of that setup. Recent releases show model-specific runtime work: v1.6.87 adds long-context kernels and HY4-flash changes, while v1.6.88 extends HY4 with DFly2 decoding, template-specific thinking controls, and durable tool-turn caches.
/v1/chat/completions and /v1/responses.Apple Silicon users and developers who want local chat, hands-on model testing, and a localhost API without maintaining a Python environment.
You need non-Mac support, a turnkey shared inference service, or hosted chat without responsibility for model downloads and hardware sizing.
Quick Start & Installation
# Clone the source repository git clone https://github.com/jjang-ai/vmlx.git cd vmlx # Set up the Python engine python3 -m venv .venv source .venv/bin/activate pip install -e . # Build the Electron app cd panel npm install npm run build npx electron-builder --mac --dir # The app is in panel/release/mac-arm64/MLX Studio.app
Comparison vs. Top Chat UI & AI Apps Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| mlxstudio ★ | 1k | +4 | — | — | Apple Silicon desktop app for local chat and an OpenAI-compatible API via vMLX |
| cherry-studio | 54.1k | +204 | TypeScript | AGPL-3.0 | Electron AI workspace for comparing cloud and local models, running agents, and |
| jan | 46.4k | +139 | Rust | — | Tauri desktop chat with local LLM inference and an OpenAI-compatible API |
| LocalAI | 50.7k | +102 | Go | MIT | A Go-based, self-hosted chat workspace and API server for local models |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/jjang-ai/mlxstudio.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about mlxstudio
How do I connect an existing OpenAI-compatible client?
localhost. The exposed routes include /v1/chat/completions and /v1/responses. Test streaming and tool-call payloads with the intended model before treating it as a drop-in replacement for another provider.Is 8 GB enough, and what should I budget for a 16 GB Mac?
Does local self-hosting mean I can use or redistribute it commercially?
mlxstudio distribution repository has no specified license in the supplied metadata. A signed installer and a link to source code do not establish commercial use or redistribution rights. Before an organizational rollout, verify the desktop app and engine terms separately, along with the license of each selected model.When is MLX Studio a better fit than hosted ChatGPT?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy