From a75e799cbbda71eaa0a00a6525ef78d682417d03 Mon Sep 17 00:00:00 2001 From: Vincent Koc Date: Mon, 23 Feb 2026 12:33:38 -0500 Subject: [PATCH] Cohere: update docs/providers/cohere.md --- docs/providers/cohere.md | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 docs/providers/cohere.md diff --git a/docs/providers/cohere.md b/docs/providers/cohere.md new file mode 100644 index 00000000000..f39a14985a7 --- /dev/null +++ b/docs/providers/cohere.md @@ -0,0 +1,34 @@ +--- +summary: "Use Cohere models with OpenClaw" +read_when: + - You want to use Cohere models in OpenClaw + - You need Cohere API key onboarding and model refs +title: "Cohere" +--- + +# Cohere + +OpenClaw supports Cohere through Cohere's OpenAI-compatible API (`cohere/...` model refs). + +## Quick setup + +```bash +openclaw onboard --auth-choice cohere-api-key +# or +openclaw onboard --cohere-api-key "$COHERE_API_KEY" +``` + +## Example config + +```json5 +{ + env: { COHERE_API_KEY: "sk-..." }, + agents: { defaults: { model: { primary: "cohere/command-a-03-2025" } } }, +} +``` + +## Notes + +- Cohere auth uses `COHERE_API_KEY`. +- Provider base URL defaults to `https://api.cohere.ai/compatibility/v1`. +- Onboarding default model is `cohere/command-a-03-2025`.