Skip to content
English

Switch theme

// Qwen · Text LLM

Qwen2.5-Coder-3B-Instruct: VRAM & local deployment

3.09B parameters. About 2.9 GB at 4-bit and 7.6 GB at BF16 with one 8K-token request.

released 2024-11-06licence: Non-commercialmemory figures are estimates

01Specs

PublisherAlibaba Qwen · Qwen
Family / seriesQwen · Qwen2.5-Coder
TypeText LLM (text-generation)
Parameters3.09B Source: counted from official safetensors weights
Context length32K tokens (32,768)max_position_embeddings in config.json
Architecture36 layers · GQA
Released weightsBF16 · 6.2 GBdownload
Licenceqwen-research · Non-commercialResearch / non-commercial licence: commercial use is not allowed without a separate agreement.
Released2024-11-06 (Hugging Face repo created)

02How much VRAM it needs (estimate)

Total = weights + 10% + 0.5GB overhead + KV cache for one request (FP16 KV). More concurrent users multiply the KV column.

PrecisionWeightsTotal @ 8KTotal @ 32KSmallest GPUMac
BF16 / FP16 (original)6.2 GB 7.6 GB8.5 GB 12GB GPUMac 16GB
FP8 / INT8 / Q8_03.3 GB 4.4 GB5.3 GB 8GB GPUMac 16GB
4-bit (Q4_K_M / AWQ / GPTQ-Int4)1.9 GB 2.9 GB3.8 GB 8GB GPUMac 16GB

KV cache per request: 8K 0.3 GB · 32K 1.2 GB

Bits per weight: BF16 16, FP8 8.5, 4-bit 4.85. “Fits” = total ≤ 90% of memory; Mac GPU can use ~2/3 of unified memory (≤36GB) or ~3/4 (larger). For MoE, all experts must be in memory, so size by total parameters. Method →

03How to run it

Only runtimes the publisher or the runtime’s official library names for this model.

ollama run qwen2.5-coder:3b

Which inference engine to choose →

04Official repositories & quantised builds

6 official repo(s) from Qwen.

05Other Qwen models

All 112 →
ModelParams4-bit totalReleased
Qwen2.5-Coder-0.5B-Instruct · same series494M0.9 GB2024-11-06
Qwen2.5-Coder-1.5B-Instruct · same series1.54B1.8 GB2024-09-18
Qwen2.5-Coder-7B-Instruct · same series7.62B6.0 GB2024-09-17
Qwen2.5-Coder-14B-Instruct · same series14.8B12.0 GB2024-11-06
Qwen2.5-Coder-32B-Instruct · same series32.8B24.5 GB2024-11-06
Qwen-Image-2.1-Turbo7.12B5.2 GB2026-10-09
Qwen-Image-2.17.12B5.2 GB2026-09-14
Qwen3.8-Flash-Next180B / 6B121 GB2026-08-24
Qwen3.8-2.4T-A95B2.4T / 95B1.60 TB2026-08-08
Qwen3.8-27B27.8B19.6 GB2026-08-05
Qwen3.6-27B27.8B19.6 GB2026-04-21
Qwen3.6-35B-A3B36B / 3B24.6 GB2026-04-15
Qwen3.5-0.8B873M1.2 GB2026-02-28

06Sources

Data checked 2025-01-12. Parameters, context and licence are copied from the official repository; memory figures are our estimates.

Data updated: Self-host open models(UTC+8)