latency

Latency is the difference between an AI app that feels instant and one that makes you wait. This section covers what determines that gap, from the GPU kernel to the caching layer. You will find deep dives on speculative decoding, where draft models speed up tool calls by up to 1.7x, and the hard truth that agents still need a cache to gain. Expect real benchmarks: OpenAI's Pando backend slashes push latency by 80%, while Uber cuts translation cache memory by 90% while keeping misses under 100 microseconds. Cloudflare appears repeatedly, with a smarter TLS handshake that removes over 150 milliseconds and a DNS cache redesign that boosts throughput by 43%. The stories here also examine the quieter costs. Continuous batching in vLLM delivers up to 2.91x faster inference. A linear recurrent model matches transformer accuracy but runs 2.37x faster at long context. And Jev, a non-generative decision model, routes queries in microseconds where a full LLM takes seconds. If your work touches inference, caching, or agent orchestration, this is where the numbers live.

Towards Data Science

Speculative decoding speeds tool calls, but agents still need caching to gain

Speculative decoding can speed up tool calls by up to 1.7x, but here's the catch: agent loops without caching actually ran 6% slower in benchmarks with Qwen3 and Llama on llama.cpp. That makes caching the real bottleneck for practical agent performance. For teams building multi-tool integrations, our related piece on Code Mode shows how deeper architectural choices can slash costs 120x, another reminder that speed gains require holistic thinking, not just clever inference tricks.

Why Enterprise AI Inference Demands More Than Fast Token Generation
InfoQ

Why Enterprise AI Inference Demands More Than Fast Token Generation

Fast token generation alone won't solve enterprise AI inference. Dio Rettori gets into the operational realities: GPU utilization pitfalls, on-prem versus cloud TCO, and why multi-agent latency determinism matters. His key insight? Teams need to embed domain ontology directly into models rather than leaning entirely on RAG. It's a grounded take that prioritizes systems engineering over speed benchmarks. For more on the infrastructure side, OpenAI's Pando Backend shows how concurrent coding-agent workloads are being rethought.

OpenAI's Pando Backend Slashes Push Latency by 80% for Smarter Coding Agents
InfoQ

OpenAI's Pando Backend Slashes Push Latency by 80% for Smarter Coding Agents

OpenAI's new Pando backend cuts push latency by nearly 80% for coding agents, scaling Git without asking developers to abandon familiar workflows. By coordinating branch updates independently and reusing stored packfiles, Pando makes concurrent agent collaboration feel less like a bottleneck. That's the kind of practical latency improvement that matters more than a cache hit rate. For deeper context on what latency actually reveals about AI performance, see our piece on measuring AI prompts beyond the cache.

Towards Data Science

Beyond a 90% Cache Hit Rate: What Latency Reveals About AI Prompts

A 90% cache hit rate sounds impressive until you look at what latency actually reveals. A 2026 preprint found lower 99th-percentile but higher median time to first token, meaning most users wait longer even if the worst cases improve. Request hit rate, token reuse, and latency tell different stories about attention work. For deeper coverage, explore how we treat AI agents as junior teammates to rethink analytics workflows.

Uber Rewrites Translation Cache to Cut Memory 90% While Keeping Latency Under 1ms
InfoQ

Uber Rewrites Translation Cache to Cut Memory 90% While Keeping Latency Under 1ms

A 90% reduction in memory footprint while keeping p99 miss latency under 100 microseconds is the kind of engineering that makes you stop and look twice. Uber redesigned its Go-based translation cache with a hybrid architecture, keys and hot values live in memory, the rest on disk, to slash garbage-collection overhead and initial memory use. For teams wrestling with bloated infrastructure, this is a practical path forward. (If efficiency gains interest you, our piece on Uber's drone partnership with Zipline explores another ambitious scale play.)

Towards Data Science

Monitor AI Agents by Quality and Cost, Not Just Error Rates

38% of AI agents showed signs of failure through quality and token alerts, while only 1% signaled through errors. That data, drawn from over 100 agents, reveals a critical insight: silent drift is the real threat, not crashes. Monitoring must start with quality, cost, and latency. For a deeper look at practical automation, our guide on *Practical Python for automating four real-world image decisions* shows how these principles apply to everyday tasks.

Towards Data Science

Why Simple Keyword Search Still Beats AI Models for Agent Tool Selection

On 200 ToolRet questions with up to 3,794 tools, simple keyword search, BM25 on a CPU, ran roughly 40 times faster than BGE-large and matched an 8B embedding model at picking agent tools. The best setup just used full tool documentation. That speed advantage matters when every millisecond counts in an agent loop. For deeper context on why simpler approaches often outperform, see our coverage of "When Search Context Swells, Retrieval Accuracy Drops 40 Points."

Measure LLM speed and load with these essential inference metrics
KDnuggets

Measure LLM speed and load with these essential inference metrics

Latency, tokens per second, and system load form the core of any honest LLM performance evaluation, and the formulas to measure them are more straightforward than many teams expect. Getting these numbers right matters because one model's speed can look wildly different under real traffic. For a deeper look at how the same fine-tuning recipe produced completely different results across three models, see "Three Models, One Recipe, Three Very Different Performance Stories."

Towards Data Science

How smarter batching in vLLM delivers up to 2.91× faster inference

Two point nine one times faster inference isn't a marketing number, it's a measured result from vLLM's smarter batching. The analysis isolates gains by splitting engine performance from scheduler behavior, tested against five real traffic traces with zero variance control. Static and dynamic batching fall behind. For anyone running an inference server, this is where the tangible speed lives. If you're wrestling with throughput bottlenecks, our piece on navigating peer review for classical ML research offers a different kind of rigor worth exploring.

What Powers a Fast, Stable App Lives Beyond the Screen
InfoQ

What Powers a Fast, Stable App Lives Beyond the Screen

An app's speed and stability are decided before a single pixel loads. Kirill Sokolov pulls back the curtain on the infrastructure layer that determines whether your product survives real-world traffic or crumbles under it. He walks through what this hidden system does, why it exists, and how to design it correctly, then warns what happens when you migrate a live, high-traffic product without a safety net.

Machine Learning

Pushing BiRefNet Performance on Qualcomm Mobile Chips

Getting BiRefNet to run on Qualcomm's mobile GPUs and NPUs is proving to be a real challenge, especially with those deformable convolutions that don't play nicely with mobile hardware. Subhashg547 is aiming for sub-second latency, but compilation to the NPUs keeps failing. It's a reminder that even powerful AI models need thoughtful adaptation for mobile. For a deeper look at efficient AI training, check out our article on scaling with lightweight adapters instead of doubling models.

Machine Learning

Scaling AI training with lightweight adapters instead of doubling models

Training large models with self-distillation usually means doubling up, teacher and student both on GPU, eating memory and slowing everything down. A smarter approach? Share the frozen backbone and swap lightweight LoRA adapters instead. One adapter trains as the student; another tracks its EMA as the teacher. It took some careful engineering to make this work cleanly under TRL and ZeRO-3, but the results speak for themselves. The repo is live, tested on Qwen3.5, and ready to explore.

Spline-based regression outpaces MLPs in fitting 4D Mandelbulb data
Machine Learning

Spline-based regression outpaces MLPs in fitting 4D Mandelbulb data

An independent researcher has spent a year developing K-Splanifolds, a fast K-dim hermite spline manifold algorithm for general-purpose regression. The third version, KS3, now outpaces MLPs in fitting 4D Mandelbulb data via gradient descent, converging faster with nearly identical GPU latency. That's a meaningful result for anyone tired of traditional model trade-offs. KS3 holds its own across noise removal, geometric fitting, and financial prediction, and the code is open for exploration.

What Happens in That Split Second Before AI Responds
Analytics Vidhya

What Happens in That Split Second Before AI Responds

That brief pause before an AI starts typing isn't dead time, it's the first of two distinct jobs your GPU is handling. First comes comprehension: parsing your question into computational intent. Then comes generation: producing each word in sequence, one after another. Understanding that split-second workflow transforms how you build responsive AI applications. For deeper context on how these models work autonomously, explore "Your AI team works through the night so you wake to a finished newsletter."

Machine Learning

Building a GPT-2 KV Cache to Measure Real AI Performance Gains

Building a GPT-2 KV cache in PyTorch as a learning project is exactly the kind of hands-on work that reveals where the math meets reality. The numbers tell a fascinating story. At context length 1,000, the FLOP estimate suggests a 1,000x reduction with caching, yet actual per-token latency only drops about 6x. That gap is worth exploring. The memory measurements are impressively clean, with requested bytes matching the formula to zero after accounting for a constant cuBLAS workspace offset.

Machine Learning

Linear Recurrence Matches Transformer Accuracy at a Fraction of the Cost

When you budget-match a linear recurrent model and a transformer down to 15 million parameters on a long-context retrieval task, something unexpected happens: neither learns much. Accuracy hovers near chance for both. The real story is cost. At 8,192 tokens the linear model runs 2.37× faster, and training time opens a 6-7× gap that only widens with scale. This negative result from Jev's decision-lab is exactly the point, small decision models are accuracy-starved regardless of substrate, so the winning choice becomes efficiency.

Towards Data Science

Seven Decision Models Put to the Test Against a Generative LLM

A head-to-head test of seven open decision models against a generative LLM reveals a clear winner on routing accuracy, latency, and output reliability. The results are both practical and telling. For teams wrestling with model selection, this hands-on Jev repo comparison offers concrete data instead of speculation. We also published "Two Paths to a Smarter Decision Model" if you want to explore how different approaches can match on accuracy while diverging sharply on cost. The future of data decisions starts with honest benchmarks like these.

Machine Learning

Two paths to a smarter decision model: equal accuracy, unequal cost

Two paths to the same decision model, matched within 0.02% on parameters, yet the cost difference is stark. A linear recurrent backbone and a standard attention transformer were built on identical budgets for a long-context retrieval task. At 8K tokens, the linear model runs 2.37× faster. Training? Six epochs took 30 minutes versus 40-45 minutes *per epoch* for the transformer. Neither substrate learned much at 15M parameters, accuracy hovered near chance. The real insight is where cost lives.

Smarter resource use: how batching transforms LLM performance
Analytics Vidhya

Smarter resource use: how batching transforms LLM performance

Four people heading to the same destination in separate taxis make four identical trips. Put them on a single bus, and everyone arrives together using far less fuel. That is the logic behind batching in large language models. Instead of processing one request at a time, the system groups them, sharing memory and compute across the batch. It is a smarter use of resources that makes AI faster and more efficient. For deeper coverage, explore how hierarchical routing cuts memory while preserving long-context accuracy.

Machine Learning

Stop Waiting for Answers Your Local Model Already Knows

Waiting seconds for an answer your local model has already figured out hundreds of times is a familiar frustration. shad0v solves that by sitting in front of any OpenAI-compatible server, logging responses, and after roughly a thousand, compiling a tiny table that answers repeats on CPU in microseconds, only when it agrees with the model 95% of the time. It even learned Snake from an LLM's moves.

Grab Cuts Spreadsheet-Style Data Delays With a Smarter Storage Shift
InfoQ

Grab Cuts Spreadsheet-Style Data Delays With a Smarter Storage Shift

Grab cut spreadsheet-style data delays by rethinking how it stores high-volume Counter Service data. Moving from a wide column database to Aerospike, with storage abstraction, shadow traffic, and gradual migration, slashed production p99 read latency by roughly 50%. Disk usage dropped to 1 TB from 3 TB, and per-node costs fell up to 50%. That is a smarter storage shift worth exploring. For deeper engineering lessons, our piece on building Python AI libraries in production pairs well with this story.

Machine Learning

Faster chunking in Rust without sacrificing accuracy, now open source

Chunking speed usually trades away accuracy, but this open-source Rust library challenges that trade-off. Chunkr delivers throughput measured in gigabytes per second, outperforming LangChain and LlamaIndex by wide margins while supporting strategies like recursive, markdown header, and hierarchical chunking. Its native PDF loader processes pages 15.9x faster than pypdf. For teams wrestling with large document pipelines, this is a practical leap forward. If you're exploring how performance shapes AI tooling, our piece on spec design across 65 open-source projects offers useful context.

Machine Learning

TypeSafe AI's Jev Delivers Focused Utility Without Hallucinations

Jev, TypeSafe AI's new model, promises frontier-class reasoning without hallucinations, and it's built by a co-inventor of ChatGPT. We put that claim to the test, running it live on over 16,000 benchmark requests. What we found is a smaller, humbler model that delivers focused utility at near-zero cost. It serves a specific job nobody else quite fills. For deeper context on where AI logic still struggles, see our piece on Nonograms.

How DoorDash Built a GenAI Platform for 5,000 Users
InfoQ

How DoorDash Built a GenAI Platform for 5,000 Users

DoorDash bet big on open-weights models after starting with vendor-first setups, and that shift is the spine of this story. Swaroop Chitlur and Sidd Kodwani walk through building a GenAI platform for over 5,000 internal users, tackling LLM gateways, agent gateways, and the constant trade-off between accuracy, latency, and cost. For teams wrestling with similar scale, their architectural bets offer a practical blueprint. Read "Small models, smarter labels: confidence scoring without the hype" alongside this for a complementary take on model evaluation.