Self-host Qwen 2.5 Coder 32B vs. API cost

Live OpenRouter API pricing is $0.66/1M input & $1.00/1M output. Renting 1× RTX A6000 on Vast.ai costs $0.40/hr ($292/mo) and breaks even at 12.9M tokens/day.

GPU: 2026-12-05 · API (OpenRouter live): 2026-12-05 Run Qwen 2.5 Coder 32B VRAM guide → Fine-tune cost →

Interactive breakeven calculator

API spend (OpenRouter)
-
-
Cheapest self-host GPU (24h/day)
-
-
Recommendation & breakeven
-
-

All FP8 self-hosting setups for Qwen 2.5 Coder 32B (~36 GB VRAM)

GPU setup Provider GPU / hr Monthly (730h) Est. peak tok/s Self-host $/1M @ 40% Breakeven Deploy
1× NVIDIA RTX A6000 Cheapest Vast.ai logo Vast.ai $0.40/hr $292 91 tok/s $3.038 12.9M/day Launch ↗
1× NVIDIA RTX A6000 TensorDock logo TensorDock $0.45/hr $329 91 tok/s $3.418 14.5M/day Launch ↗
1× NVIDIA A100 80GB SXM Vast.ai logo Vast.ai $0.58/hr $423 247 tok/s $1.634 18.7M/day Launch ↗
1× NVIDIA RTX A6000 DataCrunch (Verda) logo DataCrunch (Verda) $0.59/hr $431 91 tok/s $4.481 19.0M/day Launch ↗
1× NVIDIA RTX 6000 Ada Vast.ai logo Vast.ai $0.60/hr $438 117 tok/s $3.564 19.3M/day Launch ↗
1× NVIDIA A100 40GB Vast.ai logo Vast.ai $0.63/hr $460 189 tok/s $2.319 20.3M/day Launch ↗
2× NVIDIA L4 Vast.ai logo Vast.ai $0.64/hr $467 72 tok/s $6.194 20.6M/day Launch ↗
1× NVIDIA RTX A6000 RunPod logo RunPod $0.69/hr $504 91 tok/s $5.241 22.2M/day Launch ↗

All 4-bit (Q4) self-hosting setups for Qwen 2.5 Coder 32B (~21 GB VRAM)

GPU setup Provider GPU / hr Monthly (730h) Est. peak tok/s Self-host $/1M @ 40% Breakeven Deploy
1× NVIDIA L4 Cheapest Vast.ai $0.32/hr $234 65 tok/s $3.429 10.3M/day Launch ↗
1× NVIDIA RTX 4090 TensorDock $0.38/hr $277 221 tok/s $1.194 12.2M/day Launch ↗
1× NVIDIA RTX A6000 Vast.ai $0.40/hr $292 169 tok/s $1.644 12.9M/day Launch ↗
1× NVIDIA RTX A6000 TensorDock $0.45/hr $329 169 tok/s $1.849 14.5M/day Launch ↗
1× NVIDIA RTX 4090 Vast.ai $0.45/hr $329 221 tok/s $1.414 14.5M/day Launch ↗
1× NVIDIA RTX 5090 Vast.ai $0.53/hr $387 397 tok/s $0.927 17.1M/day Launch ↗
1× NVIDIA L4 Google Cloud $0.56/hr $409 65 tok/s $6.000 18.0M/day Launch ↗
1× NVIDIA A100 80GB SXM Vast.ai $0.58/hr $423 455 tok/s $0.885 18.7M/day Launch ↗

Physics & breakeven methodology

1. Dollar breakeven: breakeven_M_per_day = (GPU_$/hr × 24) ÷ blended_API_$/1M. We pull live token pricing from OpenRouter's public API so API benchmarks stay current.

2. Throughput & node count: Autoregressive decoding is memory-bandwidth bound: single_stream_tok_s = min(250, (total_BW_TB/s × 600) ÷ active_GB) using 32B active parameters. Continuous batching (vLLM / SGLang) multiplies peak node throughput by 6.5×, scaled by your selected utilization preset (15%, 40%, or 75%). If your daily volume exceeds 1 node's capacity, the calculator automatically multiplies the node count needed.