Cohere logo

Cohere Free API

cohere.com

Free trial keys for Command models, embeddings and rerank.

Free tier No credit card OpenAI-compatible Verified November 2026
Get your free Cohere key

Opens Cohere’s official key page. You create and own the key — FreeLLMKeys never sees or stores it.

Quick facts

Base URL
https://api.cohere.com/compatibility/v1
Free access
Free “trial” keys with no expiry — rate-limited, not for production.
Rate limits
Trial keys: ~20 calls/min and a monthly cap; production needs a paid key.
Credit card
Not required
OpenAI-compatible
Yes — reuse your OpenAI SDK
Free models
Command A, Command R+, Command R, Embed v4, Rerank v3.5, Aya Expanse

About 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

  1. 1Go to the official key page: https://dashboard.cohere.com/api-keys
  2. 2Create a free account — no credit card needed.
  3. 3Open the API keys section and generate a new key. Copy it somewhere safe.
  4. 4In your code, set the base URL to https://api.cohere.com/compatibility/v1 and paste your key.
  5. 5Call a model such as command-a-03-2025 using the examples below.

Code examples

Replace YOUR_COHERE_KEY with the key you created.

Python
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)
JavaScript
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
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