What happened
Much of the gain relies on speculative execution, so only idempotent steps are eligible. If a step already passes its stepId as an idempotency key, Vercel says it needs no changes. For a step that cannot safely be retried, set maxRetries = 0 to opt out of speculation and ensure it runs at most once; the release notes use sending email over SMTP as an example, since a retry could send a second email.
Vercel-maintained Worlds support the new engine. A third-party World needs World spec version 9 support to receive the improvement; without it, new runs remain on the previous engine.
Vercel reports that a median run with 102 seconds of step work finished in 111 seconds, versus 3.0 minutes before. For a 256-step fan-out, reported overhead fell from 13.5 seconds to 2.5 seconds, while function time outside step work dropped from 1,446 seconds to 105 seconds. In a five-turn agent loop streaming tokens through durable streams and calling tools, overhead fell from 3.0 seconds to 0.9 seconds. Resume time after one second idle fell from 425 ms to 184 ms.
What the archive adds
This update extends the code-defined workflow orchestration approach discussed in our earlier coverage.
Why it matters
New runs switch to the new engine after the upgrade, while runs already in progress stay on the version they started with. To keep new runs on the previous engine while upgrading, set WORKFLOW_SPEC_VERSION=8.
Limits and uncertainty
These are Vercel’s benchmark results: its table reports p75 latency and median-run function time after subtracting simulated work. The 5.2.0 step-overhead and resume measurements were taken Nov. 12, 2026; the other table measurements were taken Nov. 24, 2026. Resumptions after more than five seconds idle may have slightly higher overhead, and keeping functions warm longer can improve resume time at the cost of additional compute. Users on 4.x should follow the upgrade guide because version 5 is a major release.
Skill to build now
Upgrade to workflow@5.8.0 or later to enable the new engine; Vercel’s published command is npm install workflow@latest.
Reader takeaway
Workflow SDK 5.8 cuts reported step-to-step overhead from 85 ms to 7 ms, but much of the gain comes from speculative execution. Before upgrading, make retryable steps idempotent or set maxRetries = 0 for steps that must run once, and check that a third-party World supports spec version 9.