Hosting cost optimization
Where the hosting bill actually comes from, and what the arithmetic says: hidden billing lines, spend caps, spot-node break-even points, and metering tenants so you can see usage before the invoice does.
Start here
- Hetzner Raised Prices Three Times in Six Months: The "Just Use a Cheap Hetzner Box" Math, RecomputedHetzner repriced three times in six months, pushing dedicated-vCPU and bare-metal lines up 2.3-3.7x on June 15, 2026. A line-by-line recompute of the self-hosting-vs-managed-PaaS math on the new price list — including the tier where an 11x advantage compressed to 4x, and why self-healing fleets forfeit grandfathered pricing.
- Your PaaS Bill Grew a New Line Item: Fly.io's Snapshot Charges, Cross-Region Transfer Fees, and What a Multi-Region Indie SaaS Actually Pays NowFly.io began billing volume snapshots on January 1, 2026 — a meter attached to a default. A line-by-line accounting of what a multi-region indie SaaS (web, worker, cross-region Postgres replica) now pays on Fly.io and Railway, the cross-region transfer rates most users never priced, and why self-hosted costs can't grow lines you didn't write.
- Spend Caps Are a Feature Hosted PaaS Has to Build — and Owned Hardware Gets for FreeRailway's July 2026 CLI usage limits let you cap spend by taking your own app offline. A fixed-price Hetzner box makes the same guarantee for free — but owned hardware still owes its tenants quotas. The full economics of bill anxiety, with the numbers.
- 90% Off Is the Break-Even: Preview-Environment Cost Math on Hardware You Already BoughtPreview-environment guides all say the same thing: put it on spot capacity for up to 90% off. Priced against a Hetzner box you own, 88.9% is exactly the break-even — so here is the real cost table, the duty cycle where renting still wins, and the three knobs that move the number when the meter is gone.
- OpenCost 1.121 Brings Inference Cost Tracking to Kubernetes: Metering GPU Token Workloads Like Any Other TenantOpenCost 1.121 adds per-inference cost metering to Kubernetes, so self-hosters can finally measure dollars per million tokens per tenant. We decompose owned vs leased vs rented GPU vs API costs, find the utilization crossover, and wire vLLM token metrics into a multi-tenant showback report.
- Metering Your Tenants: Build a Kubernetes Metrics Exporter for Railway-Style Usage ShowbackBuild a small Go exporter that turns cAdvisor's CPU, working-set memory, and network counters into per-app usage statements priced at Railway's public meters — plus the five cAdvisor pitfalls that silently corrupt naive per-container accounting.
In the documentation
Terms to know
Build on bex.co
Open-source infrastructure for apps and agents — deploy on machines you own, or use the hosted multi-chain API.
See pricing