cohere
Package
Section titled “Package”@ai-sdk/cohere
Factories
Section titled “Factories”AIProviders.cohere
Capabilities
Section titled “Capabilities”- Language
- Embedding
- Reranking
Cohere mirrors upstream 4.0.37: COHERE_API_KEY, custom base URL and headers, versioned user-agent suffix, callable/language aliases, embedding/textEmbedding aliases, reranking aliases, chat /v2/chat, embedding /v2/embed, reranking /v2/rerank, prompt conversion for text/images/documents/tool calls, providerOptions.cohere schemas, top-level reasoning to Cohere thinking budget mapping, providerOptions thinking precedence, response format and tool choice mapping, streaming lifecycle/tool-call/reasoning parts, response metadata with complete raw usage, embedding/reranking response bodies, object-document reranking warnings, and unsupported non-text document media. ProviderV4 type names, ESM-only packaging, Node 22 engines, TypeScript option export renames, optional JS headers config, and workflow serialization helpers are JS-only upstream concerns.
Factory argument requirements are defined by the public Swift factory signatures. Use Public symbols when you need the exact initializer or factory declaration.
Return to the provider matrix.