Local AI Advisor

Can Mac Studio M5 Ultra 256 GB run DeepSeek-V4-Flash (284B-A13B)?

256 GB unified · 1228 GB/s memory bandwidth · DeepSeek-V4-Flash (284B-A13B) has 284B parameters (13B active per token).

Short answer

Yes, excellent for chat and excellent or better for every workload we test.

Best quantization for chat: 4-bit (150 GB of weights) on LM Studio. Generation: 50–80 tok/s, leaving about 95 GB free for your other apps.

How it rates for each workload

Same model and machine, different jobs. Agents and long documents send far bigger prompts than chat, so they need much more speed and memory.

WorkloadVerdictQuantGenerationFirst replyContext
Chatwith Open WebUIExcellent4-bit50–80 tok/sunder 1 s8KDetails
Coding questionswith ContinueExcellent4-bit45–80 tok/s≈2 s16KDetails
Coding in a repositorywith AiderExcellent4-bit45–75 tok/s≈6 s32KDetails
Agentic codingwith OpenCodeExcellent4-bit45–75 tok/s≈8 s32KDetails
Long documents (64K)with Open WebUIExcellent4-bit40–70 tok/s≈30 s64KDetails

Speeds are bandwidth-based estimates; no direct benchmark exists for this pair. “First reply” is the time to read the workload’s opening prompt. How we calculate

Get it running

Copy-paste commands for the 4-bit build with a 64K context. Ollama and llama.cpp download the file straight from Hugging Face.

ollama run hf.co/unsloth/DeepSeek-V4-Flash-GGUF:UD-Q4_K_XL

This build is split into 5 files, which Ollama can't import from Hugging Face. Use llama.cpp or LM Studio instead.

Different tool, context size or workload?

These pages use typical settings. The full check models your exact setup.