FAQ: models and auth
기준일: 2026-07-26
공식 기준: FAQ: models and auth
FAQ: models and auth 문서는 OpenClaw 공식 문서(help/faq-models)를 한국어로 정리한 가이드입니다. FAQ: model defaults, selection, aliases, switching, failover, and auth profiles 명령·설정 키·코드 예시는 공식 문서를 그대로 보존하며, 해석과 절차 안내는 한국어로 제공합니다. 최종 동작은 설치된 CLI 버전과 공식 원문을 확인하세요.
핵심 요약
FAQ: model defaults, selection, aliases, switching, failover, and auth profiles
한국어 가이드 범위: help/faq-models 경로의 설정·명령·제약·예시를 학습용으로 재구성합니다.
문서 구성
공식 문서의 주요 섹션은 다음과 같습니다.
- Models: defaults, selection, aliases, switching
- Model failover and "All models failed"
- Auth profiles: what they are and how to manage them
- 관련 문서
상세 내용
본문
Model- and auth-profile Q&A. For setup, sessions, gateway, channels, and troubleshooting, see the main FAQ.
위 내용은 공식 문서의 해당 섹션 요지입니다. 세부 플래그·기본값은 원문과
--help를 확인하세요.
Models: defaults, selection, aliases, switching
Models are provider/model refs (example: openai/gpt-5.5, anthropic/claude-sonnet-4-6). Always set provider/model explicitly. If you omit the provider, OpenClaw tries an alias match first, then a unique configured-provider match for that model id, then falls back to the configured default provider (deprecated compatibility path). If that provider no longer has the configured default model, OpenClaw falls back to the first configured provider/model instead of a stale default.
위 내용은 공식 문서의 해당 섹션 요지입니다. 세부 플래그·기본값은 원문과
--help를 확인하세요.
주요 항목:
/modelin chat (per-session, see Slash commands)openclaw models set ...(updates just model config)openclaw configure --section model(interactive)- edit
agents.defaults.modelin~/.openclaw/openclaw.jsondirectly - Native Codex coding agent: set
agents.defaults.model.primaryto - Direct OpenAI API tasks outside the agent loop: configure
- OpenAI agent API-key auth:
/model openai/gpt-5.5with an ordered - Sub-agents: route coding tasks to a Codex-focused agent with its
- Per session: send
/fast onwhile usingopenai/gpt-5.5. - Per model default: set
- Automatic cutoff:
/fast autoorparams.fastMode: "auto"runs new
agents.defaults.model.primary
/model opus@anthropic:default
/model opus@anthropic:work
{
agents: {
defaults: {
models: {
"openai/gpt-5.5": {
params: {
fastMode: "auto",
fastAutoOnSeconds: 30,
},
},
},
},
},
}
Model override "provider/model" is not allowed by agents.defaults.modelPolicy.allow.
Model failover and "All models failed"
- Auth profile rotation within the same provider. 2. Model fallback to the next model in
agents.defaults.model.fallbacks.
위 내용은 공식 문서의 해당 섹션 요지입니다. 세부 플래그·기본값은 원문과
--help를 확인하세요.
주요 항목:
- Confirm where profiles live — current:
- Confirm the Gateway loads your env var.
ANTHROPIC_API_KEYset only in - Confirm you're editing the right agent — multi-agent setups have
- Run
openclaw models statusto see configured models and provider - Use Claude CLI: run `openclaw models auth login --provider anthropic
- Prefer an API key instead: put
ANTHROPIC_API_KEYin - Remote mode: auth profiles live on the gateway machine, not your
openclaw models auth order clear --provider anthropic
Auth profiles: what they are and how to manage them
관련: /concepts/oauth (OAuth flows, token storage, multi-account patterns)
위 내용은 공식 문서의 해당 섹션 요지입니다. 세부 플래그·기본값은 원문과
--help를 확인하세요.
주요 항목:
- OAuth / CLI login often uses subscription access where the
- API keys use pay-per-token billing.
~/.openclaw/agents/<agentId>/agent/auth-profiles.json
# Defaults to the configured default agent (omit --agent)
openclaw models auth order get --provider anthropic
# Lock rotation to a single profile
openclaw models auth order set --provider anthropic anthropic:default
# Or set an explicit order (fallback within provider)
openclaw models auth order set --provider anthropic anthropic:work anthropic:default
# Clear override (fall back to config auth.order / round-robin)
openclaw models auth order clear --provider anthropic
# Target a specific agent
openclaw models auth order set --provider anthropic --agent main anthropic:default
관련 문서
주요 항목:
- FAQ — the main FAQ
- FAQ — quick start and first-run setup
- Model selection
- Model failover
실습 체크리스트
- 공식 문서와 로컬 버전을 대조합니다:
https://docs.openclaw.ai/help/faq-models - 관련 CLI는
openclaw --help및 하위 명령--help로 옵션을 확인합니다. - 설정 변경 시
openclaw config/openclaw doctor로 유효성을 검사합니다. - Gateway·채널·플러그인 변경 후에는 필요 시 Gateway를 재시작합니다.
자주 쓰는 명령·설정 예시
agents.defaults.model.primary
/model opus@anthropic:default
/model opus@anthropic:work
{
agents: {
defaults: {
models: {
"openai/gpt-5.5": {
params: {
fastMode: "auto",
fastAutoOnSeconds: 30,
},
},
},
},
},
}
Model override "provider/model" is not allowed by agents.defaults.modelPolicy.allow.
{
env: { MINIMAX_API_KEY: "sk-...", OPENAI_API_KEY: "sk-..." },
agents: {
defaults: {
model: { primary: "minimax/MiniMax-M3" },
models: {
"minimax/MiniMax-M3": { alias: "minimax" },
"openai/gpt-5.5": { alias: "gpt" },
},
},
},
}
{
agents: {
defaults: {
model: { primary: "anthropic/claude-opus-4" },
models: {
"anthropic/claude-opus-4": { alias: "opus" },
"anthropic/claude-sonnet-4-6": { alias: "sonnet" },
},
},
},
}
관련 링크
- 공식 원문: help/faq-models
- OpenClaw 문서 홈
이 가이드는 공식 문서를 한국어 학습용으로 재구성한 것입니다. 옵션 기본값·플래그 이름은 설치 버전에 따라 달라질 수 있습니다.