Command R (08-2024) API

Command R (08-2024) on AIMLAPI.

Modalities
Image, TextText
In / Out price
$0.1587/$0.6348per 1M
Context window
125K tokens
Released
Aug 30, 2024

Command R (08-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 R (08-2024) through AI/ML API

Command R (08-2024) specs

Model ID
cohere/command-r-08-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 R (08-2024) API?

Where to Use Command R (08-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 R (08-2024) is documented as suited for reasoning, summarization, and question answering. It is also documented for retrieval-augmented generation and other long-context knowledge tasks, including document summarization and content Q&A. The model is documented for tool use and agents, including complex workflows that involve code generation and multi-step tool interactions. It is also documented as optimized to interact with code, such as requesting code snippets, explanations, or rewrites.

Capabilities

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

Command R (08-2024) benchmarks by Artificial Analysis

See how Command R (08-2024) scores on independent evaluations. Data retrieved Nov 3, 2026.

Benchmark results

Compare 9 models available on AI/ML API across 5 independent benchmarks.

Humanity's Last Exam

Expert-written questions across academic subjects.

Command R (08-2024) API pricing

Command R (08-2024) pricing in US dollars
UsagePriceUnit
Input$0.15871M tokens
Output$0.63481M tokens

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

Command R (08-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 R (08-2024)$0.1587$0.6348
Command R7B (12-2024)$0.0397$0.1587
Saba$0.2116$0.6348
Command A$2.65$10.58
Command R+ (08-2024)$2.65$10.58

How to use the Command R (08-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-r-08-2024",
  "messages": [
    {
      "role": "user",
      "content": "Write a haiku about the ocean."
    }
  ]
}'

Related articles

All posts

Command R (08-2024) FAQ

What is the context window of Command R (08-2024)?

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

What inputs and outputs does Command R (08-2024) support?

Command R (08-2024) takes image, text as input and returns text.

What is the model ID for Command R (08-2024)?

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

How much does Command R (08-2024) cost?

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

Does Command R (08-2024) support streaming?

Yes, Command R (08-2024) can stream responses as they are generated.

Can Command R (08-2024) read images?

Yes, Command R (08-2024) accepts image input alongside text.

Who created Command R (08-2024)?

Command R (08-2024) was built by Cohere.

Can Command R (08-2024) call external tools or functions?

Yes, it supports function calling, including parallel tool calls and structured outputs.

Start building with Command R (08-2024)

Command R (08-2024) API

cohere/command-r-08-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-r-08-2024",
  "messages": [
    {
      "role": "user",
      "content": "Write a haiku about the ocean."
    }
  ]
}'