---
title: "node-llama-cpp 3.0.0 Breaking Changes on npm | Since.dev"
description: "What each node-llama-cpp release removed, renamed or changed: 98 breaking changes in 5 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/node-llama-cpp
last_updated: 2026-12-04
---

# node-llama-cpp breaking changes

node-llama-cpp 3.0.0 (September 24, 2024) is its newest release with breaking changes, 86 of them. The first: Removed AbortError. Every breaking API change we have recorded in node-llama-cpp on npm: 98 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `3.22.4`, released November 25, 2026. 

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [3.0.0-beta.1](#v-3-0-0-beta-1) to [3.0.0](#v-3-0-0): 96 breaking changes in 4 versions.

## node-llama-cpp 3.0.0 breaking changes

node-llama-cpp 3.0.0, released September 24, 2024: 86 breaking changes.

- **Removed** `AbortError`  

AbortError was removed in node-llama-cpp 3.0.0 [npmjs.com](https://www.npmjs.com/package/node-llama-cpp/v/3.0.0)
- **Removed** `ChatMLChatPromptWrapper`  

ChatMLChatPromptWrapper was removed in node-llama-cpp 3.0.0 [npmjs.com](https://www.npmjs.com/package/node-llama-cpp/v/3.0.0)
- **Removed** `ChatPromptWrapper`  

ChatPromptWrapper was removed in node-llama-cpp 3.0.0 [npmjs.com](https://www.npmjs.com/package/node-llama-cpp/v/3.0.0)
- **Removed** `ConversationInteraction`  

ConversationInteraction was removed in node-llama-cpp 3.0.0 [npmjs.com](https://www.npmjs.com/package/node-llama-cpp/v/3.0.0)
- **Removed** `EmptyChatPromptWrapper`  

EmptyChatPromptWrapper was removed in node-llama-cpp 3.0.0 [npmjs.com](https://www.npmjs.com/package/node-llama-cpp/v/3.0.0)
- **Removed** `FalconChatPromptWrapper`  

FalconChatPromptWrapper was removed in node-llama-cpp 3.0.0 [npmjs.com](https://www.npmjs.com/package/node-llama-cpp/v/3.0.0)
- **Removed** `GeneralChatPromptWrapper`  

GeneralChatPromptWrapper was removed in node-llama-cpp 3.0.0 [npmjs.com](https://www.npmjs.com/package/node-llama-cpp/v/3.0.0)
- **Removed** `getChatWrapperByBos`  

getChatWrapperByBos was removed in node-llama-cpp 3.0.0 [npmjs.com](https://www.npmjs.com/package/node-llama-cpp/v/3.0.0)
- **Removed** `getReleaseInfo`  

getReleaseInfo was removed in node-llama-cpp 3.0.0 [npmjs.com](https://www.npmjs.com/package/node-llama-cpp/v/3.0.0)
- **Removed** `LLamaChatPromptOptions.grammar`  

LLamaChatPromptOptions.grammar was removed in node-llama-cpp 3.0.0 [npmjs.com](https://www.npmjs.com/package/node-llama-cpp/v/3.0.0)
- **Removed** `LLamaChatPromptOptions.maxTokens`  

LLamaChatPromptOptions.maxTokens was removed in node-llama-cpp 3.0.0 [npmjs.com](https://www.npmjs.com/package/node-llama-cpp/v/3.0.0)
- **Removed** `LLamaChatPromptOptions.onToken`  

LLamaChatPromptOptions.onToken was removed in node-llama-cpp 3.0.0 [npmjs.com](https://www.npmjs.com/package/node-llama-cpp/v/3.0.0)
- **Removed** `LLamaChatPromptOptions.repeatPenalty`  

LLamaChatPromptOptions.repeatPenalty was removed in node-llama-cpp 3.0.0 [npmjs.com](https://www.npmjs.com/package/node-llama-cpp/v/3.0.0)
- **Removed** `LLamaChatPromptOptions.signal`  

LLamaChatPromptOptions.signal was removed in node-llama-cpp 3.0.0 [npmjs.com](https://www.npmjs.com/package/node-llama-cpp/v/3.0.0)
- **Removed** `LLamaChatPromptOptions.temperature`  

LLamaChatPromptOptions.temperature was removed in node-llama-cpp 3.0.0 [npmjs.com](https://www.npmjs.com/package/node-llama-cpp/v/3.0.0)
- **Removed** `LLamaChatPromptOptions.topK`  

LLamaChatPromptOptions.topK was removed in node-llama-cpp 3.0.0 [npmjs.com](https://www.npmjs.com/package/node-llama-cpp/v/3.0.0)
- **Removed** `LLamaChatPromptOptions.topP`  

LLamaChatPromptOptions.topP was removed in node-llama-cpp 3.0.0 [npmjs.com](https://www.npmjs.com/package/node-llama-cpp/v/3.0.0)
- **Removed** `LLamaChatPromptOptions.trimWhitespaceSuffix`  

LLamaChatPromptOptions.trimWhitespaceSuffix was removed in node-llama-cpp 3.0.0 [npmjs.com](https://www.npmjs.com/package/node-llama-cpp/v/3.0.0)
- **Removed** `LlamaChatPromptWrapper`  

LlamaChatPromptWrapper was removed in node-llama-cpp 3.0.0 [npmjs.com](https://www.npmjs.com/package/node-llama-cpp/v/3.0.0)
- **Removed** `LlamaChatSession.init`  

LlamaChatSession.init was removed in node-llama-cpp 3.0.0 [npmjs.com](https://www.npmjs.com/package/node-llama-cpp/v/3.0.0)
- **Removed** `LlamaChatSession.initialized`  

LlamaChatSession.initialized was removed in node-llama-cpp 3.0.0 [npmjs.com](https://www.npmjs.com/package/node-llama-cpp/v/3.0.0)
- **Removed** `LlamaChatSessionOptions.context`  

LlamaChatSessionOptions.context was removed in node-llama-cpp 3.0.0 [npmjs.com](https://www.npmjs.com/package/node-llama-cpp/v/3.0.0)
- **Removed** `LlamaChatSessionOptions.conversationHistory`  

LlamaChatSessionOptions.conversationHistory was removed in node-llama-cpp 3.0.0 [npmjs.com](https://www.npmjs.com/package/node-llama-cpp/v/3.0.0)
- **Removed** `LlamaChatSessionOptions.printLLamaSystemInfo`  

LlamaChatSessionOptions.printLLamaSystemInfo was removed in node-llama-cpp 3.0.0 [npmjs.com](https://www.npmjs.com/package/node-llama-cpp/v/3.0.0)
- **Removed** `LlamaChatSessionOptions.promptWrapper`  

LlamaChatSessionOptions.promptWrapper was removed in node-llama-cpp 3.0.0 [npmjs.com](https://www.npmjs.com/package/node-llama-cpp/v/3.0.0)
- **Removed** `LlamaContext.constructor`  

new LlamaContext() was removed in node-llama-cpp 3.0.0 [npmjs.com](https://www.npmjs.com/package/node-llama-cpp/v/3.0.0)
- **Removed** `LlamaContext.decode`  

LlamaContext.decode was removed in node-llama-cpp 3.0.0 [npmjs.com](https://www.npmjs.com/package/node-llama-cpp/v/3.0.0)
- **Removed** `LlamaContext.encode`  

LlamaContext.encode was removed in node-llama-cpp 3.0.0 [npmjs.com](https://www.npmjs.com/package/node-llama-cpp/v/3.0.0)
- **Removed** `LlamaContext.evaluate`  

LlamaContext.evaluate was removed in node-llama-cpp 3.0.0 [npmjs.com](https://www.npmjs.com/package/node-llama-cpp/v/3.0.0)
- **Removed** `LlamaContext.getBosString`  

LlamaContext.getBosString was removed in node-llama-cpp 3.0.0 [npmjs.com](https://www.npmjs.com/package/node-llama-cpp/v/3.0.0)
- **Removed** `LlamaContext.getBosToken`  

LlamaContext.getBosToken was removed in node-llama-cpp 3.0.0 [npmjs.com](https://www.npmjs.com/package/node-llama-cpp/v/3.0.0)
- **Removed** `LlamaContext.getContextSize`  

LlamaContext.getContextSize was removed in node-llama-cpp 3.0.0 [npmjs.com](https://www.npmjs.com/package/node-llama-cpp/v/3.0.0)
- **Removed** `LlamaContext.getEosString`  

LlamaContext.getEosString was removed in node-llama-cpp 3.0.0 [npmjs.com](https://www.npmjs.com/package/node-llama-cpp/v/3.0.0)
- **Removed** `LlamaContext.getEosToken`  

LlamaContext.getEosToken was removed in node-llama-cpp 3.0.0 [npmjs.com](https://www.npmjs.com/package/node-llama-cpp/v/3.0.0)
- **Removed** `LlamaContext.getNlString`  

LlamaContext.getNlString was removed in node-llama-cpp 3.0.0 [npmjs.com](https://www.npmjs.com/package/node-llama-cpp/v/3.0.0)
- **Removed** `LlamaContext.getNlToken`  

LlamaContext.getNlToken was removed in node-llama-cpp 3.0.0 [npmjs.com](https://www.npmjs.com/package/node-llama-cpp/v/3.0.0)
- **Removed** `LlamaContext.prependBos`  

LlamaContext.prependBos was removed in node-llama-cpp 3.0.0 [npmjs.com](https://www.npmjs.com/package/node-llama-cpp/v/3.0.0)
- **Removed** `LlamaContextOptions.embedding`  

LlamaContextOptions.embedding was removed in node-llama-cpp 3.0.0 [npmjs.com](https://www.npmjs.com/package/node-llama-cpp/v/3.0.0)
- **Removed** `LlamaContextOptions.grammar`  

LlamaContextOptions.grammar was removed in node-llama-cpp 3.0.0 [npmjs.com](https://www.npmjs.com/package/node-llama-cpp/v/3.0.0)
- **Removed** `LlamaContextOptions.logitsAll`  

LlamaContextOptions.logitsAll was removed in node-llama-cpp 3.0.0 [npmjs.com](https://www.npmjs.com/package/node-llama-cpp/v/3.0.0)
- **Removed** `LlamaContextOptions.model`  

LlamaContextOptions.model was removed in node-llama-cpp 3.0.0 [npmjs.com](https://www.npmjs.com/package/node-llama-cpp/v/3.0.0)
- **Removed** `LlamaContextOptions.prependBos`  

LlamaContextOptions.prependBos was removed in node-llama-cpp 3.0.0 [npmjs.com](https://www.npmjs.com/package/node-llama-cpp/v/3.0.0)
- **Removed** `LlamaContextOptions.seed`  

LlamaContextOptions.seed was removed in node-llama-cpp 3.0.0 [npmjs.com](https://www.npmjs.com/package/node-llama-cpp/v/3.0.0)
- **Removed** `LlamaContextRepeatPenalty`  

LlamaContextRepeatPenalty was removed in node-llama-cpp 3.0.0 [npmjs.com](https://www.npmjs.com/package/node-llama-cpp/v/3.0.0)
- **Removed** `LlamaGrammar.stopStrings`  

LlamaGrammar.stopStrings was removed in node-llama-cpp 3.0.0 [npmjs.com](https://www.npmjs.com/package/node-llama-cpp/v/3.0.0)
- **Removed** `LlamaGrammarOptions.printGrammar`  

LlamaGrammarOptions.printGrammar was removed in node-llama-cpp 3.0.0 [npmjs.com](https://www.npmjs.com/package/node-llama-cpp/v/3.0.0)
- **Removed** `LlamaGrammarOptions.stopStrings`  

LlamaGrammarOptions.stopStrings was removed in node-llama-cpp 3.0.0 [npmjs.com](https://www.npmjs.com/package/node-llama-cpp/v/3.0.0)
- **Removed** `LlamaModel.constructor`  

new LlamaModel() was removed in node-llama-cpp 3.0.0 [npmjs.com](https://www.npmjs.com/package/node-llama-cpp/v/3.0.0)
- **Removed** `LlamaModel.systemInfo`  

LlamaModel.systemInfo was removed in node-llama-cpp 3.0.0 [npmjs.com](https://www.npmjs.com/package/node-llama-cpp/v/3.0.0)
- **Removed** `LlamaModelOptions.batchSize`  

LlamaModelOptions.batchSize was removed in node-llama-cpp 3.0.0 [npmjs.com](https://www.npmjs.com/package/node-llama-cpp/v/3.0.0)

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

## node-llama-cpp 3.0.0-beta.45 breaking changes

node-llama-cpp 3.0.0-beta.45, released September 24, 2024: 8 breaking changes.

- **Renamed** `build`  

The build command is now a subcommand of source. Run it as source build. [github.com](https://github.com/withcatai/node-llama-cpp/releases/tag/v3.0.0-beta.45)
- **Renamed** `clear`  

The clear command is now a subcommand of source. Run it as source clear. [github.com](https://github.com/withcatai/node-llama-cpp/releases/tag/v3.0.0-beta.45)
- **Renamed** `download`  

The download command is now a subcommand of source. Run it as source download. [github.com](https://github.com/withcatai/node-llama-cpp/releases/tag/v3.0.0-beta.45)
- **Default changed** `autoDisposeSequence`  

Sequences are no longer disposed automatically by default. Dispose them yourself, or set autoDisposeSequence explicitly to keep the old behavior. [github.com](https://github.com/withcatai/node-llama-cpp/releases/tag/v3.0.0-beta.45)
- **Default changed** `threads`  

The default value for threads changed. Set threads explicitly if you depend on the old default. [github.com](https://github.com/withcatai/node-llama-cpp/releases/tag/v3.0.0-beta.45)
- **Signature changed** `LlamaEmbedding`  

LlamaEmbedding is now an object instead of its previous form, so code that uses it must be updated. [github.com](https://github.com/withcatai/node-llama-cpp/releases/tag/v3.0.0-beta.45)
- **Signature changed** `seed`  

The seed option is now passed at the prompt level rather than where it was before. Update calls that set seed. [github.com](https://github.com/withcatai/node-llama-cpp/releases/tag/v3.0.0-beta.45)
- **Signature changed** `TokenBias`  

The TokenBias API was simplified, so code that builds token biases must be updated to the new form. [github.com](https://github.com/withcatai/node-llama-cpp/releases/tag/v3.0.0-beta.45)

## node-llama-cpp 3.0.0-beta.39 breaking changes

node-llama-cpp 3.0.0-beta.39, released September 24, 2024: 1 breaking change.

- **Behavior changed** `LoRA`  

LoRA adapters are now used on a context rather than on a model. Code that applies LoRA to a model must move that call to the context. [github.com](https://github.com/withcatai/node-llama-cpp/releases/tag/v3.0.0-beta.39)

## node-llama-cpp 3.0.0-beta.17 breaking changes

node-llama-cpp 3.0.0-beta.17, released September 24, 2024: 1 breaking change.

- **Behavior changed** `model.detokenize`  

Adds an optional specialTokens parameter; existing calls keep working but special token output may differ. [github.com](https://github.com/withcatai/node-llama-cpp/releases/tag/v3.0.0-beta.17)

## node-llama-cpp 3.0.0-beta.1 breaking changes

node-llama-cpp 3.0.0-beta.1, released September 24, 2024: 2 breaking changes.

- **Removed**  

The API was completely rewritten, so code written for v2 will not work and must be migrated to the new API; docs were to follow before stable release. [github.com](https://github.com/withcatai/node-llama-cpp/releases/tag/v3.0.0-beta.1)
- **Behavior changed**  

Batching is now handled automatically, which may change how concurrent requests are processed. [github.com](https://github.com/withcatai/node-llama-cpp/releases/tag/v3.0.0-beta.1)

## 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.
