5090 vs API for Qwen 27B: the real math on paying back a $6K GPU

Mission-Leave-6551 · reddit · 2026-10-27

The author compares self-hosting Qwen 3.8 27B on an RTX 5090 against API costs, using the same weights on both sides. At Alibaba's international API pricing ($0.55/M in, $3.25/M out, $0.11/M cache hit), a heavy agent workload of 800M cache hits + 200M fresh input + 35M output per week costs $310; cheaper pay-per-token hosts like DeepInfra bring that to $125, while local electricity for the week is just $8.

Original post →

More from coding & agent

coding & agent channel →