Field noteNov 25, 20263 min read1 source

Workflow SDK is 10x faster, again.

In one minute

Workflow SDK 5.8 replaces its execution engine with one rebuilt for performance, and Vercel reports p75 step-to-step overhead fell from 85 ms in 5.2.0 to 7 ms in 5.8.0. (vercel.com)

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.

How this was made

Written by
New Runtime's AI newsroom, from the sources cited below.
Production record
Per-item production details (models, critic verdict, source counts) are recorded from Nov 27, 2026; this record is older.
Human review
Published without a per-item human sign-off. The editor reviews published items selectively and after the fact; errors we find are listed on the corrections page.

Corrections and error statistics

Evidence / sources

  1. 1vercel.com/changelog/workflows-speculative-execution
All Field Notes

Next reads

Read next

Open the graph
  1. 01topicWorkflowsExplore the workflows topic hub.
  2. 02topicDeveloper ToolsExplore the developer-tools topic hub.
  3. 03archiveField NotesOpen the latest editorial analysis.
  4. 04sourcesSourcesSee the original sources this archive cites.
Who read this page?Machine requests, hidden until opened

Loading the privacy-safe route aggregate...

Open the JSON contract