AI Cost Calculators
Two numbers decide most AI budgets: what a month of API calls costs, and what a month of rented GPU time costs. Both calculators use published list prices, show the arithmetic behind the estimate, and take about 30 seconds to fill in.
Not sure which tools to buy at all? Build a stack from your monthly budget.
LLM API Cost Calculator
Pay per token. Compare Groq and DeepInfra on the same Llama model by request volume.
GPU Rental Cost Calculator
Pay per hour. Price RunPod Secure and Community Cloud for any card and hour count.
Which AI cost calculator do I need?
If you pay a provider per token, use the LLM API calculator. If you rent a card by the hour, use the GPU calculator. If the question is whether self-hosting ever beats an API, start with either one and then check the break-even panel below, which converts a monthly GPU rental into a per-token equivalent.
Start with the API bill
Start from a typical workload
Illustrative starting points, not benchmarks. Replace them with your own request and token counts when you have logs.
Total tokens per request: 2,000
At 10,000 requests per month, DeepInfra costs $0.50 for Llama 3.1 8B (128k context), which is $0.65 less than Groq.
DeepInfra
Meta-Llama-3.1-8B-Instruct-Turbo
$0.02/M input ยท $0.04/M output
$0.50
per month, list price
- Input
- $0.30
- Output
- $0.20
Groq
Llama 3.1 8B Instant 128k
$0.05/M input ยท $0.08/M output
$1.15
per month, list price
- Input
- $0.75
- Output
- $0.40
Your workload is 20.0M tokens/month โ less than 0.1% of the 84.4B tokens/month where an H100 PCIe would cost the same as this API bill. Check the break-even.
List prices read from the vendors' official pricing pages on November 20, 2026. Excludes tax, cache discounts, minimum commitments and negotiated enterprise rates. Verify on the official page before you commit.
When does renting a GPU beat paying per token?
The two are not alternatives for everyone. Below a few million tokens a month, per-token billing is almost always cheaper because it scales to zero when nobody is using the product. Above that, a rented GPU that stays busy can undercut the API rate, but only if utilization is high and you can absorb idle hours.
For Llama 3.3 70B on an H100 PCIe, the crossover is about 13.6 billion tokens a month at a 25% output mix. Below that, per-token billing wins because an idle GPU still bills. Above it, the GPU only wins if the workload actually keeps the card busy. The panel below recalculates the crossover for any card, model and token mix.
At 25% output, the cheapest API for Llama 3.3 70B (128k context) charges $0.155 per 1M tokens. A H100 PCIe (80 GB) on RunPod Secure Cloud costs $2,109.70 per month, so the crossover is 13.6B tokens/month โ about 5,179 tokens every second, 24/7.
Below that volume, per-token billing is cheaper because it scales to zero. Above it, the rented GPU is cheaper only if your workload actually keeps it busy; an idle GPU still bills. Storage, network volumes, engineering time and reserved-capacity discounts are not included, and the throughput figure is arithmetic, not a benchmark for this card.
Why the numbers are dated
AI infrastructure prices change often, and a calculator that hides its date turns stale silently. Every rate on these pages was read from the vendor's own pricing page on November 20, 2026, and the date is printed next to the estimate. When a rate moves, the page is updated and the date changes with it.
Estimates use list prices and exclude tax, storage, network transfer, cache discounts and negotiated enterprise rates. Confirm the current rate on the vendor page before you commit budget.
