Anthropic(Claude)
Fased 支持三种 Anthropic 认证方式:- Sign in (Claude Code OAuth):使用 Claude Code OAuth 登录。
- Token (setup-token):用
claude setup-token生成 token 后粘贴。 - API key:使用 Anthropic Console API key。
在哪里设置
| 入口 | 做什么 |
|---|---|
| Control UI | 打开 Agents,选择 Agent,然后在 Agent > Models 里选择 Anthropic。 |
| Onboarding | 选择 Set up model providers,再选择 Anthropic 的 sign-in/token/API key。 |
| CLI | 使用 fased models auth login --provider anthropic --method ...。 |
API key
setup-token
setup-token 由 Claude Code CLI 创建:Prompt caching
Anthropic API key 路线支持cacheRetention:
| 值 | 缓存时长 |
|---|---|
none | 不缓存 |
short | 5 分钟 |
long | 1 小时 |
1M context beta
对支持的 Opus/Sonnet 模型可以设置:故障排除
- Claude subscription token 失效时,重新运行
claude setup-token并粘贴到 Gateway 主机。 - 运行
fased models status查看当前认证 profile。 - 新 Agent 不会自动继承另一个 Agent 的模型角色;在 Agent > Models 为该 Agent 选择模型。