LLM Cost Calculator

LLM cost calculator

Enter monthly input and output token volume, choose a cloud model, and compare the estimated API bill with a purchased or rented GPU setup.

Token Usage

Cloud API

Local Setup

Monthly Cost

Self-hosting recommended
Cloud API
$125
per month
Self-hosted
$94.44
per month
Self-hosting saves $30.56/month

Cost Breakdown

Input tokens (10M @ $5/1M)$50.00
Output tokens (3M @ $25/1M)$75.00
Cloud total$125
GPU amortization (NVIDIA RTX 4090 ÷ 24mo)$75.00
Electricity (450W × 12h/day)$19.44
Local total$94.44
Rent NVIDIA RTX 4090
via RunPod — from $0.74/hr
Get Started →