Training pulls terabytes from object storage, distributed jobs push gradients across zones, and inference ships embeddings between services. At $0.01 to $0.09 per GB, AI data movement turns into a five-figure line quickly.
Training checkpoints accumulate silently. A team running dozens of experiments can hold hundreds of terabytes of optimizer states they will never load again, at $0.023 per GB-month it adds up to a real recurring bill.
Hourly rates hide enormous differences in delivered compute. Dividing price by teraflops and by memory bandwidth turns a confusing price list into a ranking you can actually reason about.
SageMaker instance rates carry a premium of roughly 15 to 40 percent over the equivalent EC2 instance. Whether that is good value depends on how much of the surrounding platform you would otherwise build yourself.
On Google Cloud you can run models on Vertex AI or on your own GKE cluster with GPU node pools. The hardware rates are similar, so the decision comes down to cluster fees, discount eligibility, and who operates it.
Azure Machine Learning charges you the underlying VM rate with no platform surcharge, which makes cluster configuration the whole cost story. Minimum node counts and idle timeouts decide most of the bill.
The KV cache grows linearly with context length and batch size, and it competes with model weights for the same expensive GPU memory. Long contexts are not a feature you add for free, they are a capacity purchase.
Committing to GPU capacity saves 30 to 60 percent, but GPU generations turn over every 18 to 24 months. Getting the commitment horizon right matters more here than anywhere else in cloud purchasing.
Cost per million tokens is the one number that compares a self-hosted GPU with any hosted alternative. Computing it takes one benchmark run and turns inference budgeting into arithmetic.
Every logging platform charges twice: once to accept the data and again to keep it. On most bills the ingestion half dominates by 10x or more, which changes where you should spend optimization effort. Here is the arithmetic.
Adding a user ID to a metric label looks harmless in a pull request and is the single fastest way to multiply an observability bill by a thousand. Here is the multiplication arithmetic and how to cap it.
Sampling is the main cost lever in distributed tracing, and picking a rate is a trade between spend and the odds of capturing the rare failure you needed. Here is the math on both sides.
Running your own monitoring looks free because the software is. Adding up the instances, storage, replication, and engineer time gives a number you can actually compare against a managed bill. Here it is.
One bills per metric, log GB, and alarm. The other bills per host and per seat. They cross over at predictable points, and the crossover depends more on your fleet shape than on your traffic. Here is where each wins.
Cutting log volume is the highest-leverage observability optimization because ingestion dominates the bill. Some tactics take an afternoon and cut 30%. Others take a quarter and cut 5%. Here they are, ranked.
JSON logs are more verbose per line than plain text, which raises ingestion bytes. They are also queryable without full-text scans, which lowers query cost and enables filtering. The net effect depends on how you use them.
Canaries and alarms are individually cheap enough that nobody budgets for them, which is exactly how a few thousand dollars a month appears with no owner. Here is the per-unit math and how it compounds.
Security logs have the longest retention requirements and the lowest query rate of any telemetry you keep. That combination makes them the single best candidate for tiering, and the most commonly mishandled.
The same workload can cost five times more under one pricing model than the other, and the deciding factor is your container density and telemetry per host. Here is how to work out which side you are on.
The collector is infrastructure you now run, and it is also the cheapest place to delete data before it reaches a per-GB meter. Sizing it correctly is a small cost that unlocks a large saving.
Almost nobody queries observability data older than two weeks, yet most organizations keep months of it in the most expensive tier available. Tiering fixes that, and the price gap is roughly 100 to 1.
DEBUG level in production is one of the most expensive accidental configurations in software. It is also invisible, because nothing breaks. Here is how to price it and find it.
An auto-refreshing dashboard is a scheduled job that bills every thirty seconds forever. Most teams have dozens, half of them unopened for months. Here is what they cost.
Tracing cost does not scale with your traffic, it scales with your traffic times your service count times your instrumentation depth. That compound growth is why tracing bills surprise people.