AI GPU Cloud Cost Calculator
Work out what it costs to rent cloud GPUs to train or serve an AI model, and compare the same job across RunPod, Lambda, Vast.ai, and AWS — on-demand and spot — in US dollars and Sri Lankan rupees. Pick a GPU, how many, and how long, and see the cheapest option in seconds.
How it works
The calculator is pure arithmetic over published per-GPU-hour rates. It does not call any API or run a model — every figure comes from a rate table re-confirmed against the four providers' pricing pages on the last-verified date below. Each provider lists a rate in US dollars per GPU per hour, separately for on-demand and spot/interruptible capacity.
1. Normalise the duration
Your duration is converted to hours: hours = value × { hours: 1, days: 24, months: 730 }. The 730-hour month is the standard cloud “month-hour” convention (24 × 365.25 ÷ 12) used by AWS and most providers for monthly billing.
2. Compute cost per provider
For the selected GPU, count, and pricing mode, each provider's compute cost is rate × number of GPUs × hours. Optional storage adds GB × (per-GB-month ÷ 730) × hours, prorating each provider's persistent-volume list price to the job length. The two sum to the job total.
3. Always-on monthly projection
The monthly column projects a 24/7 deployment as rate × number of GPUs × 730 plus monthly storage — the number you would pay to keep an inference endpoint live for a full month.
4. Spot saving and the cheapest pick
The tool finds the lowest-cost provider that offers both on-demand and spot for your GPU and reports the saving in dollars and percent — spot typically cuts 30–50% in exchange for the instance being reclaimable mid-job. The cheapest available provider overall is highlighted, and the headline total is converted to rupees at the reference rate of 300 LKR per USD.
5. Cross-check
Marketplaces such as RunPod and Vast.ai bill per second, not per hour. As an internal check the same compute cost is recomputed by converting the hourly rate to a per-second rate (rate ÷ 3600) × GPUs × (hours × 3600); the per-hour and per-second methods agree to the cent, the same idea as checking a tax figure against the regulator's own formula.
Worked examples
Frequently asked questions
Sources & references
- RunPod — GPU cloud pricing (Secure Cloud on-demand + Community Cloud spot)
- Lambda — Cloud GPU on-demand pricing
- Vast.ai — marketplace GPU pricing
- AWS — EC2 P5 / P4de / G6e on-demand pricing
- AWS — EC2 Spot Instance pricing
- Central Bank of Sri Lanka — indicative USD/LKR exchange rate
Per-GPU-hour rates and the USD/LKR reference were last re-confirmed against the sources above on 2026-06-05. GPU rental prices move frequently — these are illustrative reference figures for budgeting and comparison, not live quotes. Confirm the live rate on the provider before you commit.
Related tools
Comments & feedback
Spotted a bug or want an improvement? Tell us — our team reviews every comment, and good ideas get built. Comments are public and anonymous.
Found a bug, a stale rate, or want another GPU or provider added?
Email me at [email protected] — most fixes ship within 24 hours.