Skip to main content
Leverage Cohere’s powerful command models and more. Cohere has a wide range of models and is really good for fine-tuning. See their library of models here. We recommend experimenting to find the best-suited model for your use-case. Here are some general recommendations:
  • command model is good for most basic use-cases.
  • command-light model is good for smaller tasks and faster inference.
  • command-r7b-12-2024 model is good with RAG tasks, complex reasoning and multi-step tasks.
Cohere also supports fine-tuning models. Here is a guide on how to do it. Cohere has tier-based rate limits. See the docs for more information.

Authentication

Set your CO_API_KEY environment variable. Get your key from here.

Example

Use Cohere with your Agent:
View more examples here.

Params

Cohere is a subclass of the Model class and has access to the same params.