LiteLLMModels

Command R7B API Pricing

As of October 10, 2026, Command R7B costs $0.0375 per 1M input tokens and $0.15 per 1M output tokens on Cohere. It has a 128,000-token context window and returns up to 4,096 tokens per response.

By CohereModel ID command-r7b-12-2024Prices updated Checked
Input
$0.0375 / 1M tokens
Output
$0.15 / 1M tokens
Context window
128,000 tokens
Max output
4,096 tokens
Providers
1
Added to LiteLLM
January 2025

Command R7B pricing by provider

1 listing across 1 provider. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.

ProviderModel name in LiteLLMInputOutputContext
Coheresnapshot 12-2024command-r7b-12-2024$0.0375$0.15128K

What Command R7B costs in practice

1,000 requests with 2,000 input and 500 output tokens each

Cohere$0.15

100 long-document requests with 100,000 input and 2,000 output tokens each

Cohere$0.405

Command R7B features

Use Command R7B with LiteLLM

Call Command R7B through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/chat/completions. LiteLLM tracks the cost of every request at these prices.

Python SDK
from litellm import completion

response = completion(
    model="command-r7b-12-2024",
    messages=[{"role": "user", "content": "Hello!"}],
)
Proxy config.yaml
model_list:
  - model_name: command-r7b
    litellm_params:
      model: command-r7b-12-2024
      api_key: os.environ/COHERE_API_KEY
Call the proxy
curl http://0.0.0.0:4000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk-1234" \
  -d '{
    "model": "command-r7b",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Command R7B FAQ

How much does Command R7B cost?

Command R7B costs $0.0375 per 1M input tokens and $0.15 per 1M output tokens on Cohere.

What is the context window of Command R7B?

Command R7B has a 128,000-token context window and returns up to 4,096 tokens per response.

Which providers offer Command R7B?

Command R7B is available from Cohere through LiteLLM, using the model name command-r7b-12-2024.

How do I call Command R7B with an OpenAI-compatible API?

Use the LiteLLM Python SDK with model="command-r7b-12-2024", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/chat/completions from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.

What features does Command R7B support?

Command R7B supports function calling.

When did LiteLLM add Command R7B?

Command R7B was added to LiteLLM's model price file in January 2025.

Sources

Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request. Provider pricing pages:

LiteLLM docs: Cohere.

Provider pages: Cohere.