Skip to main content

Using the Cohere Platform

The Cohere Platform is centered around models.

Each model has a different amount of power (i.e. parameters), to be used for different tasks. Cohere has three baseline models: small, medium, and large.

Cohere also supports finetuning of baseline models to improve performance on downstream tasks or to teach the model large quantities of information which cannot be extracted with few-shot learning or prompt engineering.


Further SDK documentation is accompanied in the rest of the API Reference documentation.


Install package:

pip install cohere


Install package:

go get


Install the npm package:

npm install cohere-ai


Install the ruby gem:

bundle add cohere

Request Specification#

To make a request to any model, you must pass in the Authorization Header and the request must be made through a POST request. The content of Authorization should be in the shape of BEARER [API_KEY]. All request bodies are sent through JSON.

Model names are found within the dashboard, and details about endpoints are available within the documentation. Detailed model information can be found in the Model Cards.