LLM Self-Hosting Cost Calculator
Will this model run on my GPU/server? Is it cheaper than an API? — Instantly estimate VRAM fit, token speed, and the self-host-vs-API break-even. No keys, no server, no data leaves the browser.
28B densedensectx 262,144Apache-2.0
Result
✅ Fits on one NVIDIA H100 80GB SXMVRAM
Weights KV cache Overhead Device VRAM limit
Weights 13.9GB + KV 2.1GB (@8,192 tok) + Overhead 1.9GB = 17.9GB / 80GB
· 멀티모달(image-text)
Inference speed
120.6 tok/s
single stream
Serving throughput
1,350.6 tok/s
serving total (batch 16, VRAM headroom max 29)
Self-host vs API
Estimated self-host cost ($2.5/hr)$0.51 / 1M tok
Selected API price$0.8 / 1M tok
Throughput needed to beat the API868.1 tok/s
At this utilization, self-hosting is cheaper. It only holds if you keep the GPU(s) busy.
All results are memory-bandwidth-based approximations. Actual numbers vary with kernel, framework, paging, and quantization method. A real benchmark is recommended before deciding.
Reference · Latest image-gen & speech (STT/TTS) models and API prices
The items below are NOT token-priced, so they don't compare 1:1 with the token calculator above — image-gen APIs plus speech (STT/TTS) self-host models and API prices, compiled for reference. All are public-info approximations.
Image-gen APIs
gpt-image-2OpenAI
$30 /1M img-out tok
gpt-image-1-miniOpenAI
$8 /1M img-out tok
grok-imagine-imagexAI
$0.02 /이미지
Speech STT/TTS — self-host models
~3.1GB
~1.6GB
~1.2GB
Canary-1B v2STT
~2GB
~3.4GB
~0.2GB
VoxCPM2TTS
~4GB
Qwen3-TTSTTS
~3.4GB
Kokoro-82MTTS
~0.2GB
ChatterboxTTS
~1GB
Orpheus 3BTTS
~6GB
F5-TTSTTS
~0.7GB
Speech STT/TTS — API prices
gpt-4o-transcribeSTT
$2.50 / $10 /1M 오디오 tok
whisper-1STT
$0.006 /분
Deepgram Nova-3STT
$0.0077 /분
AssemblyAI Universal-2STT
$0.15 /시간
ElevenLabs ScribeSTT
$0.22 /시간
Google STT StandardSTT
$0.016 /분
gpt-4o-mini-ttsTTS
$0.60 / $12 /1M tok
ElevenLabs FlashTTS
$50 /1M자
ElevenLabs Multilingual v3TTS
$100 /1M자
Grok Voice (xAI)TTS
$15 /1M자
Cartesia SonicTTS
~$0.038 /분