# Cohere: Command A — Use via Hanzo AI API

> Command A is an open-weights 111B parameter model with a 256k context window focused on delivering great performance across agentic, multili... Access via Hanzo&#x27;s OpenAI-compatible API. Context: 256K. Get started free.

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

# Cohere: Command A

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

Command 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...

text

[Get API Key](https://hanzo.ai/signup)[View Docs](https://docs.hanzo.ai)[Try in Chat](https://hanzo.ai/chat)

## Specifications

Context Window

256K

Modalities

text

Input

$3.00 / M tokens

Output

$12.00 / M tokens

Status

available

Category

third-party

Model ID

cohere/command-a

## Quick Start

TypeScript

```
import OpenAI from &#x27;openai&#x27; const client = new OpenAI({ apiKey: process.env.HANZO_API_KEY, baseURL: &#x27;https://api.hanzo.ai/v1&#x27; }) const response = await client.chat.completions.create({ model: &#x27;cohere/command-a&#x27;, messages: [{ role: &#x27;user&#x27;, content: &#x27;Hello!&#x27; }] }) 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-a", 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 &#x27;{ "model": "cohere/command-a", "messages": [{"role": "user", "content": "Hello!"}] }&#x27;
```

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-a", Messages: []openai.ChatCompletionMessage{ {Role: openai.ChatMessageRoleUser, Content: "Hello!"}, }, }, ) fmt.Println(resp.Choices[0].Message.Content) }
```

## More from Cohere

[Cohere: Command R (08-2024)128Kcommand-r-08-2024 is an update of the 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...](https://hanzo.ai/models/cohere/command-r-08-2024)[Cohere: Command R+ (08-2024)128Kcommand-r-plus-08-2024 is an update of the Command R+ 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)[Cohere: 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)[Cohere: North Mini Code (free)256KNorth Mini Code is Cohere&#x27;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 Cohere: Command A via Hanzo AI

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

[Get Free API Key](https://hanzo.ai/signup)[Browse All Models](https://hanzo.ai/models)
