Free Command R+ API
Cohere’s RAG-tuned model — free trial key, great for retrieval.
Command R+ (and the newer Command A) are Cohere models tuned for retrieval-augmented generation and tool use. Paired with Cohere’s free embeddings and rerank, they make a strong free RAG stack.
Quickstart — Command R+ on GitHub Models
from openai import OpenAI
client = OpenAI(
base_url="https://models.github.ai/inference",
api_key="YOUR_FREE_KEY" # from GitHub Models
)
resp = client.chat.completions.create(
model="openai/gpt-4o", # Command R+ on GitHub Models
messages=[{"role": "user", "content": "Hello!"}]
)
print(resp.choices[0].message.content)Providers offering Command R+ free
Create your own key on any of these. Click through for setup, limits and code.
GitHub Models
Free access to GPT-4o, o-series and more — just a GitHub account.
Cohere
Free trial keys for Command models, embeddings and rerank.
Free Command R+ API — FAQ
Is Command R+ free to use via API?+
Yes. 2 providers in our directory host Command R+ with free access, starting with GitHub Models. You create your own free key on the provider’s site.
Which provider is best for a free Command R+ API key?+
GitHub Models — Free access to GPT-4o, o-series and more — just a GitHub account. See the full comparison below to match limits and speed to your needs.
How do I call Command R+ with the OpenAI SDK?+
Set your base URL to your chosen provider’s endpoint (shown on each provider page), use your free key, and pass a Command R+ model id such as "command-a-03-2025".