How I Hit 1700+ Tokens/Sec at the Velric × Foundery Hackathon

A technical breakdown of how our team secured 3rd place in the Agentic AI track — achieving 1700+ tokens/sec throughput across 16 concurrent requests with 11–13ms TTFT via FP8 quantization.

Insights

The Challenge: Agentic AI Under Latency Pressure

The Velric × The Foundery Hackathon Agentic AI track had a clear performance objective: build an agentic system that handles concurrent requests with minimal time-to-first-token (TTFT). Most teams optimized for capability. We optimized for throughput.

Our insight: in agentic systems, perceived responsiveness matters more than raw accuracy. A system that responds in 13ms and is 90% accurate beats one that takes 400ms and is 95% accurate — users abandon slow agents before they see the result.

FP8 Quantization: The Core Optimization

The key to our throughput was FP8 quantization — reducing model weights from 16-bit floats to 8-bit floats with minimal accuracy loss. This doubles the effective memory bandwidth and allows significantly more concurrent requests per GPU.

Combined with continuous batching (processing tokens from multiple requests in a single forward pass), we achieved 1700+ tokens/sec across 16 concurrent requests — roughly 3× the throughput of the baseline FP16 setup.

11–13ms TTFT: How We Got There

Time-to-first-token is dominated by the prefill phase — processing the input prompt through all transformer layers before generating the first output token. We reduced TTFT by: (1) aggressive prompt compression to minimize input length, (2) speculative decoding with a smaller draft model for common token sequences, and (3) keeping the model warm in GPU memory between requests using a persistent inference server rather than cold-loading per request.

Lessons for Production Agentic Systems

The hackathon taught me that throughput optimization is as important as model quality for agentic AI. The techniques we used — FP8 quantization, continuous batching, prompt compression, speculative decoding — are all applicable to production systems today. If you're building agentic AI and haven't profiled your inference pipeline, you're almost certainly leaving 2–3× performance on the table.

Like what you see? There’s more.

Get monthly inspiration, blog updates, and creative process notes — handcrafted for fellow creators.