---
title: "Local Model Performance on an M5 Max"
description: "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."
url: "https://swe.quest/articles/local-model-performance-on-an-m5-max-25f3fd6f708977a6"
canonical: "https://blog.gitbutler.com/local-llm-gauntlet"
source: "GitButler"
published: "2026-08-12"
difficulty: "medium"
kind: "Research"
reading_minutes: 8
tags: ["llms","evals","inference","hardware","ai-coding"]
---

# Local Model Performance on an M5 Max

A post on [GitButler](https://swe.quest/sources/gitbutler.md), published 2026-08-12, 8 min read, Research. Original: [https://blog.gitbutler.com/local-llm-gauntlet](https://blog.gitbutler.com/local-llm-gauntlet)

## Summary

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.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)
- [Evaluation](https://swe.quest/tags/evals.md) (AI & ML)
- [Inference & serving](https://swe.quest/tags/inference.md) (AI & ML)
- [Hardware](https://swe.quest/tags/hardware.md) (Infrastructure)
- [AI for coding](https://swe.quest/tags/ai-coding.md) (AI & ML)

## Prerequisites

- LLM basics ([easy posts on LLMs](https://swe.quest/tags/llms.md?difficulty=easy))
- running local models

## Keywords

Apple M5 Max, Ollama, Qwen3-Coder, gpt-oss, Muse Glimmer, DeepSeek V4 Flash, ds4, DuckDB

## Related posts

- [Tool Calling with Local LLMs: A Practical Evaluation](https://swe.quest/articles/tool-calling-with-local-llms-a-practical-evaluation-935878d43dd4eb76.md): Docker · 2025-06-30 · Medium · 8 min read · Evaluation, LLMs, AI agents, Inference & serving
  Docker 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.
- [Remocal and Minimum Viable Models: Why Right-Sized Models Beat API Overkill](https://swe.quest/articles/remocal-and-minimum-viable-models-why-right-sized-models-beat-api-overkill-0528d07c44c27635.md): Docker · 2025-08-09 · Easy · 8 min read · LLMs, Inference & serving, Cost optimization, Privacy
  Remocal (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.
- [Why and How to Run Local Models in Zed](https://swe.quest/articles/why-and-how-to-run-local-models-in-zed-dea250314afe2e5d.md): Zed · 2026-05-19 · Medium · 5 min read · Inference & serving, AI for coding, LLMs, Developer tools
  Local 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.
- [Run a Local LLM on a CPU With BitNet and a Sprite](https://swe.quest/articles/run-a-local-llm-on-a-cpu-with-bitnet-and-a-sprite-4eecc23efef4077b.md): Fly.io · 2026-03-16 · Medium · 5 min read · Inference & serving, LLMs, Serverless
  Microsoft'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.
- [Run, Test, and Evaluate Models and MCP Locally with Docker + Promptfoo](https://swe.quest/articles/run-test-and-evaluate-models-and-mcp-locally-with-docker-promptfoo-ad1578ad40c09850.md): Docker · 2025-09-25 · Medium · 7 min read · Evaluation, AI agents, LLMs, AI safety, Containers
  Promptfoo, Docker Model Runner and Docker MCP Toolkit can be combined to evaluate LLM apps entirely on a dev machine.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
