Running local models on an M4 with 24GB memory

TL;DR

A user has successfully run smaller AI models locally on an M4 MacBook Pro with 24GB RAM. While not comparable to SOTA models, this setup enables basic tasks, research, and planning without internet dependence. The process involves specific configurations and remains somewhat experimental.

A user has successfully configured and run smaller AI models locally on an Apple M4 MacBook Pro with 24GB memory, enabling basic AI tasks without internet access. This development offers a potential way for individuals to reduce dependence on cloud-based AI services while working within hardware constraints.

The user experimented with various AI models and software tools such as Ollama, llama.cpp, LM Studio, and OpenCode, ultimately achieving functional setups with models like Qwen 3.5 9B (Q4). They report that these models can perform tasks such as code suggestions and research, but with limitations in complexity and reliability compared to state-of-the-art (SOTA) models.

Running these models requires specific configuration adjustments, including setting parameters for thinking mode, context window size (up to 128K tokens), and model-specific tweaks. The user notes that while the models are slower and less capable than SOTA counterparts, they are still useful for interactive workflows and basic research, especially when local operation is preferred.

Why It Matters

This development is significant because it demonstrates that capable AI models can be run locally on consumer hardware with modest resources, such as a 24GB RAM MacBook Pro. It offers an alternative to reliance on cloud AI services, enhancing privacy, reducing costs, and increasing independence. However, these models are not suitable for complex, long-term problem solving, but they can support basic tasks and research workflows.

Jorkar External SSD Enclosure USB-C 3.2 for 12+16 Pin MacBook Air/Pro SSDs mid 2013-2017, CNC Hard Drive Case for A1466 A1465 A1502 A1398 SSDs, Portable SSD Reader Box

Jorkar External SSD Enclosure USB-C 3.2 for 12+16 Pin MacBook Air/Pro SSDs mid 2013-2017, CNC Hard Drive Case for A1466 A1465 A1502 A1398 SSDs, Portable SSD Reader Box

Jorkar USB-C 3.2 SSD enclosure works for Mac SSDs with 12+16 Pins mid 2013-2017 MacBook Air/pro as list…

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Background

Prior to this, most advanced AI models required extensive GPU resources or cloud infrastructure, limiting accessibility for individual users. Recent efforts have focused on optimizing smaller models for local deployment, with tools like llama.cpp and LM Studio providing frameworks for running models offline. The experiment described builds on these efforts, showing practical configurations on Apple hardware, which is not traditionally associated with AI training or inference.

“It’s surprisingly good for something that can run on a 24GB MacBook Pro while leaving space for lots of other things running too!”

— Hacker News user

“The models are not as capable as SOTA models, but they’re still useful for basic tasks, research, and planning.”

— Hacker News user

REASON, CODE, REPEAT: Master Devstral & Magistrol — Mistral’s Game-Changing AI for Agentic Reasoning, Multilingual Logic, and Smarter Coding Workflows

REASON, CODE, REPEAT: Master Devstral & Magistrol — Mistral’s Game-Changing AI for Agentic Reasoning, Multilingual Logic, and Smarter Coding Workflows

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

What Remains Unclear

It remains unclear how well these models will perform with more complex or long-term tasks, and whether further optimization can improve speed and reliability. The setup process involves trial-and-error configuration, and its ease of use for non-technical users is uncertain.

HQMaster Pentalobe Screwdriver for Apple MacBook Air & MacBook Pro with Retina Display Macs Notebook Laptop Back Case Bottom Cover Star Screws Computer Repairing Opening Tool

HQMaster Pentalobe Screwdriver for Apple MacBook Air & MacBook Pro with Retina Display Macs Notebook Laptop Back Case Bottom Cover Star Screws Computer Repairing Opening Tool

SAVE YOUR LAPTOP : pentalobal screwdriver can be used to replace/open the bottom/back star screws of MacBook Pro…

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

What’s Next

Next steps include refining configurations for better performance, testing additional models, and exploring automation of setup procedures. Further community experimentation may expand the range of usable models and applications on consumer hardware.

Amazon

small AI models for MacBook Pro

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Key Questions

Can I run any AI model on my M4 MacBook Pro with 24GB RAM?

Not all models are suitable; smaller models like Qwen 3.5 9B can run reasonably well, but larger or more complex models may be too demanding or unstable on this hardware.

How difficult is it to set up these models locally?

The setup involves installing specific software tools, configuring parameters, and sometimes editing configuration files, which can be challenging for non-technical users.

What are the limitations of running models locally on this hardware?

Performance limitations include slower response times, reduced ability to handle complex tasks, and potential stability issues. These models are best suited for basic research and interactive workflows.

Will this approach replace cloud-based AI services?

Currently, no. Local models are less capable than SOTA cloud models but offer advantages in privacy and independence. They are more suitable for specific, less demanding tasks.

You May Also Like

Honda’s hybrid future starts with new Accord and RDX prototypes

Honda reveals prototypes of new hybrid Accord and Acura RDX, marking a shift in its electrification strategy toward hybrids by 2030.

After Town Bans Flock, Councilmember Crashes Out, Proposes Internet and Phone Ban / A Texas councilmember will propose “a total ban on all cellular and GPS-capable devices for all operations within city limits” and “a total termination of all internet services.”

Following the town’s decision to end its surveillance contract, a councilmember proposes banning phones, internet, and cameras, sparking controversy.

My thoughts after using Clojure for about a month

A developer shares their experiences after a month of using Clojure for personal projects, highlighting its strengths, challenges, and future plans.

Mark Zuckerberg announces ‘completely private’ encrypted Meta AI chat

Mark Zuckerberg reveals Meta’s new Incognito Chat, offering end-to-end encrypted, non-stored conversations for enhanced user privacy in AI communication.