# Can the Apple M4 (16 GB) run DeepSeek-V4.1-Flash-1017?

> Yes. The Apple M4 (16 GB) runs DeepSeek-V4.1-Flash-1017 fully in unified memory at FP16 / BF16 (about 9.4 GB of 11 GB), at roughly 0.2 tokens/s.

Apple M4 (16 GB): 16 GB (10.7 GB usable), 120 GB/s. Estimates at an 8K context.

## Every quantisation

| Quant | Quality | ≈ GB | Fit | Est. tok/s |
|---|---|---|---|---|
| Q2_K | Heavy loss | 246.48 | no | — |
| Q3_K_M | Noticeable loss | 365.89 | no | — |
| Q4_K_M | Small loss | 453.59 | no | — |
| Q5_K_M | Near-lossless | 531.95 | no | — |
| Q6_K | Near-lossless | 615.91 | no | — |
| Q8_0 | Lossless | 8.93 | fits | 0.3 |
| F16 (pick) | Lossless | 9.45 | fits | 0.2 |

## Run it

Ask about an image (transformers):

```python
from transformers import pipeline

pipe = pipeline("image-text-to-text", model="deepseek-ai/DeepSeek-V4.1-Flash-1017", dtype="auto", device_map="auto")
messages = [
    {
        "role": "user",
        "content": [
            {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/bee.jpg"},
            {"type": "text", "text": "Describe this image."},
        ],
    }
]
out = pipe(text=messages, max_new_tokens=256)
print(out[0]["generated_text"][-1]["content"])
```


## Vision models that fit comfortably

- [Qwen/Qwen3.5-9B](https://selfhost.directory/models/qwen/qwen3.5-9b/on/apple-m4-16gb): Q6_K ≈8.8 GB, est. 8.3 tok/s
- [Qwen/Qwen3-VL-8B-Instruct](https://selfhost.directory/models/qwen/qwen3-vl-8b-instruct/on/apple-m4-16gb): Q8_0 ≈10.15 GB, est. 7.1 tok/s
- [meta-llama/Llama-3.2-11B-Vision-Instruct](https://selfhost.directory/models/meta-llama/llama-3.2-11b-vision-instruct/on/apple-m4-16gb): Q5_K_M ≈9.17 GB, est. 8.7 tok/s
- [XiaomiMiMo/MiMo-V2.6-Distill-Qwen-9B](https://selfhost.directory/models/xiaomimimo/mimo-v2.6-distill-qwen-9b/on/apple-m4-16gb): Q6_K ≈9.12 GB, est. 8.5 tok/s
- [Qwen/Qwen2.5-VL-7B-Instruct](https://selfhost.directory/models/qwen/qwen2.5-vl-7b-instruct/on/apple-m4-16gb): Q8_0 ≈8.86 GB, est. 7.5 tok/s
- [zai-org/GLM-4.6V-Flash](https://selfhost.directory/models/zai-org/glm-4.6v-flash/on/apple-m4-16gb): Q6_K ≈8.9 GB, est. 7.8 tok/s

## Other GPUs that run it

- [Radeon RX 6700 XT](https://selfhost.directory/models/deepseek-ai/deepseek-v4.1-flash-1017/on/rx-6700-xt): F16, est. 0.6 tok/s
- [GeForce RTX 3060 12GB](https://selfhost.directory/models/deepseek-ai/deepseek-v4.1-flash-1017/on/rtx-3060): F16, est. 0.5 tok/s
- [Arc B580](https://selfhost.directory/models/deepseek-ai/deepseek-v4.1-flash-1017/on/arc-b580): F16, est. 0.7 tok/s
- [Tesla T4](https://selfhost.directory/models/deepseek-ai/deepseek-v4.1-flash-1017/on/tesla-t4): F16, est. 0.5 tok/s
- [Arc A770 16GB](https://selfhost.directory/models/deepseek-ai/deepseek-v4.1-flash-1017/on/arc-a770): F16, est. 0.8 tok/s
- [Radeon RX 7800 XT](https://selfhost.directory/models/deepseek-ai/deepseek-v4.1-flash-1017/on/rx-7800-xt): F16, est. 0.9 tok/s
- [Tesla P40](https://selfhost.directory/models/deepseek-ai/deepseek-v4.1-flash-1017/on/tesla-p40): F16, est. 0.5 tok/s
- [Radeon RX 7900 XTX](https://selfhost.directory/models/deepseek-ai/deepseek-v4.1-flash-1017/on/rx-7900-xtx): F16, est. 1.4 tok/s

---
Model: https://selfhost.directory/models/deepseek-ai/deepseek-v4.1-flash-1017. GPU: https://selfhost.directory/models/gpus/apple-m4-16gb. Source: https://selfhost.directory/models/deepseek-ai/deepseek-v4.1-flash-1017/on/apple-m4-16gb