Cohere API
Cohere 接口
Access Command-R, Embed, and Rerank models for enterprise NLP and search.
调用 Command-R、Embed 和 Rerank 模型,用于企业 NLP 和搜索。
Website
Documentation
Pricing
free tier available, pay-as-you-go
Authentication
- API Key (Bearer Token)
Popularity
65/100
Endpoints
https://api.cohere.com/v1/chat
https://api.cohere.com/v1/embed
https://api.cohere.com/v1/rerank
SDKs
PythonTypeScriptGoJavacurl
Key Features
- ◆Command-R for business RAG
- ◆Embed v3 for multilingual embeddings
- ◆Rerank for search relevance
- ◆Tool use & multi-step reasoning
- ◆Enterprise security & compliance
Code Examples
Chat with RAGbash
curl https://api.cohere.com/v1/chat \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $COHERE_API_KEY" \
-d '{
"model": "command-r-plus",
"message": "Hello!"
}'Tags
llmembeddingsearchrerank
Last updated: 2026-07-27