Cohere API
Add AI to your application with Cohere.
Access Cohere through a single API with puter.js.
AI Chat API
Enterprise-Grade RAG
Grounded generation with source citations, reduced hallucinations for knowledge bases, document Q&A, and enterprise search.
Multilingual by Default
Native support for 100+ languages across all Command models, ideal for global applications without separate models.
Tool Use & Agentic Workflows
Built-in function calling and multi-step tool use, enabling autonomous agents that search, retrieve, calculate, and take actions.
Long Context Windows
Process lengthy documents, legal contracts, codebases, and extended conversations in a single request - up to 256K tokens.
Optimized for Search & Retrieval
Best-in-class semantic search with embedding models. Command models are tuned to work with retrieved context for seamless RAG.
Flexible Model Tiers
From lightweight R7B for fast, budget-friendly responses to powerful Command-A for complex reasoning - pick the right balance.
Cohere Models
Access all Cohere models through a single API.
Command A
Advanced command model for complex reasoning and demanding enterprise applications.
cohere/command-a
Command R Plus (08-2024)
Enhanced retrieval-augmented model with superior grounding and citation capabilities.
cohere/command-r-plus-08-2024
Command R (08-2024)
Retrieval-optimized model designed for RAG workflows and document processing.
cohere/command-r-08-2024
Command R7B (12-2024)
Lightweight 7B model for fast, budget-friendly responses with efficient inference.
cohere/command-r7b-12-2024
Add AI Chat in Seconds
Add Cohere AI to your app with just a few lines of code.
No API keys, no backend, no configuration required.
<html>
<body>
<script src="https://js.puter.com/v2/"></script>
<script>
puter.ai.chat("Explain the benefits of renewable energy", {
model: "cohere/command-r-plus-08-2024"
}).then(response => {
document.body.innerHTML = response.message.content;
});
</script>
</body>
</html>
Related Resources
Learn how to use Cohere and other AI models with Puter.js.