Command R7B

CohereMCP Tool Call
cohere/command-r7b-12-2024Open Weights

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

Benchmark Pricing$0.04 / 1M in$0.15 / 1M out
Context: 128,000 tokens•Max Output: 4,000 tokens•Knowledge: 2024-06-01•Released: 2024-12-13

TECHNICAL SPECIFICATIONS

Context Window128,000128K tokens
Max Output4,0004K tokens
LicenseOpen SourceSelf-hostable
Input Modalities
Text
Function / Tool CallingSupported (MCP Ready)
Structured OutputsGuaranteed Schema

MODEL CONTEXT PROTOCOL (MCP) READINESS

✓ Command R7B natively supports OpenAI / Anthropic format tool calling and is fully compatible with MCP servers and agent loops.

MCP Context Window Recommendations

With a context capacity of 128,000 tokens, this model can handle moderately large MCP tool definitions and multi-turn conversation logs comfortably.

API CALL INVOCATION EXAMPLE

// Example: Calling Command R7B via OpenAI SDK
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.COHERE_API_KEY,
});

const response = await client.chat.completions.create({
  model: "cohere/command-r7b-12-2024",
  messages: [{ role: "user", content: "Hello! Can you inspect MCP tools?" }],
});

console.log(response.choices[0].message.content);

PRICING BY PROVIDER

6 providers
Coherecommand-r7b-12-2024
$0.04 / $0.15
AI/ML APIcohere/command-r7b-12-2024
$0.05 / $0.21
Eden AIcohere/command-r7b-12-2024
$0.04 / $0.15
Merge Gatewaycohere/command-r7b-12-2024
$0.04 / $0.15
Kilo Gatewaycohere/command-r7b-12-2024
$0.04 / $0.15
OpenRoutercohere/command-r7b-12-2024
$0.04 / $0.15

Rates in USD per 1M tokens. Rates synchronized from models.dev public catalog.