Command-R

CohereForAI

cohere

Able to chat in more than 10 languages, Cohere AI's Command-R is optimized for RAG but can perform well in any task.

Model info

Model

Command-R

Author

CohereForAI

Arch

cohere

Parameters

35B

Format

gguf

Size on disk

about 13.82 GB

Download and run Command-R

Open in LM Studio to view download options

Download c4ai-command-r from the terminal

Download the model using lms — LM Studio's developer CLI.

lms get c4ai-command-r
If you don't have it yet, get it by running npx lmstudio install-cli

Call c4ai-command-r from your code

curl http://localhost:1234/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{
    "model": "c4ai-command-r",
    "messages": [
      { "role": "system", "content": "Always answer in rhymes." },
      { "role": "user", "content": "Introduce yourself." }
    ],
    "temperature": 0.7,
    "max_tokens": -1,
    "stream": true
  }'

Next Steps: Build! 🔨

Learn more