Local AI 4 You
Português · English · Español
LOCAL AI · ESTIMATED FOR THIS HARDWARE

Which AI models run on the Apple M5 with 24 GB?

More than 40 AI models (LLMs) fit on the Apple M5 with 24 GB and run on your own computer, free and offline. The top pick today is qwen3.8 27B (UD-IQ3_S, 12.0 GB), which should generate about 9.7 tokens per second.

The 10 best models for the Apple M5 with 24 GB

From most to least recommended. Copy the command and run it in the terminal, with Ollama installed.

  1. 1

    qwen3.8 27B

    UD-IQ3_S · 12.0 GB · ~7.4–12 tok/s · fits comfortably

    Good for: chat, coding, agents, data extraction and json, reasoning, images and documents.

    ollama run hf.co/unsloth/Qwen3.8-27B-GGUF:UD-IQ3_S
  2. 2

    qwen3.6 27B

    UD-IQ3_XXS · 12.0 GB · ~7.5–12 tok/s · fits comfortably

    Good for: chat, coding, agents, data extraction and json, reasoning, images and documents.

    ollama run hf.co/unsloth/Qwen3.6-27B-GGUF:UD-IQ3_XXS
  3. 3

    gemma4 31B

    Q3_K_S · 13.2 GB · ~6.8–11 tok/s · barely fits: use a smaller context

    Good for: chat, coding, agents, data extraction and json, reasoning, images and documents.

    ollama run hf.co/unsloth/gemma-4-31B-it-GGUF:Q3_K_S
  4. 4

    North-Mini-Code-1.0

    UD-IQ3_S · 12.8 GB · ~21–34 tok/s · fits comfortably

    Good for: coding.

    ollama run hf.co/unsloth/North-Mini-Code-1.0-GGUF:UD-IQ3_S
  5. 5

    gemma4 26B-A4B

    UD-IQ3_XXS · 11.4 GB · ~25–41 tok/s · fits comfortably

    Good for: chat, coding, agents, data extraction and json, reasoning, images and documents, long documents.

    ollama run hf.co/unsloth/gemma-4-26B-A4B-it-GGUF:UD-IQ3_XXS
  6. 6

    gemma4 12B

    Q4_K_M · 8.0 GB · ~11–18 tok/s · fits comfortably

    Good for: chat, coding, agents, data extraction and json, reasoning, images and documents, long documents.

    ollama run gemma4:12b
  7. 7

    Hy-Memory-30B-A3B

    Q3_K_M · 14.4 GB · ~28–46 tok/s · barely fits: use a smaller context

    Good for: chat, data extraction and json.

    ollama run hf.co/tencent/Hy-Memory-30B-A3B-GGUF:Q3_K_M
  8. 8

    ornith-1.5 9B

    Q4_K_M · 6.6 GB · ~14–22 tok/s · fits comfortably

    Good for: chat, coding, agents, data extraction and json, reasoning, images and documents.

    ollama run ornith-1.5:9b
  9. 9

    mimo-v2.6 9B New

    Q4_K_M · 6.6 GB · ~14–22 tok/s · fits comfortably

    Good for: coding, agents, images and documents.

    ollama run mimo-v2.6:9b-q4_K_M
  10. 10

    MiMo-V2.6-Distill-Qwen-9B

    Q6_K · 7.8 GB · ~12–18 tok/s · fits comfortably

    Good for: chat, data extraction and json, images and documents, long documents.

    ollama run hf.co/bartowski/MiMo-V2.6-Distill-Qwen-9B-GGUF:Q6_K
See the full list for my computer →

The best pick for each use

UseModelVersionSpeed
💬 Chatqwen3.8 27BUD-IQ3_S · 12.0 GB~7.4–12 tok/s
👨‍💻 Codingqwen3.8 27BUD-IQ3_XXS · 10.9 GB~8.2–13 tok/s
🛠️ Agentsqwen3.8 27BUD-IQ3_S · 12.0 GB~7.4–12 tok/s
📋 Data extraction and JSONqwen3.8 27BUD-IQ3_S · 12.0 GB~7.4–12 tok/s
🧠 Reasoningqwen3.8 27BUD-IQ3_S · 12.0 GB~7.4–12 tok/s
⚡ Fast and lightnemotron-3-nano 4BQ4_K_M · 2.9 GB~31–49 tok/s
👁️ Images and documentsqwen3.8 27BUD-IQ3_S · 12.0 GB~7.4–12 tok/s
📚 Long documentsgemma4 12BQ4_K_M · 8.0 GB~11–18 tok/s

What does not fit yet

These come closest: even in their smallest good-quality version, they need more than the 15.1 GB available.

What changes with more memory?

Bigger models tend to be smarter. Compare with these cards:

How this list is built

Only models that fit in memory at good compression quality make the list. The order favors the estimated intelligence of the model; speed counts until it is comfortable to read (about 10 tokens per second). Everything here is estimated from real file sizes. To measure for real on your own computer, the free app runs duels between your installed models.

Common questions

What is the best AI model for the Apple M5 with 24 GB?

Today it is qwen3.8 27B (UD-IQ3_S), which should generate about 9.7 tokens per second.

Do I need internet or a subscription?

Only internet to download. After that the model runs on your computer with Ollama, a free program: no subscription, and your conversations are not sent anywhere.

How do I install it?

Install Ollama, open the terminal and paste the command shown next to the model. The download starts and, when it finishes, you can start chatting.

Other computers