How do you deploy an LLM to production on cloud GPUs?
Production LLM deployment is a checklist: evals, latency targets, replica math, warm capacity, safe rollouts, alerts and cost per 1M tokens.
Production LLM deployment is a checklist: evals, latency targets, replica math, warm capacity, safe rollouts, alerts and cost per 1M tokens.
Pick by VRAM: 16 GB for SD 1.5, SDXL and SD 3.5 Medium, 32 GB for Flux. Plus the hours of use before buying beats paying by the hour.
The PyTorch speed levers in payoff order, from BF16 autocast to CUDA graphs, with sourced speedups, a timing harness and what each is worth in dollars.
Make your script save and resume, size the GPU by memory, time a 200-step probe, then launch with a cost cap. A worked $1.67 run, with the code.
GPU-hours = 6 x params x tokens / (peak FLOPS x utilization x 3,600); cost = GPU-hours x rate. A Python calculator, a worked run and a spend-cap rule.
One H100 serves an 8B model at 1,300 to 26,000 output tokens/s in aggregate, but one user sees far less. How to read tok/s and price it.
1M tokens costs $0.09 to $8 of input and $0.18 to $40 of output by tier, but resent context and caching decide most real bills.
Self-hosting beats a frontier API at about 16M tokens a day per H100, but beating cheap open-model APIs takes 240M+ a day and a busy GPU.
A smaller output cap can save tokens while making more answers unusable. Compare caps against task acceptance criteria before choosing one.
From about $300 for a 1B model to tens of millions for a frontier run. The GPU-hour formula, real published runs and worked costs at H100 list rates.
Most of an H100's cost is memory and packaging, and demand outruns supply. Three levers cut what you pay per finished job, with a worked 8-GPU example.
Run an LLM locally when it fits your memory and data must stay put; use the cloud for 70B+ models, fine-tuning and batch jobs. Break-even math inside.