█

AI/TLDR

मुझे पिलाएं कॉफ़ी
मुझे एक कॉफ़ी पिलाएँ

Rapid-MLX

Apple Silicon के लिए लोकल AI इंजन और OpenAI/Anthropic-compatible सर्वर

Local Runtimesओपन सोर्स
भाषा
Python
लाइसेंस
Apache-2.0
$brew install rapid-mlx
संक्षेप में

Rapid-MLX क्या है?

Rapid-MLX Apple Silicon के लिए लोकल AI इंजन और OpenAI/Anthropic-compatible सर्वर. यह Models & Inference टूल्स की Local Runtimes श्रेणी में आता है; ओपन सोर्स है, Python में लिखा गया है और Apache-2.0 लाइसेंस के तहत है। शुरू करने के लिए: cLI इंस्टॉल करें.

सारांश

Rapid-MLX Apple Silicon Mac पर भाषा मॉडल को लोकल तौर पर चलाता है और उन्हें होस्टेड APIs के वही वायर फ़ॉर्मेट में उपलब्ध कराता है: `/v1/chat/completions`, `/v1/responses` (Codex CLI द्वारा इस्तेमाल), `/v1/messages` (Anthropic SDK और Claude Code), `/v1/embeddings`, `/v1/audio/*` और `/v1/videos`। कोई भी ऐसा client जो custom OpenAI- या Anthropic-compatible endpoint स्वीकार करता है, आमतौर पर बिना adapter के इसी की ओर इशारा कर सकता है। प्रोजेक्ट खुद को Apple Silicon के लिए सबसे तेज़ लोकल AI इंजन बताता है और अपने प्रकाशित benchmark के आधार पर Ollama से 3× तक throughput का दावा करता है।

यह इंजन Apple के MLX stack पर बना है, जिसमें llama.cpp का कोई fallback नहीं है। इसमें continuous batching, prompt cache (radix plus DeltaNet RNN snapshots) और quantized live KV cache (int4/int8, साथ में TurboQuant K8V4 codec) लागू हैं। Coding agents के लिए tool calling इसका मुख्य फ़ोकस है: हर release से पहले बारह agent CLIs और तीन Python frameworks को असली weights के खिलाफ wire-verify किया जाता है, और पाँच Tier-1 agents — Claude Code, Codex CLI, Hermes, Aider और DeepSeek Harness — को एक multi-step bug-fix task end-to-end पूरा करना होता है, वरना version tag नहीं किया जा सकता। Rapid-MLX की शुरुआत vLLM-MLX के fork के रूप में हुई थी और मार्च 2026 में इसका नाम बदला गया।

Rapid-MLX Desktop's Choose your first model screen, recommending LFM2.5 1.2B with lighter Qwen 3 0.6B and larger Qwen 3.5 4B and 9B options, each showing its download size
The desktop app's model picker suggests a first model sized to the Mac it runs on.Rapid-MLX Desktop page ↗

टेक्स्ट से आगे, opt-in extras के रूप में vision, image generation और editing (OpenAI-compatible Images API के ज़रिए), text-to-video और image-to-video जुड़ते हैं, और speech synthesis, transcription, voice cloning तथा forced alignment के लिए 44 audio aliases भी। जो लोग terminal इस्तेमाल नहीं करना चाहते, उनके लिए Rapid-MLX Desktop वही इंजन एक Mac app में देता है, जहाँ चैटिंग, models मैनेज करना, और vision, files, voice व image generation एक ही जगह से इस्तेमाल किए जा सकते हैं।

यह क्या करता है

  • OpenAI और Anthropic APIs के लिए drop-in सपोर्ट — chat completions, responses, messages, embeddings, audio, images और videos endpoints
  • Pure MLX इंजन, जिसमें continuous batching, radix prompt cache और quantized live KV cache शामिल हैं
  • Release-gated agent support: Claude Code, Codex CLI, Hermes, Aider और DeepSeek Harness को हर release से पहले एक end-to-end task पास करना होता है
  • `rapid-mlx launch` और `rapid-mlx agents <name> --setup` के साथ एक कमांड में agent wiring
  • `rapid-mlx recipe` के ज़रिए RAM-tier के हिसाब से model सुझाव, जो installer और desktop app के साथ साझा होते हैं
  • Opt-in extras के रूप में लोकल image, video और audio generation, साथ ही एक reproducible, consent-gated community benchmark

शुरू करें

Rapid-MLX के लिए M-series Mac चाहिए। GUI पसंद है? rapidmlx.com/desktop से Rapid-MLX Desktop डाउनलोड करें; यह पहला model चुनने और डाउनलोड करने में आपकी मदद करता है। CLI और server नीचे दिए तरीके से इंस्टॉल होते हैं।

CLI इंस्टॉल करें

Homebrew, homebrew-core से prebuilt bottle देता है; guided installer आपकी RAM पहचानता है और एक starter model सुझाता है। uv और pip (Python 3.10+) से भी इंस्टॉल हो सकता है।

bashbash
brew install rapid-mlx
# or the guided installer
curl -fsSL https://rapidmlx.com/install.sh | bash
# or, if you manage Python yourself
uv tool install rapid-mlx@latest
Rapid-MLX Desktop welcome screen with the headline Nothing you type leaves this Mac, a Get started button and the Mac's chip and memory in the sidebar
Desktop setup, step 1: the welcome screen.
Rapid-MLX Desktop downloading the lfm2.5-1b-4bit model with a progress bar and notes explaining the files go into the Hugging Face cache
Desktop setup, step 3: the one-time model download.

टर्मिनल में चैट करें

डिफ़ॉल्ट रूप से `qwen3.5-4b-4bit` चुना जाता है। पहली बार चलाने पर weights progress bar के साथ डाउनलोड होते हैं और आप एक REPL में पहुँच जाते हैं; `/help` slash commands की सूची दिखाता है और `/exit` बाहर निकलता है।

bashbash
rapid-mlx chat

दूसरे apps को model उपलब्ध कराएँ

`--port` न दें तो server 8000–8009 में पहला खाली port लेता है। OpenAI-style clients `http://localhost:8000/v1` इस्तेमाल करते हैं; Claude Code और Anthropic SDK `http://localhost:8000` इस्तेमाल करते हैं।

bashbash
rapid-mlx serve qwen3.5-4b-4bit

curl http://localhost:8000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{"model":"default","messages":[{"role":"user","content":"Say hello"}]}'

Coding agent को जोड़ें

Server चालू होने पर, `launch` Claude Code की लोकल settings को patch करता है ताकि वह local server की ओर route करे; `launch list` पहचाने गए clients दिखाता है, और `agents <name> --setup` Codex CLI जैसे दूसरे agents को configure करता है।

bashbash
rapid-mlx launch claude-code
rapid-mlx launch list
rapid-mlx agents codex --setup && codex

अपने Mac के लिए model चुनें और setup जाँचें

`recipe` इस Mac के RAM tier के लिए सुझाए गए विकल्प दिखाता है, `models` हर alias की सूची देता है, और `doctor` built-in self-check चलाता है। Vision, audio, image और video support extras हैं, जैसे `pip install 'rapid-mlx[all]'`।

bashbash
rapid-mlx recipe
rapid-mlx models
rapid-mlx doctor

कमांड और कोड प्रोजेक्ट के अपने दस्तावेज़ों से लिए गए हैं — हमेशा जांचें आधिकारिक repo ताज़ा जानकारी के लिए।

कब इस्तेमाल करें

  • अपने Mac पर मौजूद model के साथ Claude Code, Codex CLI, Aider या कोई और coding agent पूरी तरह लोकल रूप से चलाएँ
  • मौजूदा OpenAI-SDK apps, LangChain या PydanticAI code को सिर्फ base URL बदलकर एक निजी लोकल backend दें
  • OpenAI-compatible endpoints के ज़रिए device पर ही images, video clips, speech और transcriptions generate करें
  • अपने Apple Silicon hardware पर models का benchmark करें और चाहें तो नतीजा community leaderboard पर साझा करें

How Rapid-MLX compares

Rapid-MLX alongside other open-source local runtimes tools AI/TLDR tracks, ranked by GitHub stars.

टूलस्टारयह क्या करता है
Ollama★ 189kटर्मिनल से ही open LLMs को अपनी मशीन पर डाउनलोड करें और चलाएं
llama.cpp★ 137kकम मेमोरी के साथ CPU, Apple Silicon और GPU पर C/C++ में LLM चलाएँ
GPT4All★ 77.3kबड़े भाषा मॉडल (LLM) को रोज़मर्रा के लैपटॉप और डेस्कटॉप पर निजी तौर पर चलाएं
Colibrì★ 54.3kएक pure-C inference इंजन, जो Mixture-of-Experts वज़न को डिस्क से स्ट्रीम करता है, ताकि फ़्रंटियर-साइज़ मॉडल आम हार्डवेयर पर चल सकें
LocalAI★ 50.7kसेल्फ़-होस्टेड, OpenAI-compatible API, जो LLM, विज़न, वॉइस और इमेज मॉडल को लोकल रूप से चलाने देता है
Strata★ 50kएक क्लिक वाला लोकल inference engine, जो 12 GB ग्राफ़िक्स कार्ड वाले गेमिंग PC पर 125B Qwen3.8-Flash-Next चलाता है
Jan★ 46.3kअपने कंप्यूटर पर ओपन सोर्स LLM को ऑफ़लाइन चलाएँ, निजी ChatGPT की तरह
Rapid-MLX★ 4.2kApple Silicon के लिए लोकल AI इंजन और OpenAI/Anthropic-compatible सर्वर