A Guide to Dogfooding Your Own AI as a Service

Why would anyone run their own GPUs when tokens are this cheap?

A Guide to Dogfooding Your Own AI as a Service
Contents

An internal AI service makes the platform team a provider and the rest of the company its customers. Teams get an endpoint, a catalogue of models, a quota and a bill; the platform team decides where each token is made. Most enterprises already pay for tokens on three meters at once: a frontier API for the hard problems, a cheaper model for the bulk, and a growing line for agents that call models in loops. Running the service yourself means deciding which of that work moves onto GPUs you own or rent, how big that estate gets, and what each size commits the platform team to.

The case for keeping intelligence in-house at all is made in Too Cheap to Meter.

What does the service give its teams?

A team using the service shouldn’t need to know where a model runs:

  • One endpoint. An OpenAI-compatible API behind an AI gateway (Envoy AI Gateway, LiteLLM),1 which routes each request by model name, team and policy to a frontier API under zero data retention, a rented GPU pool or an owned one.
  • A catalogue. Frontier models by name, a few open base models for the bulk, and each team’s LoRA adapters over them. A model or adapter joins the catalogue when it passes the team’s evaluation set.
  • Quotas and priorities. Token quotas per team at the gateway, GPU quotas and priority tiers underneath, so production traffic keeps its floor and experiments borrow what’s idle.
  • Service levels. Time to first token and inter-token latency at p95, and goodput: the request rate served within both.2
  • A bill. Tokens and GPU-hours metered per team, priced to cover the estate.
  • Traces. Prompts and outputs logged where policy allows; they’re the training data for the next adapter.

The gateway turns three supply options into one service, and it’s also the instrument for choosing among them, since it counts every token by team, task and model. Build it first; every tier and every supplier sits behind it.

The service has one competitor inside the company: direct access to the labs’ APIs. Teams route around a gateway whose catalogue lags a new frontier model, whose quotas bite, or whose latency is worse than the vendor’s. Day-one routing to new frontier models, self-service adapters and better latency on the bulk keep the traffic, and the traffic is what any owned capacity depends on.

What bounds every GPU estate?

Every size of estate, from a box under a desk to a hall of racks, is limited by the same few constraints. They decide where one size ends and the next begins.

Memory bandwidth bounds decode. Each generated token reads the active weights once, so a single stream can’t run faster than

\[\text{tokens/s per stream} \;\le\; \frac{\text{memory bandwidth}}{\text{bytes read per token}}\]

gpt-oss-120b has 117B parameters but only about 5.1B active per token, in MXFP4, so each token reads about 3 GB.3 That sets a ceiling of about 90 tokens a second on a 273 GB/s desktop appliance, about 530 on an RTX PRO 6000 Server Edition at 1,597 GB/s, and about 2,700 on a B200 at 8 TB/s.456 Real engines reach a fraction of it. Batching shares one weight read across many streams, which is why throughput per GPU rises with concurrency while each user’s speed falls; for a mixture-of-experts model the sharing is partial, and every stream also reads its own KV cache.

Single-stream decode ceiling for gpt-oss-120b at about 3 GB read per token: about 90 tokens a second on a 273 GB/s appliance, 530 on an RTX PRO 6000 Server Edition, 1,100 on an H100 and 2,700 on a B200.

Memory bandwidth divided by 3 GB per token; vendor specifications.4576

Memory capacity bounds what fits. Serving holds weights plus a KV cache that grows with every token of every conversation:

\[\text{KV bytes per token} = 2 \times \text{layers} \times \text{KV heads} \times \text{head dim} \times \text{bytes per value}\]

For Llama 3 70B at 16 bits that’s \(2 \times 80 \times 8 \times 128 \times 2 \approx 0.33\) MB per token: 2.6 GB for an 8,000-token conversation, 42 GB at 128,000.8 An eight-GPU H100 server holds about 190 such 8,000-token conversations after its weights. Training holds 16 bytes of state per parameter before activations: 16-bit weights and gradients plus 32-bit weights, momentum and variance.9 Capacity sets the batch, and the batch sets the cost per token.

Each step outward costs bandwidth. Memory inside a GPU, NVLink between the GPUs of a server, the network between servers:

Parallelism mapped onto hardware: tensor parallel inside a server on NVLink at 450 GB/s each way per GPU, pipeline and expert parallel between servers, sharded data-parallel replicas across racks on a 400 Gb/s network (50 GB/s each way), under HBM at 3.35 TB/s inside each GPU.

H100 SXM figures, NVLink and network per direction;7 one 400 Gb/s link per GPU, as in Llama 3’s training cluster.8

On H100 that’s 3.35 TB/s of memory, 450 GB/s each way over NVLink, and 50 GB/s each way per GPU across the network: a ninefold drop at the server’s edge. Every parallelism scheme decides which data crosses it. Llama 3 orders its four, from the inside out, as tensor, context, pipeline and data parallel, keeping tensor parallelism, the chattiest, inside the eight NVLinked GPUs of one server.8 Where the NVLink domain ends is the most important boundary in the estate.

Communication bounds scaling. A ring all-reduce of \(S\) bytes across \(n\) GPUs with per-GPU bandwidth \(B\) and per-message latency \(\alpha\) takes about

\[T \approx 2\,\frac{n-1}{n}\,\frac{S}{B} + 2(n-1)\,\alpha\]

The bandwidth term barely shrinks as \(n\) grows. Gradients for a 70B model in 16 bits are 140 GB: across 64 GPUs at 50 GB/s each that’s \(2 \times \tfrac{63}{64} \times 140/50 \approx 5.5\) seconds a step, against about 0.6 seconds inside an NVLink domain at 450 GB/s each way.7 That’s the worst case, pure data parallelism with no overlap; real runs shard the model inside each server and overlap the exchange with compute. Tensor parallelism needs two all-reduces per layer in each direction,10 which is why it stays inside the NVLink domain.

Pipelines idle. With \(p\) stages and \(m\) micro-batches per step, the idle fraction is \((p-1)/(m+p-1)\): eight stages and 32 micro-batches leave about 18% of each step idle.

Batches have a ceiling. Past a model’s critical batch size each doubling of the global batch buys less progress per step,11 so scaling out a training run eventually stops shortening it.

The slowest worker sets the pace. A synchronous step waits for its last GPU, and the chance that one of \(n\) is slow, hot or failing grows with \(n\). Mean time between interruptions falls roughly as \(1/n\).8

Power and heat cap everything else. GPUs throttle when hot or power-capped, and a hall’s electrical delivery caps how many run at full draw. A hall that can cool 130 kW a rack but deliver only 40 kW supports 40.12

Which shape is your estate?

Four shapes cover most estates. Each is bounded by one of the constraints above, and outgrowing it means crossing to the next:

  Appliance One server on air Datacentre pod Rack-scale grid
Typical build DGX Spark, Jetson AGX Thor, DGX Station, workstation GPUs 8× RTX PRO 6000, or one HGX B200 2–8 HGX B200 or B300 servers NVL72 racks
Memory domain One box, 128–748 GB One server; PCIe between cards 8 GPUs on NVLink 72 GPUs on NVLink
Interconnect None, or Ethernet PCIe InfiniBand or RoCE, rail-optimised NVLink in the rack, InfiniBand or RoCE between
Power and cooling Desk or edge, 40 W to a few kW About 9 kW on air (14 kW for HGX) 30–80 kW racks, air or rear-door 132–140 kW racks, direct liquid
Serves One developer, or one site A few teams The company’s bulk traffic, fine-tuning A group-wide service, real distributed training
Team and service level The user Two engineers, business hours A dedicated team inside an existing 24×7 rotation A dedicated team with facility and network staff
Outgrown when More than one team, or an SLO N+1, agent-speed latency, models past 96 GB a card Models or experts that don’t fit 8 GPUs, rack power Facility megawatts

Our assessment; hardware figures from the vendor specifications cited below.

Four estate shapes as a ladder, each with the bound that ends it: appliance (memory bandwidth, one user), one server on air (no NVLink, no N+1), datacentre pod (the eight-GPU NVLink domain, rack power), rack-scale grid (facility power, failure rate).

A sustainable 24×7 on-call rotation from one site needs about eight engineers.13 Hence the team row: two people can run a server in business hours, and a pod that must be up at night joins an existing platform team’s rotation.

The tiers stack. A company with a pod still gives developers appliances, still rents the frontier by the token, and rents a grid’s worth of GPUs for the month a year it trains something large.

Appliances: developer seats and the edge

Two jobs share this tier and need different designs.

Developer seats are clients of the service. A DGX Spark or a workstation GPU runs a model locally for prototyping, evaluation and offline work, and points at the same gateway as production for everything else. The DGX Station GB300 sits at the top of the tier with 748 GB of coherent memory, at OEM quotes of roughly $90,000 to $100,000.14 A desk box that holds a 120B model is a fine evaluation rig, and the bandwidth ceiling above says why it isn’t shared infrastructure: 273 GB/s gives one user a usable speed and a team a queue.

Edge satellites carry a local model to a site that may lose its link: a plant, a store, a vessel. Jetson AGX Thor packs 128 GB at 273 GB/s into 40–130 W, with a $3,499 developer kit.15 A satellite serves its site when disconnected and syncs when it isn’t, so the central service has to treat it as a deployment target.

A developer seat and an edge satellite against the central service: the developer box runs local models and calls the gateway for everything else; the edge box serves its site from a local model, pulls signed models and configuration through GitOps when connected, and falls back to the central gateway when the link is up.

Stack.

  • Engines: llama.cpp or Ollama for single users; vLLM where the box has the memory and a supported GPU.
  • Models as artifacts: weights pushed to the registry as OCI artifacts (ORAS), signed, and pulled by digest, so a dev seat, a satellite and the cluster run the same bytes.
  • Edge fleets: k3s or KubeEdge on each site, Flux or Argo CD pulling from Git when the link is up, and a local gateway that falls back to the central one.

What bounds it. Bandwidth sets one user’s speed; capacity sets the largest model; there is no second box to fail over to.

What breaks.

  • Arm images. DGX Spark, Jetson Thor and the GB300 Station run Arm CPUs; every image, from the engine to the log shipper, must be built for arm64 as well as amd64.
  • Evaluations don’t transfer. A box running NVFP4 or a 4-bit GGUF answers differently from a cluster running FP8 or MXFP4. Evaluate on the format production serves.
  • Consumer GPUs and the driver licence. NVIDIA’s GeForce driver licence states that the software “is not licensed for datacenter deployment”, with an exception for blockchain processing, and doesn’t define the term.16 Read conservatively, it confines consumer cards to desks and labs. They also lack datacentre management, and 32 GB holds a 27B model only when quantised.
  • Sustained thermals. Desk and edge boxes are built for bursts; a satellite serving a site all day needs its clocks watched like a server’s.

Renting instead: developer seats rent poorly. Edge sites can’t rent at all, which is why the tier exists.

One server on air

The first shared tier serves a few teams from one server in an existing hall. Two builds fit:

  • Eight RTX PRO 6000 Server Edition cards. 96 GB of GDDR7 each at up to 600 W, about 9 kW a server on air, $16,000 a card at list.17 No NVLink: tensor parallelism over PCIe works across two to four cards at a cost in throughput, so the build suits models that fit one or a few cards, replicated. Each card splits into up to four isolated MIG instances.5
  • One HGX B200. Eight GPUs on NVLink at up to 14.3 kW, about $450,000.18 It serves larger models at agent speed, and it already exceeds most legacy racks, which run 5–10 kW.12

One server on air: teams call the gateway, which routes to vLLM replicas on the server's GPUs (whole cards for large models, MIG slices for small ones and embeddings) or to frontier APIs; a small Kubernetes cluster with the GPU Operator, a registry holding images and model artifacts, and Prometheus with the DCGM exporter.

Stack.

  • Orchestration, if any. A small distribution (k3s, RKE2, Talos) with NVIDIA’s GPU Operator, which installs the driver, container toolkit, device plugin, DCGM exporter and MIG manager as one lifecycle.19
  • Engines: vLLM or SGLang; vLLM loads many LoRA adapters onto one base model and switches per request.20
  • Front door: LiteLLM or Envoy AI Gateway.1
  • Registry and model store: Harbor or any OCI registry; weights cached on local NVMe.
  • Metrics: Prometheus with the DCGM exporter.21

The case against Kubernetes here. One server, two engineers and three models can run as vLLM processes under systemd behind LiteLLM, with less to learn and less to patch. Kubernetes starts to pay when two teams share GPUs and need quotas, when models are deployed weekly, or when the estate will grow into a pod and the same manifests should carry over. (We operate self-hosted data infrastructure for customers, so we have a stake in this answer.)

What bounds it. One server can’t roll an update without an outage, since there is no N+1. PCIe caps how far a model can split, 96 GB a card caps what fits without splitting, and 9–14 kW caps where the server can live.

What breaks.

  • Benchmarks at batch speeds. One RTX PRO 6000 served gpt-oss-120b at 1,169 output tokens a second across 128 streams with 8,000-token prompts, about 9 tokens a second per stream.22 Ask what per-user speed a throughput figure was measured at.
  • Splitting can lose. Tensor parallelism across PCIe cards can serve fewer tokens than one card holding a quantised model. Measure before splitting.
  • MIG is static. Re-slicing a card drains it, so plan slice sizes per model before the first deployment.
  • Two people are a business-hours service. Say so in the service level, and route night traffic to an API.

Renting instead: an RTX PRO 6000 rents for about $2 to $3 an hour,23 which makes renting the default here until utilisation is steady.

A datacentre pod

The pod carries the company’s bulk traffic and its fine-tuning: two to eight HGX servers, 16 to 64 GPUs, on a dedicated fabric. Here the Kubernetes platform stops being optional, because teams share GPUs, models span servers and the network needs configuring by hand.

A datacentre pod: HGX servers whose GPUs connect rail by rail to leaf switches under a spine for the east–west fabric, a separate north–south network for the gateway, control plane and storage, and Kubernetes components on top: Kueue, DRA, the Network Operator, LeaderWorkerSet, the Inference Extension with llm-d, and Kubeflow Trainer.

Devices.

  • Requests by attribute. Dynamic Resource Allocation, GA since Kubernetes 1.34, replaces “give me two GPUs” with a ResourceClaim against a DeviceClass, filtered by CEL expressions on device attributes: memory, model, NVLink domain, or a NIC on the same PCIe root as the GPU, through a matchAttribute constraint across the claim’s requests.24 That last one matters for GPUDirect RDMA, and needs DRA drivers for both the GPU and the NIC; those drivers are younger than DRA itself.
  • One bill of materials. Driver, CUDA, NCCL, the engine and its kernels must match across every node that joins a job. Pin them per cluster and upgrade the set as a unit.
  • Burn-in before a node joins: DCGM diagnostics at the longest level and nccl-tests all-reduce bandwidth against the fabric’s expected figure,2125 then automatic cordoning when health checks or XID errors flag a GPU. Budget for failed parts in the first weeks.

Network. Two networks with nothing in common. East–west carries collectives: InfiniBand, or RoCEv2 made lossless with priority flow control and ECN, rail-optimised so that GPU n of every server shares a leaf switch, with GPUDirect RDMA moving data between GPU memory and the NIC. North–south carries everything else through the CNI (Cilium, Calico). Getting a pod onto the fast network takes deliberate configuration:

  • Attach the NICs. The NVIDIA Network Operator installs RDMA drivers and device plugins;26 Multus attaches the RDMA NICs as secondary interfaces.27
  • Grant what RDMA needs. The IPC_LOCK capability to pin memory, and a memory-backed volume at /dev/shm, since the container default is too small.28
  • Point NCCL at the right interfaces with NCCL_IB_HCA and NCCL_SOCKET_IFNAME, and read its logs: NET/IB/GDRDMA means RDMA with GPUDirect; NET/Socket means it fell back to TCP without failing.28

Storage. Every replica reads its weights at start-up: package them as OCI artifacts or keep them in an object store, stream them into GPU memory as they arrive,29 and cache them on node-local NVMe. Checkpoints arrive in bursts that saturate storage; Llama 3’s sustained 2 TB/s and peaked at 7 TB/s.8 Use a parallel filesystem (Lustre, BeeGFS) or an object store (Ceph through Rook) behind asynchronous distributed checkpointing, which writes from GPU memory while training continues.30

Scheduling and tenancy. The default scheduler places pods one at a time, knows nothing of racks, and will happily start half a job.

  • Kueue decides when a workload may start and with what:31 a ClusterQueue per team with a quota per ResourceFlavor, one flavour per accelerator type; cohorts that lend idle quota and reclaim it by preemption; all-or-nothing admission, so two half-started jobs can’t deadlock the cluster.
  • Priority tiers: production inference above fine-tuning above batch and evaluation. Inference keeps its floor; everything else borrows.
  • Filling the night. An internal service follows the working day. Batch extraction, evaluation runs, embedding refreshes and LoRA training run as preemptible work in the troughs, and they are what lifts utilisation.
  • Chargeback. Meter GPU-hours and tokens per queue, so the bill each team gets at the front door matches the GPUs it used.

Inference. The engine decides how a model splits: data parallel (a whole copy per GPU or server, the default whenever it fits), tensor parallel (each layer split, an all-reduce per layer, inside a server), pipeline parallel (layers cut into stages across servers), expert parallel (a mixture-of-experts model’s experts spread across GPUs).28 Above the engine:

  • Multi-host replicas. LeaderWorkerSet creates, places and restarts a replica that spans servers as one unit.32 Lose one pod of a 16-GPU replica and the whole group restarts, so rolling updates need spare capacity in replica-sized units.
  • Route on the cache. Round-robin scatters a conversation’s turns across replicas, and each recomputes the prefix. The Gateway API Inference Extension adds an InferencePool and an endpoint picker that routes on prefix-cache hits, queue depth and loaded LoRA adapters.33 llm-d packages it with KV-cache tiering.34
  • Scale on queue depth. GPU utilisation is a poor signal: a GPU can report itself fully busy while latency targets break. Scale on queue depth, KV-cache use or the targets themselves. A replica isn’t ready until its weights reach GPU memory, so cold starts are measured in gigabytes.

Training and fine-tuning. Kubeflow Trainer v2 expresses a run as a TrainJob over JobSet, for PyTorch, DeepSpeed, Megatron-LM and JAX.35 JobSet recreates the whole group on failure.36 Without elastic training a replacement pod can’t rejoin a collective that has moved on, so recovery is the whole job from its last checkpoint; elastic launchers such as torchrun restart every worker in place, still from the checkpoint.37 LoRA and QLoRA jobs are small (a frozen, quantised base plus adapters fits a 65B model in under 48 GB)38 and run as preemptible batch.

Maturity. DRA is GA in Kubernetes; its NIC drivers are newer. Kueue, LeaderWorkerSet and JobSet are Kubernetes SIG projects in production use. Kubeflow Trainer v2 still calls itself alpha.35 llm-d reached 1.0 in October 2026.34 Inference engines ship security fixes in batches (vLLM published 33 security advisories in October 2026, ten rated high),39 so container updates have to move weekly without breaking the pinned set. A team that would rather buy than assemble can take the same layers from a vendor: NVIDIA’s Dynamo and KAI Scheduler are open source,4041 and supported distributions bundle the rest.

What bounds it. The eight-GPU NVLink domain: a model or expert layout that needs more than eight GPUs at full speed crosses the ninefold drop. Rack power: two 14 kW servers fill a 30 kW rack. The fabric: rail-optimised leaf-spine designs scale far, but each step adds switches, optics and a subnet manager to run.

What breaks.

  • NCCL falls back silently. A missing capability or the wrong interface name turns RDMA into TCP with no error. Check the log line on every new image.
  • Cabling decides the rails. A GPU cabled to the wrong leaf works, slowly. nccl-tests on delivery catches it.
  • Mixed generations under one quota. H100 and B200 nodes need separate flavours, or a job lands on the slow ones and stalls its collectives.
  • Checkpoint storage sized for the average. Size for the burst, or training stalls every interval.
  • Two networks, one overlay. An estate that spans owned racks and rented capacity needs an overlay between sites (WireGuard, Cilium Cluster Mesh) for control traffic, model pulls and API calls.42 A collective never crosses it; each job lives inside one fabric.

Renting instead: some providers publish their fabric’s shape. Nebius exposes InfiniBand topology as node labels for Kueue and Volcano;43 CoreWeave ships Kueue with named topologies;44 Lambda sells managed Kubernetes on InfiniBand-linked clusters.45 Check that a rented “cluster” is one fabric, and prove RDMA is in use before the first job. Everything above the network layer is yours either way.

A rack-scale grid

A GB300 NVL72 rack joins 72 GPUs in one NVLink domain and draws 132–140 kW, which means direct liquid cooling and an electrical feed provisioned with headroom above that draw.46 At a third of measured throughput, eight such racks would make roughly ten trillion tokens a month, more than almost any enterprise’s internal demand. The grid is what a group-wide service, a regulated sector’s shared utility or a research estate builds, and what most enterprises rent for the weeks they need it.

A rack-scale grid: NVL72 racks, each one 72-GPU NVLink domain and one failure domain with its own coolant distribution, joined by a scale-out InfiniBand or RoCE fabric; a topology-aware scheduler places each job's tensor and expert parallel groups inside a rack and its data-parallel replicas across racks; checkpoint storage and the gateway sit on separate networks.

Stack. Everything in the pod, plus:

  • Topology-aware placement. Kueue’s topology-aware scheduling places a job’s pods within a block or rack from topology labels;31 KAI Scheduler adds hierarchical queues and gang scheduling;41 Volcano covers similar ground; Slinky runs Slurm on Kubernetes for teams that think in sbatch.47
  • Disaggregated serving. Prefill is bound by compute, decode by memory bandwidth; serving them on separate pools, with the KV cache shipped between them over RDMA through NIXL, raised requests served within latency targets 7.4-fold in DistServe.2 llm-d and NVIDIA Dynamo package it on Kubernetes, and Grove places the roles as one unit.344048
  • Fabric management: OpenSM or UFM for InfiniBand, or switch QoS for RoCE, with the topology map the scheduler reads.
  • Checkpoint storage at training scale: Lustre or DAOS, sized for terabytes a second.
  • Multi-arch everything. Grace hosts are Arm.

What bounds it. Facility megawatts and coolant, and failure. Over 54 days of Llama 3 405B pre-training on 16,384 H100s, Meta logged 419 unexpected interruptions, about one every three hours; 78% were confirmed or suspected hardware, led by GPUs (30.1%) and HBM3 (17.2%).8 That’s one per 50,000 GPU-hours or so.

The checkpoint interval has a classic answer, Young’s formula, later refined by Daly. With \(\delta\) the time to write a checkpoint and \(M\) the mean time between interruptions,4950

\[\tau \approx \sqrt{2 \delta M}\]

and the fraction of the run lost is roughly \(\delta/\tau + \tau/(2M)\). At the 16,384-GPU job’s \(M = 185\) minutes, a five-minute checkpoint gives \(\tau \approx 43\) minutes and loses about 23% of the run; a 30-second one gives about 14 minutes and loses about 7%. If failures scale with GPU count, a 576-GPU grid meets an interruption every three or four days, and a five-minute checkpoint every four hours loses about 4%. A 64-GPU pod meets one every 790 hours or so and loses about 1.5%.

What breaks.

  • The rack is the failure domain. A failed tray, a leak alarm or a coolant pump takes 72 GPUs out of a job’s NVLink domain. Keep spare capacity in rack-sized units, or size jobs to fit what’s left.
  • Placement decides speed. Tensor and expert parallel groups that straddle two racks cross the scale-out fabric. Topology labels must be correct and the scheduler must use them.
  • Power swings. A synchronous job stalling and resuming moves a datacentre’s draw by tens of megawatts at frontier scale,8 and proportionally at yours. Tell the facility before the first large job.
  • Silent data corruption. It surfaces as a loss spike, or a worse model weeks later. Production fleets carry hundreds of defective CPUs across hundreds of thousands of machines,51 and Llama 3 saw six such events on GPUs in 54 days.8 Periodic diagnostics and checksum comparisons across replicas catch some of it.
  • Stragglers. One hot node slows every step; Llama 3’s throughput swung 1–2% with the time of day as heat changed GPU clocks.8

Owning or renting, layer by layer

Layer Appears at Owning: you plan and build Renting: the provider gives Renting: you still own
Gateway and catalogue Every tier Gateway, quotas, routing, traces Nothing All of it
Devices Single server Firmware, drivers, burn-in, spares Drivers, images, replacement Burn-in on delivery, the bill of materials
Inference Single server Engines, routing, adapters, scaling GPUs, sometimes an endpoint Engines, routing, adapters, scaling
Scheduling Pod Kueue or KAI, quotas, priorities, chargeback Sometimes a Kueue chart Queues, quotas, priorities, chargeback
Network Pod Fabric, switches, subnet manager, topology map Fabric, topology labels RDMA in pods, NCCL settings, the overlay to your sites
Storage Pod Checkpoint bandwidth, weight caches Storage tiers Egress cost, model store, data retention
Training Pod Trainer, checkpoints, failure handling Health remediation Trainer, checkpoints, restarts
Facility Grid Liquid cooling, power, rack density, power swings All of it Nothing

Our assessment from the providers’ documentation, November 2026.

Renting removes the bottom of the stack and leaves the top. The layers that make the service useful (the gateway, queues, routing, adapters) are the same at every tier and under every supplier, which is why they’re the part to build first.

What runs on it?

Mid-tier open models have reached the point where one GPU serves a useful one:

  • gpt-oss-120b: 117B parameters, about 5.1B active per token, MXFP4 weights, Apache 2.0; fits one 80 GB GPU.3
  • 27B–32B dense models (the Qwen and Gemma lines): one 48–96 GB GPU, or a 32 GB one when quantised.52
  • Mid-sized mixture-of-experts models such as Mistral Small 4 (about 119B total, 6.5B active):52 the memory of a large model, the per-token cost of a small one.

The model mix shifts the tiers. Mixture-of-experts models favour bandwidth-rich HBM; small dense models replicated on GDDR cards favour the single server. Models turn over every few months and hardware is bought for three years or more, so choose tiers by memory and bandwidth, which outlast any one model.

Fine-tuning changes how a model behaves; retrieval changes what it knows. For an agent’s predictable steps, fine-tune or distil for behaviour (tool-call formats, step policies, routing, extraction schemas): LoRA adapters train well under 1% of the parameters and come close to full fine-tuning,53 and fine-tuned small models have matched or beaten GPT-4 on many narrow tasks.54 Retrieve for knowledge, always for knowledge that changes weekly. Usually do both. Distil when the task is stable, runs at six figures of calls a month and can be scored against an evaluation set; until then, keep retrieval on a general model and collect the traces.

The teacher matters legally. OpenAI, Anthropic and Google all bar using their outputs to train competing models; Anthropic’s commercial terms forbid using the services “to build a competing product or service, including to train competing AI models”.55 Whether a narrow internal model “competes” is unsettled. The low-risk route is a permissively licensed open teacher distilled into a smaller student, with frontier models used for evaluation where their terms allow.

Why own any of it?

Owning used to be justified by cheaper tokens. At November 2026 list prices, blended at 8,000 tokens in to 1,000 out:5657

  • Claude Sonnet 5.5 ($2/$10): about $2.89 per million tokens
  • Claude Haiku 5.5 ($0.10/$0.50 for prompts up to 100,000 tokens): about $0.14
  • gpt-oss-120b from an open-model host ($0.15/$0.60): about $0.20

Cache reads cut lab prices further, and the batch interface halves them.56 Against that, here is the owned cost per million tokens made. It assumes a third of measured throughput (real traffic is burstier than a single-turn benchmark), three-year amortisation with a 30% facility uplift, power at $0.10/kWh and staff at $130,000 a fully loaded engineer-year:

  • One server on air (8× RTX PRO 6000, two engineers): about $0.38, at a per-user speed suited to batch
  • Datacentre pod (64 B200, four engineers): about $0.07 at chat speed, $0.13 at agent speed58
  • Rack-scale grid (576 GB300, twelve engineers, $4 million a rack): about $0.14 at a faster per-user speed59

Owned cost per realised million tokens by tier against current API prices: one server on air at $0.38, a datacentre pod at $0.07 at chat speed and $0.13 at agent speed, a rack-scale grid at $0.14; Claude Haiku 5.5 at $0.14 and an open-model host at $0.20, with Claude Sonnet 5.5 at $2.89 off the scale.

Our arithmetic: a third of InferenceX or StorageReview throughput on gpt-oss-120b, 8k in and 1k out; November 2026 list prices.

An owned pod makes tokens at roughly half the price of the cheapest lab model at chat speed (about 40% once Haiku 5.5’s tokenizer, which counts the same text as about 30% more tokens, is allowed for), and about level with it at agent speed; the small server costs more than any API. Three assumptions move the figures, all ours. Staff dominate the small tiers (77% of the single server’s cost), and an existing platform team may carry them at a lower marginal cost. Realised efficiency scales every number. Over 45 months instead of 36, the hardware share falls by about a sixth. Against renting GPUs rather than tokens, an owned B200 beats on-demand rent above about 55% sustained utilisation over three years.

Prices will keep falling. The price of a fixed capability has fallen between 9-fold and 900-fold a year depending on the capability, fastest since 2024,60 and algorithmic efficiency alone has improved about threefold a year,61 which an owner captures by swapping weights on the same GPUs.

What owning buys that cost doesn’t capture:

  • Adaptation. A catalogue of adapters over open bases, trained on the service’s own traces, under your evaluation.
  • Data and residency. Prompts and traces that never leave the estate, under rules you set.
  • Model choice and stability. Weights that don’t change or retire on a vendor’s schedule.
  • Latency. The bulk served next to the systems that call it.
  • Supply. In 2023 rented H100s were scarce and dear; through 2024 and 2025 they got cheaper as supply caught up.62 In 2026 the direction turned: the median on-demand price of an AMD MI325X rose about 44% between July 2025 and mid-2026.63 Most of 2026’s memory production was committed before the year began, and buyers in India report waits of three to six months for GPUs.64 The closure of the Strait of Hormuz cut LNG and helium to Asian fabs.65 Installed capacity can’t be withdrawn by a provider or a price rise, though it doesn’t protect the next purchase.

This design assumes 80% of an estate’s GPU-hours on inference and 20% on fine-tuning, distillation and evaluation, running in the troughs of the serving day. Estimates bracket it without settling it: inference at about two-thirds of AI compute across the market in 2026,66 while enterprises surveyed in early 2026 put about 40% of their AI compute into domain training and fine-tuning and about 35% into inference.67 The split moves toward inference as volume grows; 80:20 is a design point for a pod.

When to rent, and when to climb a tier?

Rent:

  • Below steady volume. Measure it first: put the gateway in front of today’s API traffic and count mid-tier tokens by task for a month.
  • For spiky demand that preemptible batch can’t smooth.
  • Without a team that can hold the service level the users need.
  • On a horizon under two years, or when unsure which accelerator generation to bet on.
  • For work that needs the frontier model, judged on your own evaluation set.
  • For a grid’s worth of GPUs, unless you are the group-wide service.

Climb a tier when the current one hits its bound: a second team or a service level (appliance to server), N+1 or agent-speed latency (server to pod), a model or expert layout past eight GPUs or a rack’s power (pod to grid).

Build the gateway first, then the smallest tier that carries steady traffic, and rent above it. The service and the Kubernetes platform under it are the parts to build once. The supply beneath them can follow prices, and the teams using the endpoint won’t notice it change.

  1. Envoy AI Gateway; LiteLLM. https://aigateway.envoyproxy.io/; https://github.com/BerriAI/litellm ↩ ↩2

  2. Yinmin Zhong et al., “DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model Serving,” OSDI 2024; arXiv:2401.09670. https://arxiv.org/abs/2401.09670 ↩ ↩2

  3. OpenAI, gpt-oss-120b model card (116.8B total parameters, about 5.13B active per token; MoE weights in MXFP4 at 4.25 bits; Apache 2.0). https://huggingface.co/openai/gpt-oss-120b ↩ ↩2

  4. NVIDIA, DGX Spark specifications (128 GB unified memory at 273 GB/s). https://www.nvidia.com/en-us/products/workstations/dgx-spark/ ↩ ↩2

  5. NVIDIA, RTX PRO 6000 Blackwell Server Edition datasheet, April 2025 (96 GB GDDR7, 1,597 GB/s, up to 600 W, MIG up to four instances). https://www.akamai.com/site/en/documents/corporate/nvidia-rtx-pro-6000-blackwell-server-edition-datasheet.pdf ↩ ↩2 ↩3

  6. NVIDIA, DGX B200 specifications (eight B200 GPUs, 64 TB/s of HBM3e bandwidth in total). https://www.nvidia.com/en-us/data-center/dgx-b200/ ↩ ↩2

  7. NVIDIA, H100 Tensor Core GPU specifications (H100 SXM: 3.35 TB/s memory bandwidth, 900 GB/s NVLink). https://www.nvidia.com/en-us/data-center/h100/ ↩ ↩2 ↩3

  8. Aaron Grattafiori et al., “The Llama 3 Herd of Models,” arXiv:2407.21783: §3.3.1 infrastructure and storage, §3.3.2 parallelism, §3.3.4 reliability, Table 3 architecture, Table 5 interruption causes. https://arxiv.org/abs/2407.21783 ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9

  9. Samyam Rajbhandari et al., “ZeRO: Memory Optimizations Toward Training Trillion Parameter Models,” arXiv:1910.02054 (§3.1). https://arxiv.org/abs/1910.02054 ↩

  10. Deepak Narayanan et al., “Efficient Large-Scale Language Model Training on GPU Clusters Using Megatron-LM,” SC 2021; arXiv:2104.04473. https://arxiv.org/abs/2104.04473 ↩

  11. Sam McCandlish et al., “An Empirical Model of Large-Batch Training,” arXiv:1812.06162, 2018. https://arxiv.org/abs/1812.06162 ↩

  12. Rack densities, rear-door heat exchanger range and retrofit limits. https://blog.se.com/datacenter/2026/07/30/planning-liquid-cooling-for-new-ai-data-centre-builds-in-india/; https://www.sifytechnologies.com/blog/designing-a-future-ready-colocation-data-center-why-power-and-cooling-must-scale-in-tandem/ ↩ ↩2

  13. Betsy Beyer et al., Site Reliability Engineering, chapter 11, “Being On-Call” (eight engineers for a single-site team, six per site for two sites). https://sre.google/sre-book/being-on-call/ ↩

  14. DGX Station GB300 availability and OEM pricing, 2026. https://www.tomshardware.com/desktops/nvidias-gb300-powered-dgx-station-desktop-tower-listed-for-nearly-usd100-000-online-enterprise-ai-powerhouse-now-available-to-buy-for-mere-mortals-with-lots-of-cash; https://www.nvidia.com/en-us/products/workstations/dgx-station/ ↩

  15. Jetson AGX Thor developer kit at $3,499; 128 GB at 273 GB/s, 40–130 W. https://www.hackster.io/news/nvidia-tells-resellers-to-open-jetson-agx-thor-developer-kit-orders-at-3-499-06e8cbf52441; https://nvidia.com/en-us/autonomous-machines/embedded-systems/jetson-thor/ ↩

  16. NVIDIA, License for Customer Use of NVIDIA GeForce Software, “No Datacenter Deployment.” https://www.nvidia.com/en-us/drivers/geforce-license ↩

  17. RTX PRO 6000 Blackwell Server Edition: $16,000 on NVIDIA’s US marketplace; eight-GPU servers at 8.3–9.1 kW on air. https://enzu.com/nvidia-rtx-pro-6000.php ↩

  18. HGX B200 server pricing and power (DGX B200 at 14.3 kW maximum). https://enzu.com/nvidia-b200.php ↩

  19. NVIDIA GPU Operator 26.7 documentation. https://docs.nvidia.com/datacenter/cloud-native/gpu-operator/26.7/platform-support.html ↩

  20. vLLM documentation, LoRA adapters. https://docs.vllm.ai/en/latest/features/lora.html ↩

  21. NVIDIA Data Center GPU Manager (diagnostics, health checks, exporter). https://github.com/NVIDIA/DCGM ↩ ↩2

  22. StorageReview, “AMD Instinct MI350P first look,” 3 November 2026 (RTX PRO 6000 Blackwell Server Edition at 600 W in a Dell PowerEdge XE7740, NVIDIA vLLM container 26.08, gpt-oss-120b MXFP4 on one card; output tokens per second). https://www.storagereview.com/review/amd-instinct-mi350p-first-look ↩

  23. RTX PRO 6000 Blackwell rental medians, November 2026 ($2.20 across 17 providers; $3.03 across nine). https://flopper.io/pricing/nvidia-rtx-pro-6000-blackwell; https://www.thundercompute.com/blog/nvidia-rtx-pro-6000-pricing ↩

  24. Kubernetes blog, “Kubernetes v1.34: DRA has graduated to GA,” 1 September 2025. https://kubernetes.io/blog/2025/09/01/kubernetes-v1-34-dra-updates/ ↩

  25. NVIDIA nccl-tests. https://github.com/NVIDIA/nccl-tests ↩

  26. NVIDIA Network Operator. https://github.com/Mellanox/network-operator ↩

  27. Multus CNI. https://github.com/k8snetworkplumbingwg/multus-cni ↩

  28. vLLM documentation, “Parallelism and Scaling.” https://docs.vllm.ai/en/latest/serving/parallelism_scaling.html ↩ ↩2 ↩3

  29. Run:ai Model Streamer. https://github.com/run-ai/runai-model-streamer ↩

  30. PyTorch, Distributed Checkpoint. https://pytorch.org/docs/stable/distributed.checkpoint.html ↩

  31. Kueue documentation, “Topology Aware Scheduling,” and concepts (ClusterQueue, ResourceFlavor, cohorts, preemption). https://kueue.sigs.k8s.io/docs/concepts/topology_aware_scheduling/ ↩ ↩2

  32. Kubernetes SIGs, LeaderWorkerSet. https://github.com/kubernetes-sigs/lws ↩

  33. Kubernetes SIGs, Gateway API Inference Extension. https://gateway-api-inference-extension.sigs.k8s.io/ ↩

  34. llm-d, GitHub repository (v1.0, October 2026). https://github.com/llm-d/llm-d ↩ ↩2 ↩3

  35. Kubeflow Trainer, GitHub repository (v2.4.0, November 2026; status alpha). https://github.com/kubeflow/trainer ↩ ↩2

  36. Kubernetes SIGs, JobSet. https://github.com/kubernetes-sigs/jobset ↩

  37. PyTorch, torchrun (Elastic Launch). https://pytorch.org/docs/stable/elastic/run.html ↩

  38. Tim Dettmers et al., “QLoRA: Efficient Finetuning of Quantized LLMs,” NeurIPS 2023; arXiv:2305.14314. https://arxiv.org/abs/2305.14314 ↩

  39. vLLM, GitHub security advisories, October 2026. https://github.com/vllm-project/vllm/security/advisories ↩

  40. NVIDIA Dynamo, GitHub repository. https://github.com/ai-dynamo/dynamo ↩ ↩2

  41. NVIDIA, KAI Scheduler. https://github.com/NVIDIA/KAI-Scheduler ↩ ↩2

  42. Cilium documentation, Cluster Mesh. https://docs.cilium.io/en/stable/network/clustermesh/ ↩

  43. Nebius, “Topology-aware scheduling for GPU workloads in Managed Service for Kubernetes.” https://docs.nebius.com/kubernetes/gpu/topology-aware-scheduling ↩

  44. CoreWeave, Kueue on CKS. https://docs.coreweave.com/products/cks/clusters/coreweave-charts/kueue ↩

  45. Lambda, Managed Kubernetes for 1-Click Clusters. https://lambda.ai/kubernetes ↩

  46. GB300 NVL72 rack power (132–140 kW) and facility provisioning; rack cooling content. https://buy.hpe.com/be/en/compute/rack-scale-system/nvidia-nvl-system/p/1014890105; https://www.gigabyte.com/Enterprise/GIGAPOD-Pod-Scale/AI-DLC-POD_NVIDIA-GB300-NVL72; https://www.tomshardware.com/pc-components/cooling/cooling-system-for-a-single-nvidia-blackwell-ultra-nvl72-rack-costs-a-staggering-usd50-000-set-to-increase-to-usd56-000-with-next-generation-nvl144-racks ↩

  47. SchedMD, Slinky slurm-operator. https://slinky.schedmd.com/projects/slurm-operator ↩

  48. NVIDIA Dynamo documentation, “Grove.” https://docs.nvidia.com/dynamo/knowledge-base/kubernetes/multinode/grove.md ↩

  49. John W. Young, “A first order approximation to the optimum checkpoint interval,” Communications of the ACM 17(9), 1974. https://doi.org/10.1145/361147.361115 ↩

  50. J. T. Daly, “A higher order estimate of the optimum checkpoint interval for restart dumps,” Future Generation Computer Systems 22(3), 2006. https://laro.lanl.gov/esploro/outputs/journalArticle/A-higher-order-estimate-of-the/9916364420003761 ↩

  51. Harish Dattatraya Dixit et al., “Silent Data Corruptions at Scale,” arXiv:2102.11245. https://arxiv.org/abs/2102.11245 ↩

  52. Model sizes and licences as listed on each model’s card; Mistral Small 4 at about 119B total and 6.5B active parameters. https://huggingface.co/blog/daya-shankar/open-source-llm-models-to-run-locally ↩ ↩2

  53. Edward J. Hu et al., “LoRA: Low-Rank Adaptation of Large Language Models,” arXiv:2106.09685, 2021. https://arxiv.org/abs/2106.09685 ↩

  54. Justin Zhao et al., “LoRA Land: 310 Fine-tuned LLMs that Rival GPT-4,” arXiv:2405.00732, 2024. https://arxiv.org/abs/2405.00732 ↩

  55. Anthropic, Commercial Terms of Service, section D.4. https://www.anthropic.com/legal/commercial-terms ↩

  56. Anthropic, pricing, November 2026: Claude Sonnet 5.5 $2/$10; Claude Haiku 5.5 $0.10/$0.50 per million input/output tokens for prompts up to 100,000 tokens ($0.50/$2.50 above); cache reads a fraction of input; Batch API 50% off. Haiku 5.5’s tokenizer counts the same text as about 30% more tokens than Haiku 4.5’s. https://platform.claude.com/docs/en/about-claude/pricing ↩ ↩2

  57. Artificial Analysis, gpt-oss-120b providers (Together AI, Fireworks, Groq at $0.15/$0.60). https://artificialanalysis.ai/models/gpt-oss-120b/providers ↩

  58. SemiAnalysis InferenceX, gpt-oss-120b, single-turn chat (8k input, 1k output), B200: about 44,490 tokens/s per GPU at 50 tokens/s per user, 25,060 at 142. https://inferencex.semianalysis.com/rankings/fastest-gpu-for-gptoss-120b; https://inferencex.semianalysis.com/compare/gptoss-120b-b200-vs-h100 ↩

  59. SemiAnalysis InferenceX, gpt-oss-120b, B200 against GB200 NVL72 (19,526 tokens/s per GB200 at about 243 tokens/s per user; used here as a proxy for GB300). https://inferencex.semianalysis.com/compare/gptoss-120b-b200-vs-gb200 ↩

  60. Epoch AI, “LLM inference prices have fallen rapidly but unequally across tasks,” accessed November 2026. https://epoch.ai/data-insights/llm-inference-price-trends ↩

  61. Hans Gundlach et al., “The Price of Progress: Algorithmic Efficiency and the Falling Cost of AI Inference,” arXiv:2511.23455. https://arxiv.org/abs/2511.23455 ↩

  62. H100 rental price history, 2023 to 2026. https://coloprice.com/guides/h100-rental-prices/ ↩

  63. AMD MI325X on-demand rental medians, about $2.25 an hour in July 2025 and $3.24 in mid-2026. https://www.spheron.network/blog/amd-mi325x-pricing-2026-availability-and-cost/ ↩

  64. GPU and memory supply for Indian AI builders, October 2026. https://www.cxodigitalpulse.com/indias-ai-builders-face-gpu-memory-and-power-constraints-despite-rising-capital/ ↩

  65. Bloomberg, “How the Strait of Hormuz Blockade Is Disrupting Chip Supply Chains,” 13 May 2026. https://bloomberg.com/news/articles/2026-05-13/how-the-strait-of-hormuz-blockade-is-disrupting-global-chip-supply-chains ↩

  66. Deloitte, “Technology, Media and Telecommunications Predictions 2026: compute power for AI.” https://www.deloitte.com/global/en/insights/industry/technology/technology-media-and-telecom-predictions/2026/compute-power-ai.html ↩

  67. Futurum Group, enterprise AI workload survey, February 2026. https://futurumgroup.com/press-release/ai-workload-priorities-diversify-as-enterprises-push-compute-beyond-training/ ↩

Thanks for reading The Write Ahead Log

Subscribe for free to receive new posts.

Pavan Keshavamurthy — Cofounder at Platformatory. Pavan has handyman experience around systems programming, data, infrastructure and running tech consulting gigs