Skip to content
localllm

Qwen

Qwen3-Coder-Next

Parameters
79.7B
Max context length
262,144
Architecture
qwen3next
License
apache-2.0
llama.cpp
b7186+

About Qwen3-Coder-Next

Qwen3-Coder-Next is a GGUF model based on Qwen/Qwen3-Coder-Next on Hugging Face. GGUF files are published by 5 sources (unsloth/Qwen3-Coder-Next-GGUF, Qwen/Qwen3-Coder-Next-GGUF, lmstudio-community/Qwen3-Coder-Next-GGUF and others). It has about 79.7B parameters, the qwen3next architecture, a maximum context length of 262,144 tokens (values written in the GGUF).

There are 54 quantizations, with file sizes from 16.6 GB (IQ1_S) to 159 GB (BF16) (actual sizes on Hugging Face).

Running Q4_K_M (48.5 GB) with an 8,192-token context needs an estimated 49.7 GB of memory, and an estimated 50.3 GB at 32,768 tokens. For 8,192 tokens, a GPU with 48 GB or more of VRAM, or a Mac with 48 GB or more of unified memory, is a rough guide (macOS caps how much memory the GPU can use, so leave some headroom). The smallest, IQ1_S (16.6 GB), needs an estimated 17.7 GB at 8,192 tokens.

The original model is licensed under Apache License 2.0, which allows commercial use (keep the license text and copyright notice when redistributing). Check the original license for the terms of use.

File size and estimated memory per quantization

  • Up to 8 GB
  • Up to 16 GB
  • Up to 24 GB
  • Up to 48 GB
  • Up to 128 GB
  • More

File sizes are the actual values on Hugging Face. Memory is estimated for each context length (KV cache f16). The formula is in How memory is calculated.

All memory figures are Estimated (KV cache f16). It should run on a setup with at least this much VRAM (or Mac unified memory). Click a value to see the devices and models that fit that amount (Find by GPU / Mac).

5 sources publish GGUF files of this model. Quantization types and file sizes differ slightly between sources, so there is a table for each source below.

About the "quality guide" (how far a quantization drifts from the original)

For each quantization type, how far the output drifts from the original model, grouped into six levels from values llama.cpp measured on Llama-3-8B.

The value is mean KLD (the difference between the original and quantized model in next-token probabilities); smaller means closer to the original. Quantizations made with an imatrix (importance data) come out slightly smaller. Levels use the value without an imatrix (or with one, for types that only have that).

These values were not measured on this model. Larger models and MoE models tend to drift less with the same type. Distributor-specific mixed types (such as UD-Q4_K_XL) cannot be matched by type name alone, so they show "-".

Quantization Quality guide KLD (no imatrix) KLD (imatrix) Size (Llama-3-8B)
Q8_0 Nearly identical 0.0014 - 7.96 GiB
Q6_K Very small 0.0055 - 6.14 GiB
Q5_K_M Very small 0.0108 - 5.33 GiB
Q5_K_S Small 0.0166 - 5.21 GiB
Q5_1 Small 0.0180 - 5.65 GiB
Q5_0 Small 0.0222 - 5.21 GiB
Q4_K_M Small 0.0313 0.0282 4.58 GiB
Q4_K_S Medium 0.0431 0.0320 4.37 GiB
IQ4_NL Small - 0.0357 4.35 GiB
IQ4_XS Small - 0.0363 4.14 GiB
Q4_1 Medium 0.0717 - 4.78 GiB
Q4_0 Medium 0.0719 - 4.34 GiB
Q3_K_L Medium 0.0872 0.0731 4.03 GiB
Q3_K_M Medium 0.1019 0.0844 3.74 GiB
IQ3_M Medium - 0.1025 3.53 GiB
IQ3_S Medium - 0.1113 3.42 GiB
IQ3_XS Large - 0.1387 3.28 GiB
IQ3_XXS Large - 0.1836 3.05 GiB
Q3_K_S Large 0.2282 0.1998 3.41 GiB
IQ2_M Large - 0.3260 2.74 GiB
Q2_K Very large 0.4451 0.3322 2.96 GiB
Q2_K_S Very large - 0.4034 2.96 GiB
IQ2_S Very large - 0.4392 2.56 GiB
IQ2_XS Very large - 0.5463 2.43 GiB
IQ2_XXS Very large - 0.8120 2.24 GiB
IQ1_M Very large - 1.3931 2.01 GiB
IQ1_S Very large - 2.2546 1.88 GiB

Source: llama.cpp (MIT), measured on Llama-3-8B against FP16, Wikitext-2, revision f364eb6f. Original table · Reading and choosing quantizations

GGUF source

unsloth/Qwen3-Coder-Next-GGUF

Converted and published by a third party About this label

Last checked: Nov 11, 2026

Architecture
qwen3next
llama.cpp b7186 and later
Parameters
79.7B
Max context length
262,144
License
apache-2.0 Commercial OK
File size and memory per quantization for Qwen3-Coder-Next (unsloth/Qwen3-Coder-Next-GGUF)
Quantization File size Measured Quality guide 4,096 8,192 16,384 32,768 65,536 131,072 262,144 max
UD-TQ1_0 18.9 GB - 20.0 GB 20.1 GB 20.3 GB 20.7 GB 21.5 GB 23.1 GB 26.3 GB
UD-IQ1_S 21.5 GB - 22.5 GB 22.6 GB 22.8 GB 23.2 GB 24.0 GB 25.7 GB 28.9 GB
UD-IQ1_M 21.7 GB - 22.7 GB 22.8 GB 23.0 GB 23.4 GB 24.2 GB 25.8 GB 29.1 GB
UD-IQ2_XXS 23.3 GB - 24.3 GB 24.4 GB 24.6 GB 25.0 GB 25.9 GB 27.5 GB 30.7 GB
UD-IQ2_M 25.0 GB - 26.0 GB 26.1 GB 26.3 GB 26.7 GB 27.5 GB 29.1 GB 32.3 GB
UD-Q2_K_XL 26.8 GB - 27.8 GB 27.9 GB 28.1 GB 28.5 GB 29.3 GB 30.9 GB 34.1 GB
UD-IQ3_XXS 28.5 GB - 29.5 GB 29.6 GB 29.8 GB 30.2 GB 31.0 GB 32.6 GB 35.9 GB
Q2_K 29.2 GB Very large 30.3 GB 30.4 GB 30.6 GB 31.0 GB 31.8 GB 33.4 GB 36.6 GB
Q2_K_L 29.3 GB - 30.3 GB 30.4 GB 30.6 GB 31.0 GB 31.8 GB 33.4 GB 36.7 GB
UD-IQ3_S 29.7 GB - 30.7 GB 30.8 GB 31.0 GB 31.4 GB 32.2 GB 33.8 GB 37.1 GB
UD-Q3_K_S 33.3 GB - 34.3 GB 34.4 GB 34.6 GB 35.1 GB 35.9 GB 37.5 GB 40.7 GB
Q3_K_S 34.6 GB Large 35.6 GB 35.7 GB 35.9 GB 36.3 GB 37.1 GB 38.8 GB 42.0 GB
UD-Q3_K_M 35.9 GB - 37.0 GB 37.1 GB 37.3 GB 37.7 GB 38.5 GB 40.1 GB 43.3 GB
UD-Q3_K_XL 36.3 GB - 37.3 GB 37.4 GB 37.6 GB 38.0 GB 38.8 GB 40.4 GB 43.7 GB
Q3_K_M 38.3 GB Medium 39.4 GB 39.5 GB 39.7 GB 40.1 GB 40.9 GB 42.5 GB 45.7 GB
UD-IQ4_XS 38.4 GB - 39.5 GB 39.6 GB 39.8 GB 40.2 GB 41.0 GB 42.6 GB 45.8 GB
UD-IQ4_NL 39.2 GB - 40.3 GB 40.4 GB 40.6 GB 41.0 GB 41.8 GB 43.4 GB 46.6 GB
IQ4_XS 42.7 GB Small 43.7 GB 43.8 GB 44.0 GB 44.4 GB 45.2 GB 46.8 GB 50.0 GB
IQ4_NL 45.1 GB Small 46.2 GB 46.3 GB 46.5 GB 46.9 GB 47.7 GB 49.3 GB 52.5 GB
Q4_0 45.3 GB Medium 46.4 GB 46.5 GB 46.7 GB 47.1 GB 47.9 GB 49.5 GB 52.7 GB
Q4_K_S 45.5 GB Medium 46.6 GB 46.7 GB 46.9 GB 47.3 GB 48.1 GB 49.7 GB 52.9 GB
UD-Q4_K_S 46.1 GB - 47.1 GB 47.2 GB 47.4 GB 47.8 GB 48.6 GB 50.2 GB 53.4 GB
MXFP4_MOE 48.0 GB - 49.1 GB 49.2 GB 49.4 GB 49.8 GB 50.6 GB 52.2 GB 55.4 GB
Q4_K_M 48.5 GB Small 49.6 GB 49.7 GB 49.9 GB 50.3 GB 51.1 GB 52.7 GB 55.9 GB
UD-Q4_K_M 49.3 GB - 50.3 GB 50.4 GB 50.6 GB 51.0 GB 51.8 GB 53.4 GB 56.7 GB
UD-Q4_K_XL 49.6 GB - 50.6 GB 50.7 GB 50.9 GB 51.3 GB 52.1 GB 53.8 GB 57.0 GB
Q4_1 (3 parts) 50.1 GB Medium 51.1 GB 51.2 GB 51.4 GB 51.8 GB 52.6 GB 54.2 GB 57.4 GB
Q5_K_S (3 parts) 55.1 GB Small 56.1 GB 56.2 GB 56.4 GB 56.8 GB 57.6 GB 59.2 GB 62.4 GB
UD-Q5_K_S (3 parts) 55.8 GB - 56.8 GB 56.9 GB 57.1 GB 57.6 GB 58.4 GB 60.0 GB 63.2 GB
Q5_K_M (3 parts) 56.8 GB Very small 57.9 GB 58.0 GB 58.2 GB 58.6 GB 59.4 GB 61.0 GB 64.2 GB
UD-Q5_K_M (3 parts) 59.2 GB - 60.3 GB 60.4 GB 60.6 GB 61.0 GB 61.8 GB 63.4 GB 66.6 GB
UD-Q5_K_XL (3 parts) 59.5 GB - 60.6 GB 60.7 GB 60.9 GB 61.3 GB 62.1 GB 63.7 GB 66.9 GB
Q6_K (3 parts) 65.6 GB Very small 66.6 GB 66.7 GB 66.9 GB 67.3 GB 68.2 GB 69.8 GB 73.0 GB
UD-Q6_K (3 parts) 65.8 GB - 66.8 GB 66.9 GB 67.1 GB 67.5 GB 68.3 GB 69.9 GB 73.2 GB
UD-Q6_K_XL (3 parts) 73.1 GB - 74.1 GB 74.2 GB 74.4 GB 74.9 GB 75.7 GB 77.3 GB 80.5 GB
Q8_0 (3 parts) 84.8 GB Nearly identical 85.8 GB 85.9 GB 86.1 GB 86.5 GB 87.3 GB 89.0 GB 92.2 GB
UD-Q8_K_XL (3 parts) 86.3 GB - 87.4 GB 87.5 GB 87.7 GB 88.1 GB 88.9 GB 90.5 GB 93.7 GB
BF16 (4 parts) 159 GB Original precision 160 GB 161 GB 161 GB 161 GB 162 GB 164 GB 167 GB
Ollama  ollama run hf.co/unsloth/Qwen3-Coder-Next-GGUF:Q4_K_M
llama.cpp  llama-server -hf unsloth/Qwen3-Coder-Next-GGUF:Q4_K_M

GGUF source

Qwen/Qwen3-Coder-Next-GGUF

Published by the original developer About this label

Last checked: Nov 11, 2026

Architecture
qwen3next
llama.cpp b7186 and later
Parameters
79.7B
Max context length
262,144
License
apache-2.0 Commercial OK
File size and memory per quantization for Qwen3-Coder-Next (Qwen/Qwen3-Coder-Next-GGUF)
Quantization File size Measured Quality guide 4,096 8,192 16,384 32,768 65,536 131,072 262,144 max
Q4_K_M (4 parts) 48.4 GB Small 49.7 GB 49.8 GB 50.0 GB 50.4 GB 51.2 GB 52.8 GB 56.0 GB
Q5_0 (4 parts) 55.0 GB Small 56.2 GB 56.3 GB 56.6 GB 57.0 GB 57.8 GB 59.4 GB 62.6 GB
Q5_K_M (4 parts) 56.7 GB Very small 58.0 GB 58.1 GB 58.3 GB 58.7 GB 59.5 GB 61.1 GB 64.3 GB
Q6_K (4 parts) 65.5 GB Very small 66.8 GB 66.9 GB 67.1 GB 67.5 GB 68.3 GB 69.9 GB 73.1 GB
Q8_0 (4 parts) 84.8 GB Nearly identical 86.1 GB 86.2 GB 86.4 GB 86.8 GB 87.6 GB 89.2 GB 92.4 GB
F16 (4 parts) 159 GB Original precision 161 GB 161 GB 161 GB 161 GB 162 GB 164 GB 167 GB
Ollama  ollama run hf.co/Qwen/Qwen3-Coder-Next-GGUF:Q4_K_M
llama.cpp  llama-server -hf Qwen/Qwen3-Coder-Next-GGUF:Q4_K_M

GGUF source

lmstudio-community/Qwen3-Coder-Next-GGUF

Converted and published by a third party About this label

Last checked: Nov 11, 2026

Architecture
qwen3next
llama.cpp b7186 and later
Parameters
79.7B
Max context length
262,144
License
apache-2.0 Commercial OK
File size and memory per quantization for Qwen3-Coder-Next (lmstudio-community/Qwen3-Coder-Next-GGUF)
Quantization File size Measured Quality guide 4,096 8,192 16,384 32,768 65,536 131,072 262,144 max
Q4_K_M 48.5 GB Small 49.5 GB 49.6 GB 49.8 GB 50.2 GB 51.0 GB 52.6 GB 55.9 GB
Q6_K (2 parts) 65.5 GB Very small 66.6 GB 66.7 GB 66.9 GB 67.3 GB 68.1 GB 69.7 GB 72.9 GB
Q8_0 (3 parts) 84.8 GB Nearly identical 85.8 GB 85.9 GB 86.1 GB 86.5 GB 87.3 GB 89.0 GB 92.2 GB
Ollama  ollama run hf.co/lmstudio-community/Qwen3-Coder-Next-GGUF:Q4_K_M
llama.cpp  llama-server -hf lmstudio-community/Qwen3-Coder-Next-GGUF:Q4_K_M

GGUF source

bartowski/Qwen_Qwen3-Coder-Next-GGUF

Converted and published by a third party About this label

Last checked: Nov 4, 2026

Architecture
qwen3next
llama.cpp b7186 and later
Parameters
79.7B
Max context length
262,144
License
apache-2.0 Commercial OK
File size and memory per quantization for Qwen3-Coder-Next (bartowski/Qwen_Qwen3-Coder-Next-GGUF)
Quantization File size Measured Quality guide 4,096 8,192 16,384 32,768 65,536 131,072 262,144 max
IQ1_S 16.6 GB Very large 17.6 GB 17.7 GB 17.9 GB 18.3 GB 19.1 GB 20.7 GB 24.0 GB
IQ1_M 17.3 GB Very large 18.3 GB 18.4 GB 18.6 GB 19.0 GB 19.8 GB 21.5 GB 24.7 GB
IQ2_XXS 19.3 GB Very large 20.3 GB 20.4 GB 20.6 GB 21.0 GB 21.8 GB 23.4 GB 26.7 GB
IQ2_XS 22.2 GB Very large 23.2 GB 23.3 GB 23.5 GB 23.9 GB 24.8 GB 26.4 GB 29.6 GB
IQ2_S 23.4 GB Very large 24.4 GB 24.5 GB 24.7 GB 25.1 GB 25.9 GB 27.5 GB 30.7 GB
IQ2_M 26.1 GB Large 27.1 GB 27.2 GB 27.4 GB 27.8 GB 28.6 GB 30.2 GB 33.5 GB
Q2_K 28.2 GB Very large 29.2 GB 29.3 GB 29.5 GB 29.9 GB 30.7 GB 32.3 GB 35.5 GB
Q2_K_L 28.5 GB - 29.5 GB 29.6 GB 29.8 GB 30.2 GB 31.0 GB 32.6 GB 35.8 GB
IQ3_XXS 31.7 GB Large 32.8 GB 32.9 GB 33.1 GB 33.5 GB 34.3 GB 35.9 GB 39.1 GB
IQ3_XS 33.0 GB Large 34.1 GB 34.2 GB 34.4 GB 34.8 GB 35.6 GB 37.2 GB 40.4 GB
Q3_K_S 34.9 GB Large 35.9 GB 36.0 GB 36.2 GB 36.6 GB 37.4 GB 39.0 GB 42.2 GB
IQ3_M 36.6 GB Medium 37.7 GB 37.8 GB 38.0 GB 38.4 GB 39.2 GB 40.8 GB 44.0 GB
Q3_K_M 36.7 GB Medium 37.7 GB 37.8 GB 38.0 GB 38.4 GB 39.2 GB 40.8 GB 44.0 GB
Q3_K_L 38.2 GB Medium 39.3 GB 39.4 GB 39.6 GB 40.0 GB 40.8 GB 42.4 GB 45.6 GB
Q3_K_XL 38.5 GB - 39.5 GB 39.6 GB 39.8 GB 40.2 GB 41.0 GB 42.6 GB 45.9 GB
IQ4_XS 42.8 GB Small 43.9 GB 44.0 GB 44.2 GB 44.6 GB 45.4 GB 47.0 GB 50.2 GB
IQ4_NL 45.3 GB Small 46.3 GB 46.4 GB 46.6 GB 47.0 GB 47.8 GB 49.5 GB 52.7 GB
Q4_0 46.1 GB Medium 47.1 GB 47.2 GB 47.4 GB 47.8 GB 48.6 GB 50.2 GB 53.5 GB
Q4_K_S 46.9 GB Medium 48.0 GB 48.1 GB 48.3 GB 48.7 GB 49.5 GB 51.1 GB 54.3 GB
Q4_K_M 48.7 GB Small 49.8 GB 49.9 GB 50.1 GB 50.5 GB 51.3 GB 52.9 GB 56.1 GB
Q4_K_L 49.0 GB - 50.0 GB 50.1 GB 50.3 GB 50.7 GB 51.5 GB 53.1 GB 56.3 GB
Q4_1 (2 parts) 50.2 GB Medium 51.3 GB 51.4 GB 51.6 GB 52.0 GB 52.8 GB 54.4 GB 57.6 GB
Q5_K_S (2 parts) 55.2 GB Small 56.2 GB 56.3 GB 56.5 GB 56.9 GB 57.7 GB 59.3 GB 62.5 GB
Q5_K_M (2 parts) 57.0 GB Very small 58.0 GB 58.1 GB 58.3 GB 58.7 GB 59.5 GB 61.1 GB 64.4 GB
Q5_K_L (2 parts) 57.2 GB - 58.2 GB 58.3 GB 58.5 GB 58.9 GB 59.7 GB 61.3 GB 64.5 GB
Q6_K (2 parts) 65.8 GB Very small 66.8 GB 66.9 GB 67.1 GB 67.5 GB 68.3 GB 69.9 GB 73.2 GB
Q6_K_L (2 parts) 65.9 GB - 67.0 GB 67.1 GB 67.3 GB 67.7 GB 68.5 GB 70.1 GB 73.3 GB
Q8_0 (3 parts) 84.8 GB Nearly identical 85.8 GB 85.9 GB 86.1 GB 86.5 GB 87.3 GB 89.0 GB 92.2 GB
Ollama  ollama run hf.co/bartowski/Qwen_Qwen3-Coder-Next-GGUF:Q4_K_M
llama.cpp  llama-server -hf bartowski/Qwen_Qwen3-Coder-Next-GGUF:Q4_K_M

GGUF source

MaziyarPanahi/Qwen3-Coder-Next-GGUF

Converted and published by a third party About this label

Last checked: Oct 27, 2026

Architecture
qwen3next
llama.cpp b7186 and later
Parameters
79.7B
Max context length
262,144
License
apache-2.0 Commercial OK
File size and memory per quantization for Qwen3-Coder-Next (MaziyarPanahi/Qwen3-Coder-Next-GGUF)
Quantization File size Measured Quality guide 4,096 8,192 16,384 32,768 65,536 131,072 262,144 max
Q2_K 29.1 GB Very large 30.2 GB 30.3 GB 30.5 GB 30.9 GB 31.7 GB 33.3 GB 36.5 GB
Q3_K_M 38.2 GB Medium 39.2 GB 39.3 GB 39.5 GB 39.9 GB 40.7 GB 42.3 GB 45.6 GB
Q3_K_L 41.2 GB Medium 42.3 GB 42.4 GB 42.6 GB 43.0 GB 43.8 GB 45.4 GB 48.6 GB
Q4_K_M 48.4 GB Small 49.4 GB 49.5 GB 49.7 GB 50.1 GB 50.9 GB 52.6 GB 55.8 GB
Q5_K_M 56.7 GB Very small 57.7 GB 57.8 GB 58.0 GB 58.4 GB 59.2 GB 60.9 GB 64.1 GB
Q6_K 65.5 GB Very small 66.6 GB 66.7 GB 66.9 GB 67.3 GB 68.1 GB 69.7 GB 72.9 GB
F16 159 GB Original precision 160 GB 161 GB 161 GB 161 GB 162 GB 164 GB 167 GB
Ollama  ollama run hf.co/MaziyarPanahi/Qwen3-Coder-Next-GGUF:Q4_K_M
llama.cpp  llama-server -hf MaziyarPanahi/Qwen3-Coder-Next-GGUF:Q4_K_M

License and commercial use

Apache License 2.0 Commercial OK

Allows commercial use, modification and redistribution. When redistributing, keep the license text and copyright notice, and note changes in modified files.

Based on the license on the original model's Hugging Face page. Original license text (checked Oct 18, 2026)

The summary states facts this site read from the original text and is not legal advice. Always check the original license and its latest terms before use. All licenses

How to run

Mainline llama.cpp can load this model's format (qwen3next) from b7186 (Nov 28, 2025) onward. Ollama and LM Studio bundle llama.cpp internally, so an older app fails to load it with errors such as "unknown model architecture". If that happens, update the app.

Example commands using Q4_K_M. To use another quantization, replace the name with one from the table above. Commands for files from other sources are in each source's section. How to run local LLMs

Ollama

Run it by pointing directly at the GGUF on Hugging Face.

ollama run hf.co/unsloth/Qwen3-Coder-Next-GGUF:Q4_K_M

llama.cpp

Pass the repository and quantization name to llama-server (or llama-cli) with -hf.

llama-server -hf unsloth/Qwen3-Coder-Next-GGUF:Q4_K_M

LM Studio

Paste unsloth/Qwen3-Coder-Next-GGUF into the search box, download it, and choose the quantization from the file list.

Frequently asked questions

How much memory do I need to run Qwen3-Coder-Next (Q4_K_M)?
The file size is 48.5 GB (measured). With a 8,192-token context, the estimated memory including the KV cache is 49.7 GB. The formula is published at https://localllm.az-arte.com/en/guide/memory-calculation.
Can Qwen3-Coder-Next be used commercially?
The original model's license is Apache License 2.0 (Commercial use allowed).Allows commercial use, modification and redistribution. When redistributing, keep the license text and copyright notice, and note changes in modified files. Check the original license text before deciding.
Does Qwen3-Coder-Next run in 8 GB, 12 GB, 16 GB or 24 GB of VRAM?
8 GB: no quantization fits; 12 GB: no quantization fits; 16 GB: no quantization fits; 24 GB: up to UD-IQ2_XXS (est. 24.4 GB) (estimated at 8,192 tokens with an f16 KV cache, files from the most-downloaded source).
What is the command to run Qwen3-Coder-Next with Ollama?
Run "ollama run hf.co/unsloth/Qwen3-Coder-Next-GGUF:Q4_K_M" to use the GGUF on Hugging Face directly. To use another quantization, replace the name at the end.