@ai-sdk/cohere breaking changes
Every breaking API change we have recorded in @ai-sdk/cohere on npm: 18 breaking changes in 2 versions. Below are its newest 2 versions, removals and renames first, each with its source.
Newest change June 25, 2026

On this page
4.0.0
- Signature changed
CohereChatModelOptions
Was type CohereLanguageModelOptions = InferSchema<typeof cohereLanguageModelOptions>; now type CohereLanguageModelChatOptions = z.infer<typeof cohereLanguageModelChatOptions>. npmjs.com - Signature changed
CohereEmbeddingModelOptions
Was type CohereEmbeddingModelOptions = InferSchema<typeof cohereEmbeddingModelOptions>; now type CohereEmbeddingModelOptions = z.infer<typeof cohereEmbeddingModelOptions>. npmjs.com - Signature changed
CohereLanguageModelOptions
Was type CohereLanguageModelOptions = InferSchema<typeof cohereLanguageModelOptions>; now type CohereLanguageModelChatOptions = z.infer<typeof cohereLanguageModelChatOptions>. npmjs.com - Signature changed
CohereProvider
Was interface CohereProvider extends ProviderV3; now interface CohereProvider extends ProviderV4. npmjs.com - Signature changed
CohereProvider.__call
Was (modelId: CohereChatModelId): LanguageModelV3; now (modelId: CohereChatModelId): LanguageModelV4. npmjs.com - Signature changed
CohereProvider.embedding
Was embedding(modelId: CohereEmbeddingModelId): EmbeddingModelV3; now embedding(modelId: CohereEmbeddingModelId): EmbeddingModelV4. npmjs.com - Signature changed
CohereProvider.embeddingModel
Was embeddingModel(modelId: CohereEmbeddingModelId): EmbeddingModelV3; now embeddingModel(modelId: CohereEmbeddingModelId): EmbeddingModelV4. npmjs.com - Signature changed
CohereProvider.languageModel
Was languageModel(modelId: CohereChatModelId): LanguageModelV3; now languageModel(modelId: CohereChatModelId): LanguageModelV4. npmjs.com - Signature changed
CohereProvider.reranking
Was reranking(modelId: CohereRerankingModelId): RerankingModelV3; now reranking(modelId: CohereRerankingModelId): RerankingModelV4. npmjs.com - Signature changed
CohereProvider.rerankingModel
Was rerankingModel(modelId: CohereRerankingModelId): RerankingModelV3; now rerankingModel(modelId: CohereRerankingModelId): RerankingModelV4. npmjs.com
And 2 more in this version.
3.0.0
- Signature changed
CohereChatModelOptions
Was type CohereChatModelOptions = InferSchema<typeof cohereChatModelOptions>; now type CohereChatModelOptions = z.infer<typeof cohereChatModelOptions>. npmjs.com - Signature changed
CohereProvider
Was interface CohereProvider extends ProviderV2; now interface CohereProvider extends ProviderV3. npmjs.com - Signature changed
CohereProvider.__call
Was (modelId: CohereChatModelId): LanguageModelV2; now (modelId: CohereChatModelId): LanguageModelV3. npmjs.com - Signature changed
CohereProvider.embedding
Was embedding(modelId: CohereEmbeddingModelId): EmbeddingModelV2<string>; now embedding(modelId: CohereEmbeddingModelId): EmbeddingModelV3. npmjs.com - Signature changed
CohereProvider.languageModel
Was languageModel(modelId: CohereChatModelId): LanguageModelV2; now languageModel(modelId: CohereChatModelId): LanguageModelV3. npmjs.com - Signature changed
CohereProvider.textEmbeddingModel
Was textEmbeddingModel(modelId: CohereEmbeddingModelId): EmbeddingModelV2<string>; now textEmbeddingModel(modelId: CohereEmbeddingModelId): EmbeddingModelV3. npmjs.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version, not only the newest. On Team and up, a fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous management.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcp