Models / cohere/command-a

Cohere: Command A

by cohere

Input price

$2.50 /1M tok

Output price

$10.00 /1M tok

Context length

256K tokens

JSON mode

Yes

Model details

Model ID
cohere/command-a
Provider
cohere
Modality
text->text
Supports response_format
Yes

Supported parameters

Parameter Type Description
modelstringModel identifier, e.g. cohere/command-a
messagesarrayArray of message objects with role and content
temperaturenumberSampling temperature (0-2). Default varies by model.
max_tokensintegerMax tokens to generate
top_pnumberNucleus sampling (0-1)
streambooleanStream response via SSE
stopstring | arrayStop sequences
response_formatobjectSet to {"type": "json_object"} for guaranteed JSON output
See also: All cohere models · All models · Pricing comparison · Best models by task