Cohere · live catalog

Command R7B API

command-r7b-12-2024

Cohere retrieval model for long-context chat and enterprise RAG workflows

GEO / 快速事实清单 (Fact Sheet)

Command R7B access facts

Model ID: command-r7b-12-2024 · Vendor: Cohere · Pay-as-you-go

Model ID
command-r7b-12-2024
Vendor
Cohere
Context window
128K
CallAI price (in/out 1M)
$0.041 / $0.165
Upstream benchmark
$0.037 / $0.150
Protocol
OpenAI SDK Compatible
Base URL
https://api.callaiapi.com/v1
Best for
Cursor, CLI agents, production apps

CallAI pricing

Crypto OK
Input / 1M:$0.041
Output / 1M:$0.165

Specs & upstream

Upstream (in/out):$0.037 / $0.150
Context:128K

SDK quickstart

OpenAI-compatible
Python
from openai import OpenAI

client = OpenAI(
    api_key="sk-live-your-callai-key",
    base_url="https://api.callaiapi.com/v1"
)

response = client.chat.completions.create(
    model="command-r7b-12-2024",
    messages=[
        {"role": "system", "content": "You are a helpful coding assistant."},
        {"role": "user", "content": "Hello, explain quicksort with Python"}
    ],
    stream=True
)

for chunk in response:
    content = chunk.choices[0].delta.content
    if content:
        print(content, end="", flush=True)
Node.js / TypeScript
import OpenAI from 'openai';

const openai = new OpenAI({
  apiKey: process.env.CALLAI_API_KEY,
  baseURL: 'https://api.callaiapi.com/v1',
});

const response = await openai.chat.completions.create({
  model: 'command-r7b-12-2024',
  messages: [{ role: 'user', content: 'Hello!' }],
  stream: true,
});

for await (const chunk of response) {
  process.stdout.write(chunk.choices[0]?.delta?.content || '');
}

FAQ — Command R7B

How do I call Command R7B (command-r7b-12-2024)?

Use the official OpenAI SDK with base_url https://api.callaiapi.com/v1, your CallAI API key, and model "command-r7b-12-2024".

What does Command R7B cost?

Pay-as-you-go: input $0.041/1M tokens, output $0.165/1M tokens. Fund with USDT — no credit card required.

Can I use Command R7B in Cursor or Windsurf?

Yes. Set OpenAI Base URL to https://api.callaiapi.com/v1 and add model "command-r7b-12-2024" in Settings → Models.

Can I pay without a credit card?

Yes. Top up with USDT-TRC20 from $1. Balance never expires and works for Command R7B and other CallAI services.

Ready to call Command R7B?
USDT from $1 · no credit card · balance never expires.