Skip to content
English

Switch theme

// Qwen · Text LLM

Qwen2.5-Math-7B-Instruct: VRAM & local deployment

7.62B parameters. About 6.0 GB at 4-bit and 17.7 GB at BF16 with one 8K-token request.

released 2024-09-19licence: Commercial OKmemory figures are estimates

01Specs

PublisherAlibaba Qwen · Qwen
Family / seriesQwen · Qwen2.5-Math
TypeText LLM (text-generation)
Parameters7.62B Source: counted from official safetensors weights
Context length4K tokens (4,096)max_position_embeddings in config.json
Architecture28 layers · GQA
Released weightsBF16 · 15.2 GBdownload
LicenceApache-2.0 · Commercial OKPermissive licence (Apache-2.0 / MIT / CC-BY / OpenMDW): commercial use allowed.
Released2024-09-19 (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 @ 8KSmallest GPUMac
BF16 / FP16 (original)15.2 GB 17.7 GB RTX 4090 24GBMac 36GB
FP8 / INT8 / Q8_08.1 GB 9.9 GB 12GB GPUMac 24GB
4-bit (Q4_K_M / AWQ / GPTQ-Int4)4.6 GB 6.1 GB 8GB GPUMac 16GB

KV cache per request: 8K 0.5 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.

Which inference engine to choose →

04Official repositories & quantised builds

2 official repo(s) from Qwen.

05Other Qwen models

All 112 →
ModelParams4-bit totalReleased
Qwen2.5-Math-1.5B · same series1.54B1.8 GB2024-09-16
Qwen2.5-Math-72B-Instruct · same series72.7B51.7 GB2024-09-16
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-09-23. Parameters, context and licence are copied from the official repository; memory figures are our estimates.

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