# Command R (08-2024) — Use via Hanzo AI API

> command-r-08-2024 is an update of the Command R with improved performance f... Call via Hanzo's OpenAI-compatible API. Context: 128K.

[Models](https://hanzo.ai/models)/[Cohere](https://hanzo.ai/models/cohere)/command-r-08-2024

Cohere

# Command R (08-2024)

Command R (08-2024), through one API key.

[Get API key](https://platform.hanzo.ai/api-keys)[Try in Chat](https://hanzo.ai/chat)

POST /v1/chat/completionsexample

{ "model": "cohere/command-r-08-2024",
"messages": [{ "role": "user", "content": "Who are you?" }] }

Command R (08-2024)command-r-08-2024 is an update of the [Command R](/models/cohere/command-r) with improved performance for multilingual retrieval-augmented generation (RAG) and tool use. More broadly, it is better at math, code and reasoning and...

128Ktext

## Specifications

Context Window128K

Modalitiestext

Price…

Model IDcohere/command-r-08-2024

## Quick start

[Get an API key →](https://platform.hanzo.ai/api-keys)

TypeScript

Python

cURL

Go

TypeScript

```
import OpenAI from 'openai' const client = new OpenAI({ apiKey: process.env.HANZO_API_KEY, baseURL: 'https://api.hanzo.ai/v1' }) const response = await client.chat.completions.create({ model: 'cohere/command-r-08-2024', messages: [{ role: 'user', content: 'Hello!' }] }) console.log(response.choices[0].message.content)
```

Python

```
from openai import OpenAI client = OpenAI( api_key=os.environ["HANZO_API_KEY"], base_url="https://api.hanzo.ai/v1" ) response = client.chat.completions.create( model="cohere/command-r-08-2024", messages=[{"role": "user", "content": "Hello!"}] ) print(response.choices[0].message.content)
```

cURL

```
curl https://api.hanzo.ai/v1/chat/completions \ -H "Content-Type: application/json" \ -H "Authorization: Bearer $HANZO_API_KEY" \ -d '{ "model": "cohere/command-r-08-2024", "messages": [{"role": "user", "content": "Hello!"}] }'
```

Go

```
package main import ( "context" "fmt" "os" "github.com/sashabaranov/go-openai" ) func main() { cfg := openai.DefaultConfig(os.Getenv("HANZO_API_KEY")) cfg.BaseURL = "https://api.hanzo.ai/v1" client := openai.NewClientWithConfig(cfg) resp, _ := client.CreateChatCompletion(context.Background(), openai.ChatCompletionRequest{ Model: "cohere/command-r-08-2024", Messages: []openai.ChatCompletionMessage{ {Role: openai.ChatMessageRoleUser, Content: "Hello!"}, }, }, ) fmt.Println(resp.Choices[0].Message.Content) }
```

…

## More from Cohere

[Command A256KCommand A is an open-weights 111B parameter model with a 256k context window focused on delivering great performance across agentic, multilingual, and coding use cases. Compared to other leading proprietary...](https://hanzo.ai/models/cohere/command-a)

[Command A+192KCommand A+ is Cohere's flagship model for enterprise agentic workflows. It accepts text and image inputs with a 192K context window, supports native tool calling with strict tool schemas, structured...](https://hanzo.ai/models/cohere/command-a-plus)

[Command R+ (08-2024)128Kcommand-r-plus-08-2024 is an update of the [Command R+](/models/cohere/command-r-plus) with roughly 50% higher throughput and 25% lower latencies as compared to the previous Command R+ version, while keeping the hardware footprint...](https://hanzo.ai/models/cohere/command-r-plus-08-2024)

[Command R7B (12-2024)128KCommand R7B (12-2024) is a small, fast update of the Command R+ model, delivered in December 2024. It excels at RAG, tool use, agents, and similar tasks requiring complex reasoning...](https://hanzo.ai/models/cohere/command-r7b-12-2024)

[North Mini Code (free)256KNorth Mini Code is Cohere's first agentic coding model and the debut of its North family. A sparse mixture-of-experts model with 30B total parameters and 3B active, it is optimized...](https://hanzo.ai/models/cohere/north-mini-code:free)

[View all Cohere models →](https://hanzo.ai/models/cohere)

## Use Command R (08-2024) via Hanzo AI

One API key. Every major model. OpenAI-compatible. Start free.

[Get an API key](https://platform.hanzo.ai/api-keys)[Browse All Models](https://hanzo.ai/models)
