Lightfoot describes the cost and compute challenges he encountered building agents with hosted and local models. He suggests dedicated GPUs for steady workloads, private data, or compliance needs, and hosted providers for low, bursty traffic or when teams need access to more capable models.
Agents That Own Their Inference
Speakers
Du’an Lightfoot, developer advocate, and Khaja Omer, senior software engineer, at Akamai Technologies explain how to build and tune production AI agents on dedicated GPUs at an AI Engineer workshop.
Omer outlines a Kubernetes workshop environment where each participant gets a GPU, a namespace, and a VLM endpoint. Lightfoot explains how vLLM uses continuous batching and paged attention, and how weights and the KV cache share GPU memory. The speakers track throughput, time to first token, and cache use to understand performance limits.
Lightfoot distinguishes prefill, which processes the prompt, from decode, which generates later tokens, and demonstrates KV and prefix caching. He compares dense models with mixture-of-experts models, where only some experts are active for each token. He also explains that model size, context length, and concurrency determine whether a workload fits in GPU memory.
Omer shows an FP8 quantization test that raises single-request generation from 37.5 to 53.4 tokens per second, while emphasizing that teams should evaluate quality on their own workloads. A speculative decoding test performs worse because the draft model is poorly matched to the main model. He recommends checking compatibility and tuning draft length and acceptance rate.
Omer recommends finding the concurrency point where throughput is near its peak while latency remains acceptable. He suggests adjusting vLLM settings such as GPU memory utilization, maximum sequences, model length, and batch tokens one at a time, then measuring the effect. In one test, raising the sequence limit improved throughput at concurrency 64 from 800 to 1,100 tokens per second and reduced latency from 2,000 to 800 milliseconds.
Takeaways
- Compare GPU costs with hosted inference costs using your real, steady workload.
- Budget GPU memory for both model weights and the KV cache, including concurrent requests.
- Measure time to first token, throughput, and latency together when tuning.
- Validate quantization and speculative decoding against your own tasks before deploying them.
- Increase concurrency settings only when benchmarks show the hardware can handle the added load.
Mentioned in this talk
Search inside this talk
What was claimed 21
- works atDu’an Lightfoot works at
Akamai
Senior Developer Advocate / Sr. AI Engineer“I'm a developer advocate at Akamai”
YouTube Verified2 sources· Talk, Web· archived
- works atKhaja Omer works at
Akamai
Senior Software Engineer“I'm a senior software engineer at Akamai”
YouTube Verified3 sources· Talk, Web· archived
- usesKhaja Omer uses Kubernetes
“We have a Kubernetes cluster with around 200-plus GPU nodes”
YouTube Unverified1 source· Talk
- metricRTX 4000 Ada: 260 GB/s memory bandwidth
“260 GB per second memory bandwidth”
YouTube Unverified1 source· Talk
- metricRTX 4000 Ada: 20 GB VRAM per GPU
“Each GPU has 20 GB of VRAM”
YouTube Unverified1 source· Talk
- usesKhaja Omer uses RTX 4000 Ada
“We're going to be using the RTX 4000 Ada GPUs”
YouTube Unverified1 source· Talk
- uses
“Everything is orchestrated by LKE”
YouTube Unverified1 source· Talk
- usesDu’an Lightfoot uses
vLLM
“For the inference engine, we're going to be using vLLM”
YouTube Unverified1 source· Talk











