Command R7B (12-2024) API

Command R7B (12-2024) on AIMLAPI.

Modalities
Image, TextText
In / Out price
$0.0397/$0.1587per 1M
Context window
125K tokens
Released
Dec 14, 2024

Command R7B (12-2024) overview

The pelican test: one prompt, every text model, unedited SVG output from Nov 3, 2026.

SVG of a pelican riding a bicycle, written by Command R7B (12-2024) through AI/ML API

Command R7B (12-2024) specs

Model ID
cohere/command-r7b-12-2024
Developer
Cohere
Context window
128,000 tokens
Max output
4,000 tokens
Input
Image, Text
Output
Text
API
OpenAI-compatible, base URL https://api.aimlapi.com/v1

What is Command R7B (12-2024) API?

Where to Use Command R7B (12-2024)

Coding and code review
Generate, debug, and review code across languages, reading whole files or repos in a single prompt.

Agentic and multi-step workflows
Reliable tool-calling and instruction-following suit agent loops that plan, call tools, and iterate.

Use cases

Command R7B (12-2024) is documented as suited for retrieval-augmented generation (RAG), where outputs are grounded in external data sources to improve accuracy.

It is also suited for tool use, including real-world workflows that involve search engines, APIs, vector databases, and avoiding unnecessary tool calls.

The model is documented for agentic applications, especially fast REACT-style agents that break complex questions into subgoals and perform active information seeking.

It is also described as strong for high-throughput, latency-sensitive applications such as chatbots and code assistants.

Capabilities

  • Function calling
  • Reasoning
  • Streaming
  • Structured outputs
  • Web search

Command R7B (12-2024) API pricing

Command R7B (12-2024) pricing in US dollars
UsagePriceUnit
Input$0.03971M tokens
Output$0.15871M tokens

Prices from the AI/ML API price list, checked on Nov 4, 2026.

Command R7B (12-2024) vs other models: token prices

AI/ML API input and output rates for 5 models, per million tokens.

AI/ML API model prices in USD per million tokens
ModelInputOutput
Command R7B (12-2024)$0.0397$0.1587
Gemma 3 (12B)$0.0529$0.1587
Command R (08-2024)$0.1587$0.6348
Command A$2.65$10.58
Command R+ (08-2024)$2.65$10.58

How to use the Command R7B (12-2024) API

View docs

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"

2Make your first request

curl 'https://api.aimlapi.com/v1/chat/completions' \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "cohere/command-r7b-12-2024",
  "messages": [
    {
      "role": "user",
      "content": "Write a haiku about the ocean."
    }
  ]
}'

Related articles

All posts

Command R7B (12-2024) FAQ

What is the context window of Command R7B (12-2024)?

Command R7B (12-2024) has a 128,000 tokens context window and can return up to 4,000 tokens.

What inputs and outputs does Command R7B (12-2024) support?

Command R7B (12-2024) takes image, text as input and returns text.

What is the model ID for Command R7B (12-2024)?

Use cohere/command-r7b-12-2024 as the model id. Requests go to https://api.aimlapi.com/v1/chat/completions.

How much does Command R7B (12-2024) cost?

Command R7B (12-2024) costs $0.0397 input and $0.1587 output per 1M tokens on AI/ML API, billed as you go with no subscription.

Does Command R7B (12-2024) support streaming?

Yes, Command R7B (12-2024) can stream responses as they are generated.

Can Command R7B (12-2024) read images?

Yes, Command R7B (12-2024) accepts image input alongside text.

Who created Command R7B (12-2024)?

Command R7B (12-2024) was built by Cohere.

Does Command R7B (12-2024) support tool calling?

Yes, it supports tools, parallel tool calls, and function calling.

Start building with Command R7B (12-2024)

Command R7B (12-2024) API

cohere/command-r7b-12-2024

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"

2Make your first request

curl 'https://api.aimlapi.com/v1/chat/completions' \
  -H "Authorization: Bearer $AIMLAPI_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
  "model": "cohere/command-r7b-12-2024",
  "messages": [
    {
      "role": "user",
      "content": "Write a haiku about the ocean."
    }
  ]
}'