Local Model Performance on an M5 Max
Six large local models run on a 128GB M5 Max MacBook came surprisingly close to frontier cloud models (Opus 5, GPT-5.6 Sol) on a 22-problem suite covering DuckDB SQL, agentic pytest bugfixes, JSON extraction, output prediction, quick facts and long-document lookups. Frontier models were still faster and more accurate, with Opus 5 the only model to make no mistakes. Among local models, Meta's Muse Glimmer and gpt-oss:120b balanced speed and accuracy best, and non-thinking Qwen3-Coder was fastest, beating the frontier models on SQL and runbook lookups but failing output-prediction questions. Common local failures were a Python lambda late-binding puzzle, hallucinated SQL dialect functions and chmod conversions. Running the benchmark at API list prices would cost roughly $24–110, against about $0.10 of local electricity.
Related posts
- Tool Calling with Local LLMs: A Practical Evaluation
Docker mediumAdeptDocker benchmarked 21 local and hosted LLMs on tool calling using model-test, a harness that runs shopping-cart scenarios with multiple acceptable tool-call sequences inside a 5-round agent loop and scores invocation, tool selection and parameter accuracy as an F1 score. Over 3,570 tests on an M4 Max MacBook Pro, GPT-4 led at 0.974. Qwen3 14B was the best local model at 0.971 but took about 142 seconds per interaction, and Qwen3 8B reached 0.933 at roughly half that latency. Tool-tuned models such as watt-tool 8B and xLAM 8B scored poorly, and quantized variants performed no worse than full-precision ones.
- Remocal and Minimum Viable Models: Why Right-Sized Models Beat API Overkill
Docker easyNoviceRemocal (local development with on-demand bursting to cloud GPUs) paired with Minimum Viable Models, meaning the smallest model that solves the task, is pitched as a cheaper, faster and more private alternative to defaulting to large API models. Small-model techniques are surveyed: curated-data SLMs like Phi-4, NF4 4-bit quantization with low-rank adapters (~75% less GPU RAM), sparse MoE such as Mixtral, FlashAttention-2, and on-device Gemini Nano. A table lists local-capable models (Qwen 3, Gemma 3, Mistral Small 3.2, Llama 3.1 70B, SmolLM3, Phi-4) with VRAM footprints. A rubric keeps API models for broad world knowledge, complex cross-domain reasoning or low volume, and favors right-sized models for well-defined, latency-, cost- or privacy-sensitive tasks.
- Why and How to Run Local Models in Zed
Zed mediumAdeptLocal open-weight models run through LM Studio, Ollama or llama.cpp offer privacy, predictable cost, control and guaranteed availability, at the price of lower capability, fewer tokens per second and smaller context windows than frontier models. A Mixture-of-Experts model such as Qwen 3.6 35B A3B activates only about 3B parameters per token, so it runs roughly 10x faster than a dense 35B model and suits unified-memory chips like Apple M series. At Q4 quantization it needs about 17.5GB of VRAM. Zed connects to LM Studio at localhost:1234 or to any OpenAI-compatible server via its Ollama provider. To keep context clean with weaker models, edit earlier messages instead of sending corrections, and lean on subagents.
- Run a Local LLM on a CPU With BitNet and a Sprite
Fly.io mediumAdeptMicrosoft's BitNet b1.58-2B-4T, a 1.58-bit ternary-weight model, runs on a Fly.io Sprite's CPU in about 1.3GB of RAM at roughly 50 tokens/sec with ~1.4s end-to-end latency. A ~200-line stdlib Python server wraps llama-cli to expose an OpenAI-compatible endpoint, a chat UI and a self-serving client file, giving other Sprites a shared, scale-to-zero inference service. Checkpoints capture weights, compiled kernels and code together, so trying new models, chat templates or llama.cpp builds can be rolled back in one step. Build notes include pinning sentencepiece 0.2.1, fixing a const-correctness bug in ggml-bitnet-mad.cpp and downloading the pre-quantized GGUF. The suggested pattern is to use the small model for cheap classification and routing and fall back to a frontier model for real reasoning.
- Run, Test, and Evaluate Models and MCP Locally with Docker + Promptfoo
Docker mediumAdeptPromptfoo, Docker Model Runner and Docker MCP Toolkit can be combined to evaluate LLM apps entirely on a dev machine. Three worked configs are shown. The first compares local Gemma3 against Claude Opus 4.1 using llm-rubric and similarity assertions, graded by local smollm3 and mxbai embeddings instead of OpenAI. The second tests MCP tools directly (GitHub, Fetch, Playwright, YouTube transcript) through the MCP gateway. The third red-teams a GitHub-summarizer agent with MCP, PII, BOLA and BFLA plugins plus jailbreak and prompt-injection strategies, which exposed a tool-discovery vulnerability that was fixed with a prompt guideline.