Skip to main content
Using cohere API requires cohere package, which can be installed using pip install cohere. Cohere embeddings are used to generate embeddings for text data. The embeddings can be used for various tasks like semantic search, clustering, and classification. You also need to set the COHERE_API_KEY environment variable to use the Cohere API.
Supported models are:
  • embed-english-v3.0
  • embed-multilingual-v3.0
  • embed-english-light-v3.0
  • embed-multilingual-light-v3.0
The v2.0 models (embed-english-v2.0, embed-english-light-v2.0 and embed-multilingual-v2.0) were retired by Cohere on April 4, 2026. Python 0.41.0 defaults to embed-multilingual-v2.0 (768 dimensions). Python 0.42.0b8 defaults to embed-multilingual-v3.0 (1024 dimensions). Set name="embed-multilingual-v3.0" explicitly, as in the example below, rather than relying on the client default. Existing tables containing vectors from a v2.0 model must be re-embedded with an active model into a table whose vector column has the matching dimension. Supported parameters (to be passed in create method) are: Cohere supports following input types: Usage Example: