---
title: "@ai-sdk/fireworks 3.0.102 Breaking Changes on npm"
description: "What each @ai-sdk/fireworks release removed, renamed or changed: 32 breaking changes in 8 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@ai-sdk/fireworks
last_updated: 2026-12-04
---

# @ai-sdk/fireworks breaking changes

@ai-sdk/fireworks 3.0.102 (December 1, 2026) is its newest release with breaking changes. The first: Signature changed FireworksImageModel.maxImagesPerCall. Every breaking API change we have recorded in @ai-sdk/fireworks on npm: 32 breaking changes in 8 versions. Below, its 8 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `3.0.104`, released December 4, 2026. [Source repository](https://github.com/vercel/ai)

Its 3.0.0 release requires [Node.js 22](https://since.dev/calendar/nodejs/22.md) or later. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [2.0.0](#v-2-0-0) to [3.0.102](#v-3-0-102): 20 breaking changes in 6 versions.

## @ai-sdk/fireworks 3.0.102 breaking changes

@ai-sdk/fireworks 3.0.102, released December 1, 2026: 1 breaking change.

- **Signature changed** `FireworksImageModel.maxImagesPerCall`  

Was readonly maxImagesPerCall: 1; now readonly maxImagesPerCall: number. [npmjs.com](https://www.npmjs.com/package/@ai-sdk/fireworks/v/3.0.102)

## @ai-sdk/fireworks 3.0.0 breaking changes

@ai-sdk/fireworks 3.0.0, released June 25, 2026: 15 breaking changes.

- **Removed**  

Node.js versions below 22 are no longer supported. Supported versions are 22, 24, and 26, so older Node.js runtimes must be upgraded. [github.com](https://github.com/vercel/ai/blob/@ai-sdk/fireworks@3.0.0/packages/fireworks/CHANGELOG.md)
- **Removed**  

The package no longer ships CommonJS exports and is ESM-only. Code that uses require() must switch to ESM import syntax. [github.com](https://github.com/vercel/ai/blob/@ai-sdk/fireworks@3.0.0/packages/fireworks/CHANGELOG.md)
- **Behavior changed**  

includeUsage is enabled for Fireworks, so streamed responses include token usage data that was previously absent. [github.com](https://github.com/vercel/ai/blob/@ai-sdk/fireworks@3.0.0/packages/fireworks/CHANGELOG.md)
- **Behavior changed**  

Credentials are attached to followed response URLs only when they are same-origin with the configured API origin. Requests to other hosts are sent without the credential. [github.com](https://github.com/vercel/ai/blob/@ai-sdk/fireworks@3.0.0/packages/fireworks/CHANGELOG.md)
- **Signature changed** `FireworksImageModel`  

Was class FireworksImageModel implements ImageModelV3; now class FireworksImageModel implements ImageModelV4. [npmjs.com](https://www.npmjs.com/package/@ai-sdk/fireworks/v/3.0.0)
- **Signature changed** `FireworksImageModel.doGenerate`  

Was doGenerate({prompt, n, size, aspectRatio, seed, providerOptions, headers, abortSignal, files, mask}: Parameters\<ImageModelV3\['doGenerate'\]>\[0\]): Promise\<Awaited\<ReturnType\<ImageModelV3\['doGenerate'\]>>>; now doGenerate({prompt, n, size... [npmjs.com](https://www.npmjs.com/package/@ai-sdk/fireworks/v/3.0.0)
- **Signature changed** `FireworksProvider`  

Was interface FireworksProvider extends ProviderV3; now interface FireworksProvider extends ProviderV4. [npmjs.com](https://www.npmjs.com/package/@ai-sdk/fireworks/v/3.0.0)
- **Signature changed** `FireworksProvider.__call`  

Was (modelId: FireworksChatModelId): LanguageModelV3; now (modelId: FireworksChatModelId): LanguageModelV4. [npmjs.com](https://www.npmjs.com/package/@ai-sdk/fireworks/v/3.0.0)
- **Signature changed** `FireworksProvider.chatModel`  

Was chatModel(modelId: FireworksChatModelId): LanguageModelV3; now chatModel(modelId: FireworksChatModelId): LanguageModelV4. [npmjs.com](https://www.npmjs.com/package/@ai-sdk/fireworks/v/3.0.0)
- **Signature changed** `FireworksProvider.completionModel`  

Was completionModel(modelId: FireworksCompletionModelId): LanguageModelV3; now completionModel(modelId: FireworksCompletionModelId): LanguageModelV4. [npmjs.com](https://www.npmjs.com/package/@ai-sdk/fireworks/v/3.0.0)

And 5 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## @ai-sdk/fireworks 3.0.0-canary.57 breaking changes

@ai-sdk/fireworks 3.0.0-canary.57, released June 25, 2026: 1 breaking change.

- **Behavior changed**  

Streaming requests enable includeUsage, so streamed output may contain usage data that strict stream parsers did not expect. [github.com](https://github.com/vercel/ai/blob/@ai-sdk/fireworks@3.0.0/packages/fireworks/CHANGELOG.md)

## @ai-sdk/fireworks 3.0.0-canary.56 breaking changes

@ai-sdk/fireworks 3.0.0-canary.56, released June 25, 2026: 1 breaking change.

- **Behavior changed**  

Credentials are attached only to same-origin follow-up URLs; code relying on cross-origin credentials must change. [github.com](https://github.com/vercel/ai/blob/@ai-sdk/fireworks@3.0.0/packages/fireworks/CHANGELOG.md)

## @ai-sdk/fireworks 3.0.0-canary.50 breaking changes

@ai-sdk/fireworks 3.0.0-canary.50, released June 25, 2026: 1 breaking change.

- **Removed**  

Users on older Node.js versions must upgrade to Node.js 22 or later. [github.com](https://github.com/vercel/ai/blob/@ai-sdk/fireworks@3.0.0/packages/fireworks/CHANGELOG.md)

## @ai-sdk/fireworks 3.0.0-beta.24 breaking changes

@ai-sdk/fireworks 3.0.0-beta.24, released June 25, 2026: 1 breaking change.

- **Removed**  

Consumers using require() must switch to ESM import syntax. [github.com](https://github.com/vercel/ai/blob/@ai-sdk/fireworks@3.0.0/packages/fireworks/CHANGELOG.md)

## Older versions

2 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### @ai-sdk/fireworks 2.0.0 breaking changes

@ai-sdk/fireworks 2.0.0, released December 22, 2025: 11 breaking changes.

- **Signature changed** `FireworksImageModel`  

Was class FireworksImageModel implements ImageModelV2; now class FireworksImageModel implements ImageModelV3. [npmjs.com](https://www.npmjs.com/package/@ai-sdk/fireworks/v/2.0.0)
- **Signature changed** `FireworksImageModel.doGenerate`  

Was doGenerate({prompt, n, size, aspectRatio, seed, providerOptions, headers, abortSignal}: Parameters\<ImageModelV2\['doGenerate'\]>\[0\]): Promise\<Awaited\<ReturnType\<ImageModelV2\['doGenerate'\]>>>; now doGenerate({prompt, n, size, aspectRatio... [npmjs.com](https://www.npmjs.com/package/@ai-sdk/fireworks/v/2.0.0)

And 9 more in this version.

### @ai-sdk/fireworks 2.0.0-beta.37 breaking changes

@ai-sdk/fireworks 2.0.0-beta.37, released December 22, 2025: 1 breaking change.

- **Renamed** `model.textEmbeddingModel`  

Calls to model.textEmbeddingModel must be changed to model.embeddingModel with the same model id. [github.com](https://github.com/vercel/ai/blob/@ai-sdk/fireworks@2.0.0/packages/fireworks/CHANGELOG.md)

## Related packages

- [ai](https://since.dev/packages/npm/ai.md)
- [@ai-sdk/openai](https://since.dev/packages/npm/@ai-sdk/openai.md)
- [@ai-sdk/google](https://since.dev/packages/npm/@ai-sdk/google.md)
- [@ai-sdk/anthropic](https://since.dev/packages/npm/@ai-sdk/anthropic.md)
- [@ai-sdk/amazon-bedrock](https://since.dev/packages/npm/@ai-sdk/amazon-bedrock.md)
- [@ai-sdk/gateway](https://since.dev/packages/npm/@ai-sdk/gateway.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
