Free
Runs in your browser
LLM Cost Calculator: API vs Self-Hosting
At what point does running your own GPU beat paying per token? Enter your volume and prices — get the monthly cost each way and the break-even point. You supply the prices, so the math reflects your real rates.
Monthly volume
API prices (per 1M tokens, your rate)
GPU rental, or hardware cost spread over its life, plus power/ops if you want to include them.
API — monthly
$—
Self-hosting — monthly
$—
Related guides
- Self-hosting LLMs vs cloud APIs — the full cost, performance, and privacy comparison
- Production LLM cost optimization — cut the token bill before you switch
- LLM VRAM calculator — check the model fits the GPU you're pricing