Cohere Free API
cohere.comFree trial keys for Command models, embeddings and rerank.
Opens Cohere’s official key page. You create and own the key — FreeLLMKeys never sees or stores it.
Quick facts
https://api.cohere.com/compatibility/v1About Cohere’s free API
Cohere’s free trial keys never expire and are ideal for RAG: Embed v4 and Rerank v3.5 are among the best retrieval models available, and the Command chat models round it out.
Trial keys are rate-limited and meant for development, not production traffic. Cohere exposes an OpenAI-compatible compatibility endpoint for chat and embeddings.
Reach for it when retrieval quality — embeddings and reranking — matters more than raw chat benchmarks.
How to get a free Cohere API key
- 1Go to the official key page: https://dashboard.cohere.com/api-keys
- 2Create a free account — no credit card needed.
- 3Open the API keys section and generate a new key. Copy it somewhere safe.
- 4In your code, set the base URL to
https://api.cohere.com/compatibility/v1and paste your key. - 5Call a model such as
command-a-03-2025using the examples below.
Code examples
Replace YOUR_COHERE_KEY with the key you created.
from openai import OpenAI
client = OpenAI(
base_url="https://api.cohere.com/compatibility/v1",
api_key="YOUR_COHERE_KEY"
)
resp = client.chat.completions.create(
model="command-a-03-2025",
messages=[{"role": "user", "content": "Hello!"}]
)
print(resp.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://api.cohere.com/compatibility/v1",
apiKey: process.env.API_KEY, // your free Cohere key
});
const resp = await client.chat.completions.create({
model: "command-a-03-2025",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(resp.choices[0].message.content);curl https://api.cohere.com/compatibility/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $API_KEY" \
-d '{
"model": "command-a-03-2025",
"messages": [{"role":"user","content":"Hello!"}]
}'Pros & cons
Pros
- Best-in-class embeddings + rerank for RAG
- Trial key never expires
- OpenAI-compatible route
- Multilingual (Aya)
Cons
- Trial rate limits are low
- Chat models trail the frontier
Cohere free API — FAQ
Is the Cohere API really free?+
Yes. Cohere offers free tier access: Free “trial” keys with no expiry — rate-limited, not for production. No credit card is required to start.
How do I get a free Cohere API key?+
Create a free account at https://dashboard.cohere.com/api-keys, open the API keys section, generate a key, then set your base URL to https://api.cohere.com/compatibility/v1 in your OpenAI-compatible code.
Which models does Cohere offer for free?+
Command A, Command R+, Command R, Embed v4, Rerank v3.5, Aya Expanse.
What are the Cohere free-tier rate limits?+
Trial keys: ~20 calls/min and a monthly cap; production needs a paid key.
Is Cohere OpenAI-compatible?+
Yes. Cohere exposes an OpenAI Chat Completions compatible endpoint, so you can reuse your existing OpenAI SDK code and only change the base URL and API key.
Popular free models on Cohere
Related free LLM APIs
Cloudflare Workers AI
Serverless inference with a free daily allocation on the edge.
Scaleway Generative APIs
EU-hosted open models with a free beta allowance.
Google AI Studio (Gemini)
The most generous permanent free tier for a frontier model.