Cohere: Command R (08-2024)
cohere/command-r-08-2024- Modalities
- text->text
- In / out price
- $0.15 / $0.6
- Context
- 128K
- Released
- Aug 30, 2024
- Knowledge cutoff
- 2024-03-31
per 1M
command-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...
Supported parameters
frequency_penaltyFrequency penalty
Lowers the chance of a token in proportion to how often it already appeared.
max_tokensMax tokens
Upper bound on generated tokens. Output stops at the limit.
presence_penaltyPresence penalty
Lowers the chance of any token that has already appeared.
response_formatResponse format
For example json_object or json_schema, to constrain the shape.
seedSeed
A fixed seed helps reproduce sampling. It does not guarantee byte-identical output.
stopStop
Stop when these strings are produced. A string or an array of strings.
structured_outputsStructured outputs
Generate a parseable structure that follows a JSON Schema.
temperatureTemperature
Sampling temperature. Lower is steadier, higher is more varied. Often 0 to 2.
tool_choiceTool choice
Whether to call a tool: auto, none, or a named function.
toolsTools
Function definitions the model may call via tool_calls.
top_kTop-K
Sample only from the K most likely tokens.
top_pTop-p
Sample only from tokens whose cumulative probability reaches top_p.