cohere
Cohere: Command A
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...
Context
256k tokens
Input / 1M tokens
$2.50
Output / 1M tokens
$10
Benchmark
—
Pricing
Input tokens$2.50 per 1M tokens
Output tokens$10 per 1M tokens
Technical details
Model IDcohere/command-a
Context window256k tokens
Input modalitiestext
Output modalitiestext
TokenizerOther
Max output tokens8,192
Use with MegaBrain
import OpenAI from 'openai'
const client = new OpenAI({
baseURL: 'https://getmegabrain.com/api/gateway/v1',
apiKey: process.env.MEGABRAIN_API_KEY,
})
const response = await client.chat.completions.create({
model: 'cohere/command-a',
messages: [{ role: 'user', content: 'Hello!' }],
})