← AI PulseJul 28, 2026

Wire · news · Multi-source brief

Vercel AI SDK Promotes repairText Option to Stable, Adds TogetherAI Usage Reporting

The Vercel AI SDK has promoted the repairText option to stable for generateObject and streamObject functions, while also enabling token usage reporting for TogetherAI streaming responses.

By Illumora Editorial

Source · Jul 28, 2026, 3:01 AM · On Illumora · Jul 28, 2026, 3:13 AM

Media from the primary source — shown here so you can stay on Illumora.

Synthesized from multiple allowlisted primaries on the same event. Lanes →

Brief drafted by Illumora’s editorial model from the linked primary source. Ops desk reviews flagged pieces. How we write →

Read the source →Vercel AI SDK Changelog — Release @ai-sdk/togetherai@3.0.17 · vercel/ai
Save

The Vercel AI SDK has promoted the repairText option to stable within its generateObject and streamObject functions. This update, part of the ai@7.0.39 release, includes a deprecated experimental_repairText alias to maintain backwards compatibility.

Separately, the @ai-sdk/togetherai package now enables includeUsage for TogetherAI, allowing streaming responses to report token usage. This functionality was introduced across multiple patch releases, including @ai-sdk/togetherai@1.0.50 and @ai-sdk/togetherai@2.0.68, both released on July 27.

Key Points

  • The repairText option is now stable for generateObject and streamObject functions in the Vercel AI SDK.
  • A deprecated experimental_repairText alias is available for backwards compatibility.
  • The ai@7.0.39 release includes this promotion of repairText.
  • The @ai-sdk/togetherai package now supports includeUsage for streaming responses.
  • This enables TogetherAI streaming responses to report token usage.
  • The includeUsage feature for TogetherAI was released on July 27 in versions @ai-sdk/togetherai@1.0.50 and @ai-sdk/togetherai@2.0.68.

Context

According to the Vercel AI SDK changelog, the promotion of repairText to stable status is a patch change within the ai@7.0.39 release. This indicates a move to formalize a previously experimental feature. The includeUsage functionality for TogetherAI was also introduced as a patch change across multiple versions of the @ai-sdk/togetherai package.

Why It Matters

Builders using the Vercel AI SDK can now rely on the repairText option as a stable feature, potentially improving the robustness of object generation and streaming. The addition of token usage reporting for TogetherAI streaming responses provides developers with better visibility into resource consumption, which can aid in cost management and performance optimization.

What To Do

  • Review the Vercel AI SDK documentation for generateObject and streamObject to understand the stable repairText option.
  • Update to ai@7.0.39 or later to utilize the stable repairText feature.
  • For TogetherAI users, ensure your @ai-sdk/togetherai package is updated to 1.0.50, 2.0.68, or a later version to access token usage reporting.
  • Test streaming responses with TogetherAI to verify includeUsage functionality and monitor token consumption.

Keep Exploring

/studio?pack=foundation /atlas/claude-family /atlas/gpt-family