Skip to content
English

Switch theme

// Qwen · Text LLM

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

494M parameters. About 0.9 GB at 4-bit and 1.7 GB at BF16 with one 8K-token request.

released 2024-11-06licence: Commercial OKmemory figures are estimates

01Specs

PublisherAlibaba Qwen · Qwen
Family / seriesQwen · Qwen2.5-Coder
TypeText LLM (text-generation)
Parameters494M Source: counted from official safetensors weights
Context length32K tokens (32,768)max_position_embeddings in config.json
Architecture24 layers · GQA
Released weightsBF16 · 1.0 GBdownload
LicenceApache-2.0 · Commercial OKPermissive licence (Apache-2.0 / MIT / CC-BY / OpenMDW): commercial use allowed.
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)1.0 GB 1.7 GB2.0 GB 8GB GPUMac 16GB
FP8 / INT8 / Q8_00.5 GB 1.2 GB1.5 GB 8GB GPUMac 16GB
4-bit (Q4_K_M / AWQ / GPTQ-Int4)0.3 GB 0.9 GB1.2 GB 8GB GPUMac 16GB

KV cache per request: 8K 0.1 GB · 32K 0.4 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:0.5b

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-1.5B-Instruct · same series1.54B1.8 GB2024-09-18
Qwen2.5-Coder-3B-Instruct · same series3.09B2.9 GB2024-11-06
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 2024-11-18. Parameters, context and licence are copied from the official repository; memory figures are our estimates.

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