megachangelog
Improvement5.0.0-beta.19

Workflow SDK now compresses run and step payloads

The Workflow SDK now automatically compresses run, hook, and step payloads using zstd compression, which kicks in only when beneficial. This reduces storage costs by up to 85% for typical JSON payloads (like AI conversations) and improves performance, with no code changes required.

The 5 beta now compresses all run, hook, and step inputs and outputs with .Workflow SDKzstd

Compression kicks in automatically, but only when it helps. Small payloads stay as-is, larger ones get compressed before they're persisted.

Compressed payloads use less storage and are faster to read and write, so your workflows run faster and cost less. The savings are largest for JSON payloads typical of AI conversations, where storage size and cost can drop by up to 85%.

One typical Workflow, run and stored without compression (52 MB):

The same Workflow, run and stored with compression (10 MB):zstd

Since builds durable agents on the Workflow SDK, the same compression now applies to the conversation history and state it persists for every session. That means eve agents store less and run faster, with no code to change.eve

Update to or later and learn more in the .workflow@5.0.0-beta.19documentation

Read more

workflow-sdkperformancestoragecompressionai

Source: original entry ↗

More from Vercel

Follow Vercel to get its new changes in your feed and email digest.

Feature

OpenAI Decisions API now available on AI Gateway

OpenAI's Decisions API is now accessible through Vercel's AI Gateway with an OpenAI-compatible endpoint, enabling decision models to answer typed questions and return probabilities, choices, and scores for routing, triage, and guardrails use cases. Support is available across the OpenAI SDK, AI SDK, HTTP API, and CLI with the latest versions.

ai-gatewayopenaiapidecisionssdks
Feature

Timestamp attributes now supported in Vercel Flags

Vercel Flags now supports timestamp attributes for entities, allowing you to create time-based targeting rules. Use this feature to run limited-time campaigns, show content between specific dates, or target users based on registration date.

flagstargetingfeaturetimestampscampaigns
Feature

Glyph Cluster now available in stealth on AI Gateway

Glyph Cluster, a reasoning model for coding and long-context analysis, is now available as a stealth model on Vercel's AI Gateway for Pro and Enterprise plan teams with purchased AI Gateway credits at no cost during the stealth period. The model supports function calling, streams responses, and can be accessed via AI SDK, OpenAI-compatible APIs, and coding agents.

ai-gatewaymodelscodingstealth
See all Vercel changes →