
API / SDK Cohere
Cohere API
Cohere's API for Command chat models, Embed and Rerank, with official Python, TypeScript, Java and Go SDKs and free trial keys.
What it is
The Cohere API at api.cohere.com provides Chat (Command models), Embed, Embed Jobs, Rerank, Tokenize, Parse and audio transcription endpoints, with v2 as the default version. An OpenAI-compatible Compatibility API covers chat completions, embeddings and transcriptions. Official SDKs exist for Python, TypeScript, Java and Go, and free trial keys allow limited non-commercial use before switching to a pay-as-you-go production key.
What it's useful for
Adding semantic search to an app with Embed plus Rerank, or building a RAG chatbot on Command models.
Key features
- Chat endpoint for Command models with tool use and RAG
- Embed and batch Embed Jobs endpoints
- Rerank endpoint for search relevance
- OpenAI-compatible Compatibility API
- Official SDKs: Python, TypeScript, Java, Go
- Also available through Amazon Bedrock, Azure and Oracle OCI
How to use it
Before you start
- Cohere account
- API key
python -m pip install cohere --upgradenpm i -s cohere-aigo get github.com/cohere-ai/cohere-go/v2Commands are copied from the official documentation. Check the docs for the latest version before running them.
Limitations to know
- Trial keys are limited to 1,000 API calls a month and cannot be used commercially
- Production keys require an application
- Rerank is billed per search, with long documents split into chunks
Website tech stack
- Hosting & CDN
- Cloudflare, Vercel
- Framework
- Next.js
- Analytics
- Google Tag Manager
Detected on cohere.com on 25 Nov 2026. This describes the public website only; the product itself may use different technology.
Alternatives
xAI's (now SpaceXSI) OpenAI-compatible API for Grok text, image, video and voice models, with Python and TypeScript SDKs.
Anthropic's REST API for Claude models, with official SDKs in Python, TypeScript, Go, Java, C#, PHP and Ruby.
Google's API for Gemini models, with a free tier and the Google GenAI SDKs for Python, JS, Go, Java and C#.
Mistral AI's pay-as-you-go API for chat, code completion, OCR, embeddings, audio and agents, with Python and TypeScript SDKs.
MCP servers for this
Firecrawl's MCP server that lets agents scrape, crawl, map and search the web and get clean markdown back.
Skills for this
Hugging Face's Agent Skills for the Hub CLI, datasets, model training, evaluation, Spaces and SageMaker deployment.
Related resources
Anthropic's family of proprietary large language models (Opus, Sonnet, Haiku tiers) for reasoning, coding and agents.
Cohere's Command model family for enterprise chat, RAG, tool use and reasoning, with Command A+ released as Apache-2.0 weights.
DeepSeek's MIT-licensed open-weight reasoning and chat models, also served through an OpenAI- and Anthropic-compatible API.
AI research assistant that searches 138 million+ papers, summarizes and extracts data from them, and runs systematic reviews.