Cohere Provider Setup: Auth and Model Selection

Configure Cohere as a provider using the official OpenClaw plugin, set up API key authentication, and choose from the built-in model catalog. Useful for teams adding Cohere inference to an OpenAI-compatible stack.

Read this when

  • You want to use Cohere with OpenClaw
  • You need the Cohere API key env var or CLI auth choice

Cohere offers OpenAI-compatible inference via its Compatibility API. An official external plugin from OpenClaw makes Cohere available.

PropertyValue
Provider idcohere
Plugin@openclaw/cohere-provider
Auth env varCOHERE_API_KEY
Onboarding flag--auth-choice cohere-api-key
Direct CLI flag--cohere-api-key <key>
APIOpenAI-compatible (openai-completions)
Base URLhttps://api.cohere.ai/compatibility/v1
Default modelcohere/command-a-plus-05-2026
Context window128,000 tokens

Built-in catalog

Model refVisibilityInputContextMax outputNotes
cohere/command-a-plus-05-2026visibletext, image128,00064,000Default; flagship agentic and reasoning model
cohere/command-a-03-2025hiddentext256,0008,000Previous generation; replaced by Command A+
cohere/command-a-reasoning-08-2025hiddentext256,00032,000Previous generation; replaced by Command A+
cohere/command-a-vision-07-2025hiddentext, image128,0008,000Previous generation; replaced by Command A+
cohere/north-mini-code-1-0visibletext256,00064,000Agentic coding; reasoning; free limits

Two reasoning modes are available through the Compatibility API for Cohere models that support reasoning. none is what OpenClaw uses for off, while any enabled thinking level maps to high. Because Command A Vision cannot use tools, OpenClaw leaves agent tools turned off for it.

Get started

  1. Add the official plugin:
openclaw plugins install @openclaw/cohere-provider

When a Gateway is running, the install is applied to it automatically; if not, it takes effect at the next startup. Refer to Apply changes and inspect.

  1. Generate a Cohere API key.
  2. Start onboarding:
openclaw onboard --non-interactive --accept-risk --skip-health \
  --auth-choice cohere-api-key \
  --cohere-api-key "$COHERE_API_KEY"
  1. Verify that the catalog is available:
openclaw models list --provider cohere

Cohere becomes the primary model through onboarding only if no primary model has been set already.

Your model entries survive onboarding, and generated catalog rows are left to discovery. In addition, with models.mode: "replace" the built-in catalog gets written, since that mode does not run discovery.

Environment-only setup

Expose COHERE_API_KEY to the Gateway process, then pick the Cohere model:

{
  agents: {
    defaults: {
      model: { primary: "cohere/command-a-plus-05-2026" },
    },
  },
}

Note

For a Gateway that runs as a daemon or inside Docker, define COHERE_API_KEY on that service. Setting it in an interactive shell alone will not reach a Gateway that is already running.

451 words · updated Oct 25, 2026