Topic

machine learning

29 articles on machine learning — what drives the cost, how it is priced, and where the savings actually are.

kubernetesgpumachine-learning

Kubernetes GPU node pool cost: why one idle A100 costs more than 30 web servers

GPU nodes cost 10 to 40 times a general-purpose node per hour, and Kubernetes gives you a whole GPU per pod by default. Idle GPU nodes are the most expensive waste in any cluster. Here are the rates and the sharing strategies.

The C3X Team··7 min read
gpumachine-learningcost-optimization

H100 vs A100 cost per training hour: which GPU is actually cheaper

An H100 costs roughly three times an A100 per GPU-hour, but it can be two to four times faster on modern training workloads. The cheaper GPU is the one with the lower cost per unit of work, not the lower hourly rate. Here is how to do that math.

The C3X Team··7 min read
gpumachine-learningcost-optimization

L4 vs T4 GPU inference cost: the quiet upgrade that pays for itself

The T4 has been the default cheap inference GPU for years, but the L4 costs about 53 percent more per hour while delivering two to three times the throughput on modern models. For inference fleets, that inversion is worth real money.

The C3X Team··7 min read
machine-learninggpucost-optimization

Self-hosted LLM vs hosted API: where the cost crossover actually is

A hosted API charges per token with no floor. A self-hosted model charges per GPU-hour whether you use it or not. The crossover sits at a specific monthly token volume, and most teams guess it wrong by an order of magnitude.

The C3X Team··8 min read
machine-learningdatabasescost-optimization

pgvector vs a managed vector database: the real cost comparison

Adding pgvector to a Postgres instance you already run looks free. A managed vector service starts at several hundred dollars a month. The honest comparison involves index memory, replica sizing, and how much your team wants to operate.

The C3X Team··8 min read
machine-learninggpucost-optimization

Fine-tuning cost estimation: what a training run really costs

Fine-tuning cost is a product of four numbers: model size, dataset tokens, GPU rate, and how many times you will redo it. Get those on paper and a run that felt unbounded turns into a figure you can approve.

The C3X Team··8 min read
gpumachine-learningspot

GPU spot interruption economics: when a 70 percent discount is worth the risk

Spot GPUs cost 50 to 70 percent less and can vanish with two minutes of warning. Whether that trade is good depends on one number: how much work you lose per interruption, which is a function of your checkpoint interval.

The C3X Team··7 min read
machine-learninggpukubernetes

Model serving autoscaling cost: why scaling GPUs is not like scaling web servers

A web server scales in seconds. A GPU replica loading a 40GB model takes minutes. That gap forces you to keep warm capacity, and warm capacity is where most model serving budgets quietly go.

The C3X Team··7 min read
gpumachine-learningcost-optimization

GPU utilization waste: the most expensive idle resource in your account

A GPU at 25 percent utilization is not 25 percent efficient, it is 75 percent wasted at ten dollars an hour. Measuring real utilization usually reveals the largest single optimization available in an AI budget.

The C3X Team··7 min read
machine-learninggpukubernetes

Multi-model serving cost: packing models onto fewer GPUs

Running twelve models on twelve GPUs is simple and expensive. Packing them onto three, with time-slicing or partitioning, can cut the serving bill by 70 percent when each model only needs a fraction of a device.

The C3X Team··7 min read
machine-learningnetworkingcost-optimization

AI workload data transfer cost: the line item nobody forecasts

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.

The C3X Team··7 min read
machine-learningstoragecost-optimization

Model checkpoint storage cost: the terabytes nobody deletes

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.

The C3X Team··7 min read
gpumachine-learningcost-optimization

GPU cost per teraflop compared: normalizing hourly rates into value

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.

The C3X Team··7 min read
awsmachine-learningcost-optimization

SageMaker vs self-managed EC2: what the managed premium actually buys

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.

The C3X Team··7 min read
gcpmachine-learningkubernetes

Vertex AI vs GKE for GPU workloads: comparing the two GCP paths

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.

The C3X Team··7 min read
azuremachine-learninggpu

Azure ML compute cluster cost: sizing, scaling, and low-priority nodes

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 C3X Team··7 min read
machine-learninggpucost-optimization

GPU memory and KV cache cost: why context length drives your inference 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.

The C3X Team··8 min read
gpumachine-learningcost-optimization

GPU reserved capacity vs on-demand: committing to hardware that changes yearly

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.

The C3X Team··7 min read
machine-learninggpucost-optimization

Tokens per dollar: benchmarking self-hosted inference economics

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.

The C3X Team··7 min read
awsgpucost-optimization

GPU instance pricing explained: what accelerated compute really costs

GPU instances are the most expensive compute you can rent, from a few dollars an hour for inference cards to tens of dollars an hour for training clusters. Understanding what drives the price, and how to cut it, keeps GPU bills sane. Here is the breakdown.

The C3X Team··6 min read
machine-learningcost-optimizationinference

Inference cost per 1000 requests: the unit metric for serving models

Cost per 1000 inference requests is the unit metric that tells you whether serving a model is economical. It ties GPU or serverless cost to actual usage, and it is the number to optimize as you scale. Here is how to compute and reduce it.

The C3X Team··6 min read
aicost-optimizationgpu

Training vs inference cost split: where the AI budget really goes

AI cost divides into training (building the model, often GPU-heavy and periodic) and inference (running it, continuous and scaling with usage). They have different profiles and different levers. Here is how to think about the split.

The C3X Team··6 min read
azuremachine-learningcost-optimization

Azure ML cost optimization: cutting the bill on training and inference

Azure Machine Learning cost is dominated by compute, GPUs for training, endpoints for inference, and idle clusters. Right-sizing, autoscaling to zero, spot compute, and batch endpoints are the biggest levers. Here is the playbook.

The C3X Team··6 min read
cost-vs-performancegpumachine-learning

GPU instance cost optimization: the most expensive hour to waste

GPU instances cost many times a CPU instance per hour, so idle GPUs, oversized accelerators, and full-price on-demand are expensive mistakes. Spot, right-sizing, and sharing are the big levers. Here is how to keep GPU cost under control.

The C3X Team··5 min read