Self-Hosted GPU vs Cloud API Cost
Estimate the true cost per million tokens of running your own GPU, then compare it with a cloud API rate.
Result
Local Cost / Month
$692.59
288.00 GPU-hours · 172.80 kWh
Local Cost / 1M Tokens
$0.835
vs cloud $0.300
| Monthly electricity | $25.92 |
| Monthly hardware depreciation | $583.33 |
| Monthly maintenance | $83.33 |
| Total local / month | $692.59 |
| Tokens produced / month | 829,440,000 |
| Equivalent cloud cost / month | $248.83 |
At this utilisation the cloud API is cheaper per token. Self-hosting needs higher sustained throughput or lower electricity cost to break even.
Assumptions & limits
- Local throughput is assumed sustained at the stated tokens/second during utilised hours.
- Cloud comparison uses a single flat per-million rate and ignores context-tier pricing and cache discounts.
- Hardware amortisation uses straight-line depreciation to the stated resale value; failures, spares and networking are not modelled.
- Self-hosted output quality, quantisation and rate limits may differ from the cloud endpoint compared.