Lightning MLX: Fast Local AI Engine for Apple Silicon Agentic Use Delivers 220 tok/s on Qwen 35B-A3B

A new open-source inference engine for Apple Silicon called Lightning MLX claims to be the fastest local AI engine, specifically optimized for agentic workflows — coding agents, tool calling, and short-turn tasks. The project is available on GitHub at samuelfaj/lightning-mlx.
Benchmark Results
The author tested on a MacBook Max M5 with 128GB RAM and reported the following token generation speeds:
- Qwen3.6-27B: 40.67 tok/s
- Qwen3.6-35B-A3B: 220.86 tok/s
These results suggest that the engine is particularly efficient for the mixture-of-expert architecture used in the Qwen3.6-35B-A3B model, which activates only a subset of parameters per token.
Key Features
- Optimized for short-turn agentic use cases — code generation, tool calls, and rapid inference loops
- Includes a preset configuration called MTPLX (custom sampling defaults); the author is seeking feedback on whether these defaults make sense for production use
- Open source under the MIT license (likely) on GitHub
Feedback Requests
The creator is actively asking the community for:
- Better benchmark designs for local coding agents
- Opinions on the MTPLX preset defaults
- Test results on other Apple Silicon configurations (e.g., M1, M2, M3, M4, different RAM sizes)
Who It's For
Developers running local LLMs on Apple Silicon for agentic coding workflows who need maximum inference speed.
📖 Read the full source: r/LocalLLaMA
👀 See Also

Session Search: Local Full-Text Search for Claude Code and Codex Sessions, Now in Your Menu Bar
Session Search indexes local Claude Code and Codex transcripts using SQLite FTS, enabling deep full-text search across errors, commands, filenames, and decisions—accessible from the macOS menu bar with highlighted snippets.

Open Source Knowledge Base Server and Multi-Agent Orchestrator for Persistent AI Memory
A developer built a custom MCP server on a private VPS to give Claude, Codex, and Gemini persistent memory across sessions, with a knowledge base server that ingests Obsidian vaults and a multi-agent orchestrator called Daniel for failover.

10.33 t/s on Qwen 3.5 35B with a $300 Laptop: Full Optimization Breakdown
A developer achieves 10.33 t/s on Qwen 3.5 35B Q4_K_S on a Lenovo Ideapad Slim 3i ($300) using ik_llama.cpp, core pinning, MTP speculative decoding, and BIOS performance tuning.

Open Source SQLite-Based Persistent Memory System for Claude
A developer has released memchat, a GPL-licensed local system that extracts knowledge from Claude sessions at checkpoints, stores it in SQLite, and reassembles it for new sessions to maintain context across conversations.