Self-hosted Inference
An infrastructure model in which an enterprise deploys and operates model inference itself, assuming hidden costs such as GPU capacity planning, inference optimization and ongoing operations and maintenance.
Timeline (last 90 days)
The hidden costs of self-hosted inference mainly come from three aspects: GPU capacity planning, inference optimization (quantization, batching, KV cache management, etc.), and ongoing operations and maintenance (model version updates, security patches, monitoring and alerting, etc.).
When a team's sustained throughput exceeds 40 to 50 million tokens per day, renting dedicated vLLM/SGLang GPU instances typically saves 45% to 60% compared with per-token serverless offerings.
Running model inference via self-hosting requires preparing computing power yourself; GPUs, memory and operations time are all hidden costs.
If data is sensitive, call volume is huge, or offline batch processing is needed, open-weight models paired with self-hosted inference services are more controllable.
Managed inference is paid per processing unit (tokens, pages, or pairs) and costs nothing when idle; self-hosting is paid per GPU hour regardless of whether it is busy, and the unit cost falls as utilization rises.
Self-hosted inference has a cost advantage only when the workload is stable, predictable, and close to cluster capacity; managed inference naturally shifts volatility to the vendor, with a zero bill when idle.
Self-hosting can only match the cost of managed inference once monthly processing volume exceeds about 365,000 pages (under the assumptions of the illustrative calculation in the article), and this does not yet account for engineering time.
All Facts (6)
The hidden costs of self-hosted inference mainly come from three aspects: GPU capacity planning, inference optimization (quantization, batching, KV cache management, etc.), and ongoing operations and maintenance (model version updates, security patches, monitoring and alerting, etc.).
50%UnverifiedWhen a team's sustained throughput exceeds 40 to 50 million tokens per day, renting dedicated vLLM/SGLang GPU instances typically saves 45% to 60% compared with per-token serverless offerings.
50%UnverifiedRunning model inference via self-hosting requires preparing computing power yourself; GPUs, memory and operations time are all hidden costs.
50%UnverifiedIf data is sensitive, call volume is huge, or offline batch processing is needed, open-weight models paired with self-hosted inference services are more controllable.
50%UnverifiedManaged inference is paid per processing unit (tokens, pages, or pairs) and costs nothing when idle; self-hosting is paid per GPU hour regardless of whether it is busy, and the unit cost falls as utilization rises.
50%UnverifiedSelf-hosted inference has a cost advantage only when the workload is stable, predictable, and close to cluster capacity; managed inference naturally shifts volatility to the vendor, with a zero bill when idle.
50%