Cheapest GPU to fine-tune Qwen 2.5 Coder 32B

Estimated VRAM requirements and live hourly training costs for QLoRA (4-bit base + LoRA adapters) and standard BF16 LoRA fine-tuning.

Updated 2026-12-05 Looking for inference? Run Qwen 2.5 Coder 32B cost →
QLoRA fine-tuning · 28 GB
$0.40/hr
1x RTX A6000 · 10h run ≈ $4.00
BF16 LoRA fine-tuning · 78 GB
$0.58/hr
1x A100 80GB SXM · 10h run ≈ $5.80

Cheapest GPUs for QLoRA fine-tuning Qwen 2.5 Coder 32B (~28 GB VRAM)

GPU setup Provider Total VRAM Hourly Spot / hr Est. 10-hour run Rent
1x NVIDIA RTX A6000 Cheapest Vast.ai 48 GB $0.40/hr $0.31/hr $4.00 Launch ↗
1x NVIDIA RTX A6000 TensorDock 48 GB $0.45/hr - $4.50 Launch ↗
1x NVIDIA RTX 5090 Vast.ai 32 GB $0.53/hr $0.40/hr $5.30 Launch ↗
1x NVIDIA A100 80GB SXM Vast.ai 80 GB $0.58/hr $0.42/hr $5.80 Launch ↗
1x NVIDIA RTX A6000 DataCrunch (Verda) 48 GB $0.59/hr $0.39/hr $5.90 Launch ↗
1x NVIDIA RTX 6000 Ada Vast.ai 48 GB $0.60/hr $0.47/hr $6.00 Launch ↗
1x NVIDIA RTX 5090 TensorDock 32 GB $0.62/hr - $6.20 Launch ↗
1x NVIDIA A100 40GB Vast.ai 40 GB $0.63/hr $0.49/hr $6.30 Launch ↗

Cheapest GPUs for BF16 LoRA fine-tuning Qwen 2.5 Coder 32B (~78 GB VRAM)

GPU setup Provider Total VRAM Hourly Est. 10-hour run Rent
1x NVIDIA A100 80GB SXM Vast.ai 80 GB $0.58/hr $5.80 Launch ↗
2x NVIDIA RTX A6000 Vast.ai 96 GB $0.80/hr $8.00 Launch ↗
1x NVIDIA A100 80GB PCIe Vast.ai 80 GB $0.87/hr $8.70 Launch ↗
2x NVIDIA RTX A6000 TensorDock 96 GB $0.90/hr $9.00 Launch ↗
2x NVIDIA RTX 6000 Ada Vast.ai 96 GB $1.20/hr $12.00 Launch ↗
1x NVIDIA A100 80GB PCIe TensorDock 80 GB $1.25/hr $12.50 Launch ↗
2x NVIDIA A100 40GB Vast.ai 80 GB $1.26/hr $12.60 Launch ↗
4x NVIDIA L4 Vast.ai 96 GB $1.28/hr $12.80 Launch ↗

QLoRA vs. BF16 LoRA training guide

Memory breakdown: Fine-tuning Qwen 2.5 Coder 32B (32B parameters) adds optimizer states, gradients, and activation memory on top of base weights. QLoRA keeps the base model in 4-bit NF4 (~21 GB) and brings total training VRAM to roughly 28 GB, while full BF16 LoRA requires 78 GB. Use gradient checkpointing and micro-batch size 1–2 if you are close to the GPU VRAM ceiling.

Training budget & spot savings: At $0.40/hr on 1× NVIDIA RTX A6000 (Vast.ai), a 10-hour QLoRA job costs $4.00 and a 50-hour run costs $20. Saving checkpoints to network storage every 30 minutes lets you use spot instances at $0.31/hr ($3.10 per 10h run).

Frequently asked questions

How much VRAM is needed to fine-tune Qwen 2.5 Coder 32B?

QLoRA fine-tuning (4-bit frozen base weights + 16-bit LoRA adapters + AdamW optimizer states) requires ~28 GB VRAM, starting at $0.40/hr on 1× NVIDIA RTX A6000. Standard BF16 LoRA requires ~78 GB VRAM.

How much does a 10-hour or 50-hour Qwen 2.5 Coder 32B training run cost?

On 1× NVIDIA RTX A6000 (Vast.ai at $0.40/hr), a 10-hour QLoRA run costs roughly $4.00 and a 50-hour run costs $20.00, or $15.50 on spot instances with checkpointing.