Pricing
- Input Tokens: $0.64 /M tokens
- Output Tokens: $1.92 /M tokens
Input Modalities
- Text
Output Modalities
- Text
Try this model
import os
from openai import OpenAI
client = OpenAI(
api_key=os.environ["AIHUBMIX_API_KEY"],
base_url="https://aihubmix.com/v1",
)
response = client.chat.completions.create(
model="command-r",
messages=[
{
"role": "user",
"content": "Hello, how are you?"
}
],
max_tokens=1024,
stream=False,
)
print(response.choices[0].message.content)Frequently asked questions
How much does Command R cost?
What modalities does Command R support?
How do I call Command R via API?
Who created Command R?
More models from Cohere
See all Cohere models →cohere-rerank-v5-fast is Cohere's enterprise search and retrieval-augmented generation (RAG) reranking model. It can reorder retrieval results based on query relevance, supports multiple languages, and provides stable relevance scoring to help filter out irrelevant content. Its Context Focus feature can also extract the most relevant passages from documents, reducing the language model's token consumption and response latency.
cohere-rerank-v5-pro is Cohere's enterprise search and retrieval-augmented generation (RAG) reranking model. It can reorder retrieval results based on query relevance, supports multiple languages, and provides stable relevance scoring to help filter out irrelevant content. Its Context Focus feature can also extract the most relevant passages from documents, reducing the language model's token consumption and response latency.
Developed by Cohere, north-mini-code-free is the debut model of the North family and Cohere's first agentic coding model. This sparse mixture-of-experts model features 30B total parameters and 3B active parameters, designed and optimized for high performance. With an expansive context length of 256,000 tokens, it is well-suited for handling complex developer workflows and large codebases.
Cohere's stronger command model for multilingual agents and enterprise workflows
Rerank 4 is the most advanced set of reranker models available today, purpose-built to meet the realities and challenges of enterprise AI search. It delivers best-in-class retrieval, outperforming the likes of MongoDB’s Voyage models and ElasticSearch’s Jina rerankers in overall search relevance, as well as improved latency, flexible deployment options, deep customizability and robust multilingual performance. Designed for business-critical applications across key industries and domains, Rerank 4 sets a new standard for accuracy and adaptability in enterprise search.
Rerank 4 is the most advanced set of reranker models available today, purpose-built to meet the realities and challenges of enterprise AI search. It delivers best-in-class retrieval, outperforming the likes of MongoDB’s Voyage models and ElasticSearch’s Jina rerankers in overall search relevance, as well as improved latency, flexible deployment options, deep customizability and robust multilingual performance. Designed for business-critical applications across key industries and domains, Rerank 4 sets a new standard for accuracy and adaptability in enterprise search.