LLMs · Alibaba
Qwen2 57B-A14B Instruct
- Parameters
- 57B (14.0B active)
- Architecture
- Mixture of experts
- Max context
- 32K tokens
- License
- apache-2.0
- Released
- 2024-06
How to run it
On a mobile device
Qwen2 57B-A14B Instruct is too big for a device like yours: it needs more memory than the device has. Models that run on mobile devices.
Quantized files · GGUF
Works in LM Studio, llama.cpp, Jan and Ollama. No sign-in needed.
huggingface.co/Qwen/Qwen2-57B-A14B-Instruct-GGUF (opens in a new tab)
ollama run hf.co/Qwen/Qwen2-57B-A14B-Instruct-GGUFOriginal weights · Hugging Face
Full-precision files from Alibaba, for fine-tuning, vLLM, Transformers.
huggingface.co/Qwen/Qwen2-57B-A14B-Instruct (opens in a new tab)
Apps that run Qwen2 57B-A14B Instruct
Our pick for each kind of computer, assuming the model fits in its memory. Pick your own GPU or device in the Model Finder for an exact answer.
| App | Type | Opens it as | Systems | Engine | Start |
|---|---|---|---|---|---|
| LM Studio | Desktop app | GGUF or MLX | macOSWindowsLinux | Open in LM Studio | |
| Ollama | CLI + API | GGUF from Hugging Face | macOSWindowsLinux |
|
|
| llama.cpp | CLI + API | GGUF | macOSWindowsLinux |
|
|
| Jan | Desktop app | GGUF or MLX | macOSWindowsLinux | Open in Jan | |
| MLX LM | CLI + API | MLX | macOS |
|
|
| vLLM | Server | Original weights | WSLWindowsLinux |
|
|
| SGLang | Server | Original weights | WSLWindowsLinux |
|
|
| Docker Model Runner | CLI + API | GGUF | macOSWindowsLinux |
|
|
| Lemonade | Desktop app | GGUF | macOSWindowsLinux |
|
|
| Unsloth Desktop | Desktop app | GGUF or MLX | macOSWindowsLinux | Open in Unsloth Desktop | |
| Atomic Chat | Desktop app | GGUF or MLX | macOSWindowsLinux | Open in Atomic Chat | |
| GPT4All | Desktop app | GGUF | macOSWindowsLinux | Get GPT4All | |
| KoboldCpp | Desktop app | GGUF | macOSWindowsLinux | Get KoboldCpp | |
| Text Generation WebUI | Desktop app | GGUF | macOSWindowsLinux | Get Text Generation WebUI | |
| llamafile | CLI + API | GGUF | macOSWindowsLinux | Get llamafile | |
| Msty Studio | Desktop app | GGUF or MLX | macOSWindowsLinux | Open in Msty Studio | |
| Llama (macOS) | Desktop app | GGUF | macOS | Open in Llama (macOS) | |
| RecurseChat | Desktop app | GGUF | macOS | Open in RecurseChat | |
| Inferencer | Desktop app | MLX | macOS | Get Inferencer | |
| node-llama-cpp | Library | GGUF | macOSWindowsLinux | Get node-llama-cpp | |
| exo | Server | MLX | macOSLinux | Get exo | |
| PocketPal AI | Mobile app | GGUF | iOSAndroid | App Store Google Play | |
| ChatterUI | Mobile app | GGUF | Android | Download the APK | |
| LLM Farm | Mobile app | GGUF | iOS |
Memory needed
Weights plus KV cache and runtime overhead. Leave a little extra free for the operating system and other apps. Try another context length.
| Quantization | Quality | Weights | Total at 8K context | Total at 32K context | Download |
|---|---|---|---|---|---|
Q2_K |
Low | 23.0 GB | 24.0 GB | 25.4 GB | GGUF files (opens in a new tab) |
Q3_K_M |
Low | 28.1 GB | 29.2 GB | 30.6 GB | GGUF (opens in a new tab) |
Q4_K_M |
Good | 35.0 GB | 36.1 GB | 37.5 GB | GGUF (opens in a new tab) |
Q5_K_M |
High | 40.8 GB | 41.8 GB | 43.2 GB | GGUF (opens in a new tab) |
Q6_K |
High | 47.1 GB | 48.1 GB | 49.6 GB | GGUF (opens in a new tab) |
Q8_0 |
Very high | 60.9 GB | 61.9 GB | 63.3 GB | GGUF · part 1 of 2 (opens in a new tab) |
F16 |
Full | 115 GB | 116 GB | 117 GB | GGUF · part 1 of 3 (opens in a new tab) Original weights (opens in a new tab) |
Best hardware for Qwen2 57B-A14B Instruct
The least expensive GPU in our catalog that runs it without offloading is the Intel Arc Pro B70 (launch price $949) at Q3_K_M.
| Quality | Hardware | Quant | Memory | Speed | Runs |
|---|---|---|---|---|---|
| 50Fair quality (C) · 50 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 77/100 (quality, fit, speed and memory use) sets the ranking. | NVIDIA RTX PRO 6000 Blackwell |
Q8_0 | 66.7 GB / 96.0 GB | 61.3 tok/s | Runs great |
| 47Fair quality (C) · 47 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 75/100 (quality, fit, speed and memory use) sets the ranking. | Apple M4 Max (64 GB) |
Q4_K_M | 39.9 GB / 48.0 GB | 36.2 tok/s | Runs great |
| 47Fair quality (C) · 47 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 73/100 (quality, fit, speed and memory use) sets the ranking. | Apple M1 Max (64 GB) |
Q4_K_M | 39.9 GB / 48.0 GB | 27.4 tok/s | Runs well |
| 42Fair quality (C) · 42 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 72/100 (quality, fit, speed and memory use) sets the ranking. | NVIDIA GeForce RTX 5090 |
Q3_K_M | 30.8 GB / 32.0 GB | 122 tok/s | Runs welltight fit |
| 47Fair quality (C) · 47 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 71/100 (quality, fit, speed and memory use) sets the ranking. | Apple M4 Max (128 GB) |
Q4_K_M | 43.8 GB / 96.0 GB | 36.2 tok/s | Runs great |
| 48Fair quality (C) · 48 of 100: how capable the model is at Q5_K_M, whatever it runs on. Match score 70/100 (quality, fit, speed and memory use) sets the ranking. | Apple M2 Ultra (192 GB) |
Q5_K_M | 53.4 GB / 144 GB | 42.5 tok/s | Runs great |
| 42Fair quality (C) · 42 of 100: how capable the model is at Q3_K_M, whatever it runs on. Match score 69/100 (quality, fit, speed and memory use) sets the ranking. | Apple M4 Pro (48 GB) |
Q3_K_M | 32.1 GB / 36.0 GB | 24.5 tok/s | Runs welltight fit |
| 48Fair quality (C) · 48 of 100: how capable the model is at Q5_K_M, whatever it runs on. Match score 68/100 (quality, fit, speed and memory use) sets the ranking. | Apple M3 Ultra (256 GB) |
Q5_K_M | 57.2 GB / 192 GB | 43.3 tok/s | Runs great |
| 47Fair quality (C) · 47 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 68/100 (quality, fit, speed and memory use) sets the ranking. | NVIDIA RTX Spark N1X (6144-core GPU) (128 GB) |
Q4_K_M | 44.3 GB / 102 GB | 24.2 tok/s | Runs well |
| 47Fair quality (C) · 47 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 67/100 (quality, fit, speed and memory use) sets the ranking. | AMD Ryzen AI Max+ 395 (128 GB) |
Q4_K_M | 43.8 GB / 96.0 GB | 18.1 tok/s | Runs well |
Run it on a cluster
Devices that can’t run Qwen2 57B-A14B Instruct alone can run it together. These example clusters do:
Estimates come from published hardware specs and our open formulas, not from running the model on your machine. Real speed varies with runtime, drivers and settings. Numbers marked “Measured” come from a linked benchmark.







