โ€”
API cost โˆ’ self-host
โ€”API monthly
โ€”self-host monthly
โ€”break-even (M tok/mo)

A GPU is a fixed cost; an API is a variable one

Self-hosting wins only when you keep the GPU busy enough to beat the per-token rate. Model the raw GPU bill on the GPU cloud cost calculator and the true per-token rate you would hit on the GPU inference cost calculator.

Host your project:DigitalOcean โ€” $200 free โ†—Hostinger VPS
Vector DB Storage Cost CalculatorWords to Tokens CalculatorVision API Cost CalculatorGPU Inference Cost CalculatorLLM Price Drop Savings Calculator