QW

Qwen2.5 Coder 3B Instruct

QwenGGUF by ggml-orgUpdated 2025-02-27
Download on Hugging Face
Parameters3.09B
Context32K
Layers36
Architectureqwen2
Smallest quant3.3 GB
Quick answer

Qwen2.5 Coder 3B Instruct needs about 4.1 GB of memory at Q8_0 (a 3.3 GB file) with an 8K context window, so it fits on a 6 GB GPU. Longer context needs more: at 32K tokens the KV cache alone adds about 1.2 GB.

Qwen2.5 Coder 3B Instruct – a 3.09B parameter code‑focused LLM

Qwen2.5 Coder 3B Instruct is a 3.09B parameter causal language model optimized for coding tasks. It supports a full 32,768 token context and is trained on 5.5 trillion tokens of source code and text‑code data. The model is available in GGUF format for llama.cpp.

Good at

  • Code generation
  • Code reasoning
  • Tool usage

Limits

  • No vision support
  • Requires 8.1 GB VRAM for Q8_0
  • License is other

Best for

  • Writing scripts
  • Debugging code
  • Automating coding workflows

Who it’s for. Developers and researchers needing a lightweight code‑LLM for local inference. The model runs on consumer GPUs with at least 8 GB VRAM and is suitable for integration into code editors or CI pipelines.

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
Q8_03.3 GB 4.1 GB
Fits Get file →

The Q8_0 quantization file is 3.29 GB and needs about 4.1 GB VRAM at 8 k context. For 8 GB VRAM, Q8_0 is the only available quant. If more memory is available, consider higher‑precision quants if they exist in the file list.

What GPU do you need for Qwen2.5 Coder 3B Instruct?

These figures add the file size, an fp16 KV cache at an 8K context window (worked out from this model’s own header) and about 0.5 GB for the runtime. They are estimates, so leave a little headroom, and expect to use less context or a smaller quant if you are right at the limit.

  • 4 GB VRAM: no quant fits at an 8K context.
  • 6 GB VRAM: the best quant that fits is Q8_0 (3.3 GB file, about 4.1 GB in use).

Which Qwen2.5 Coder 3B Instruct quant should you choose?

Q8_0 (3.3 GB) is the middle option in this repository. Close to lossless. It costs roughly twice the memory of a 4-bit file, so it suits cases where you have plenty of VRAM.

New to quant names? Read GGUF quantization explained.

Specifications

Architecture from the GGUF header

Architectureqwen2
Parameters3.09B
Layers36
Trained context32,768 tokens
KV cache (fp16)36 KB per token

Source

Quantized byggml-org
FamilyQwen
Licenseother
Downloads (HF)1,095
Last updated2025-02-27

Frequently asked questions about Qwen2.5 Coder 3B Instruct

How much VRAM does Qwen2.5 Coder 3B Instruct need?

About 4.1 GB at Q8_0 with an 8K context window. That is the 3.3 GB file, plus the KV cache and roughly 0.5 GB of runtime overhead. Smaller quants need less and longer context needs more.

Can I run Qwen2.5 Coder 3B Instruct on an 8 GB GPU?

Yes, with Q8_0: the 3.3 GB file needs about 4.1 GB at 8K context. Larger quants in this repository do not fit in 8 GB.

What is the file size of Qwen2.5 Coder 3B Instruct GGUF?

It depends on the quant: Q8_0 is 3.3 GB.

What context length does Qwen2.5 Coder 3B Instruct support?

The GGUF header lists a trained context length of 32,768 tokens (32K). The KV cache grows with the context you use: about 0.3 GB at 8K and 1.2 GB at 32K.

Where can I download Qwen2.5 Coder 3B Instruct GGUF?

The files are on Hugging Face in the ggml-org/Qwen2.5-Coder-3B-Instruct-Q8_0-GGUF repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.

What license does Qwen2.5 Coder 3B Instruct use?

Hugging Face lists the license as other. Licenses can differ between the quantized files and the original model, so check the repository and the base model before commercial use.

Can I run Qwen2.5 Coder 3B Instruct on 8 GB VRAM?

Yes, the Q8_0 quant requires about 4.1 GB VRAM at 8 k context, so it fits on 8 GB VRAM.

Does this model support image inputs?

No, the model has no vision capabilities.

What is the context length of this model?

The model supports a full 32,768 token context.

Other GGUFs of Qwen2.5-Coder-3B-Instruct

Similar models

Browse all →

More from ggml-org

All by ggml-org →

More Qwen models

All Qwen →

Other tiny models

All tiny models →