Cohere

Cohere · Command A+

🟢 215ms 20 RPM 📏 128K 20 RPM 👁️ Vision

🛡️ 🛡️ Free Tier Policy & Rate Limits

Trial Key Monthly Replenish No Credit Card Email Only · No ID Zero Unexpected Bill
Context Window 128K
Rate Limit RPM 20 RPM
Daily Quota & Reset 1,000 API Calls Monthly · Monthly Reset on 1st
Auth & Card Requirement No Card Needed
Supported Capabilities:
🖼️ Image Gen & Vision 📝 Text Generation 👁️ Multimodal Vision

📋 Core Endpoint & Model Parameters

OpenAI API Compatible
Base URL
https://api.cohere.com/v2
Model ID
command-a-218b
🟢【免绑卡注册】直接获取官方 API Key
👉 30s Quick Link: Cohere Console

💡 Caveats & Rate Limits

🎯 Official Free Tier Endpoint · 128K Context · 20 RPM

📋 Free Tier Quota Rules and Constraints

  • Trial key includes 1,000 free API calls every month
  • Command R+ boasts exceptional tool use and document grounding
  • Industry-leading Rerank model included in the free tier

🛡️ Zero-Billing Protection and Risk Prevention

1,000 monthly calls automatically renewed with zero billing risk.

Quick Integration Code and Client Setup

🍒 Connect Cherry Studio
curl https://api.cohere.com/v2/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "command-a-218b",
    "messages": [{"role": "user", "content": "Hello!"}],
    "stream": true
  }'
from openai import OpenAI

client = OpenAI(
    base_url="https://api.cohere.com/v2",
    api_key="YOUR_API_KEY"
)

response = client.chat.completions.create(
    model="command-a-218b",
    messages=[{"role": "user", "content": "Hello!"}],
    stream=True
)

for chunk in response:
    content = chunk.choices[0].delta.content or ""
    print(content, end="", flush=True)
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.cohere.com/v2",
  apiKey: "YOUR_API_KEY"
});

const stream = await client.chat.completions.create({
  model: "command-a-218b",
  messages: [{ role: "user", content: "Hello!" }],
  stream: true,
});

for await (const chunk of stream) {
  process.stdout.write(chunk.choices[0]?.delta?.content || "");
}
{
  "apiProvider": "openai",
  "openAiBaseUrl": "https://api.cohere.com/v2",
  "openAiApiKey": "YOUR_API_KEY",
  "openAiModelId": "command-a-218b"
}
✓ ✓ Copied