News Developer Tools

Vercel’s Workflow SDK 5.8 Cuts Step Latency 12x

Vercel's Workflow SDK 5.8 runs on a rebuilt engine that cuts step-to-step overhead from 85 ms to 7 ms in its own benchmarks.

Vercel's Workflow SDK 5.8 runs on a rebuilt execution engine that cuts step-to-step latency 12x. Vercel says large parallel fan-outs, such as 256 simultaneous steps, use 14x less function time outside the steps' own work. The company says this shortens turn times for durable AI agents, meaning agents whose multi-step work survives interruptions.

Vercel's benchmarks compare version 5.2.0 with 5.8.0. The 75th-percentile overhead between steps fell from 85 ms to 7 ms. A five-turn agent loop that streams tokens and calls tools added 0.9 seconds of overhead instead of 3.0 seconds. Resuming after one second of idle time dropped from 425 ms to 184 ms. Resumptions more than five seconds out may see slightly larger overhead.

Many gains come from speculative execution, where the engine may run a step again to save time. Only idempotent steps qualify, meaning repeating them causes no extra effect. A step that cannot be retried can be marked with maxRetries = 0, so it runs at most once.

New runs use the new engine by default after upgrading, while runs already started stay on their older version. Setting WORKFLOW_SPEC_VERSION=8 keeps new runs on the previous engine. Vercel-maintained Worlds support the new engine, but third-party ones need World spec version 9 first.

Source: Workflow is 10x faster, again – Vercel.