Cohere Provider
기준일: 2026-07-26
난이도: 중급
공식 기준: Cohere
개요
이 페이지는 OpenClaw Cohere provider의 인증, 모델 ref, 온보딩 플래그, 설정 키를 공식 문서 기준으로 정리합니다.
공식 요약: Cohere setup (auth + model selection)
model ref는 보통 provider/model 형식입니다. API key·endpoint·model id는 아래 원문 값을 그대로 쓰세요. 임의로 키나 엔드포인트를 만들지 마세요.
빠른 참조
| Property | Value |
|---|---|
| Provider id | cohere |
| Plugin | bundled during transition; official external package |
| Auth env var | COHERE_API_KEY |
| Onboarding flag | --auth-choice cohere-api-key |
| Direct CLI flag | --cohere-api-key <key> |
| API | OpenAI-compatible (openai-completions) |
| Base URL | https://api.cohere.ai/compatibility/v1 |
| Default model | cohere/command-a-plus-05-2026 |
| Context window | 128,000 tokens |
공식 문서 기반 상세
아래는 공식 providers/cohere 문서를 Mintlify 컴포넌트만 정리하고 공통 제목을 한국어로 맞춘 내용입니다. 설정 키, env, model ref, CLI 플래그는 원문 그대로 유지합니다.
Cohere provides OpenAI-compatible inference through its Compatibility API. OpenClaw bundles the Cohere provider during its externalization transition and also publishes it as an official external plugin.
| Property | Value |
|---|---|
| Provider id | cohere |
| Plugin | bundled during transition; official external package |
| Auth env var | COHERE_API_KEY |
| Onboarding flag | --auth-choice cohere-api-key |
| Direct CLI flag | --cohere-api-key <key> |
| API | OpenAI-compatible (openai-completions) |
| Base URL | https://api.cohere.ai/compatibility/v1 |
| Default model | cohere/command-a-plus-05-2026 |
| Context window | 128,000 tokens |
Built-in catalog
| Model ref | Input | Context | Max output | Notes |
|---|---|---|---|---|
cohere/command-a-plus-05-2026 |
text, image | 128,000 | 64,000 | Default; flagship agentic and reasoning model |
cohere/command-a-03-2025 |
text | 256,000 | 8,000 | Previous Command A model |
cohere/command-a-reasoning-08-2025 |
text | 256,000 | 32,000 | Agentic reasoning and tool use |
cohere/command-a-vision-07-2025 |
text, image | 128,000 | 8,000 | Vision and document analysis; no tool use |
cohere/north-mini-code-1-0 |
text, image | 256,000 | 64,000 | Agentic coding; reasoning; free limits |
Reasoning-capable Cohere models support two Compatibility API reasoning modes. OpenClaw maps off to none and every enabled thinking level to high. Command A Vision does not support tool use, so OpenClaw keeps agent tools disabled for that model.
Get started
- Cohere ships with current OpenClaw packages. If it is missing, install the external package and restart the Gateway:
openclaw plugins install @openclaw/cohere-provider
openclaw gateway restart
- Create a Cohere API key.
- Run onboarding:
openclaw onboard --non-interactive \
--auth-choice cohere-api-key \
--cohere-api-key "$COHERE_API_KEY"
- Confirm the catalog is available:
openclaw models list --provider cohere
Onboarding only sets Cohere as the primary model when no primary model is already configured.
Environment-only setup
Make COHERE_API_KEY available to the Gateway process, then select the Cohere model:
{
agents: {
defaults: {
model: { primary: "cohere/command-a-plus-05-2026" },
},
},
}
If the Gateway runs as a daemon or in Docker, set
COHERE_API_KEYfor that service. Exporting it only in an interactive shell does not make it available to an already-running Gateway.
관련 문서
검증 체크리스트
-
openclaw models list --provider cohere로 모델이 보이는지 확인 - 기본 model alias를
agents.defaults.model.primary에 설정했는지 확인 - API key / OAuth / 로컬 런타임 인증 경로를 공식 문서와 대조했는지 확인
- failover 시 데이터가 다른 provider로 이동할 수 있는지 검토