体验统一价格的 Claude Code 订阅服务
在 Max Plan 中使用 Claude Code
更新于昨天
目录 What is Claude Code?Why use Claude and Claude Code? How to Connect Claude Code with Your Max PlanHow Rate Limits WorkWhat Happens When You Hit Rate Limits
Max plan 用户可以直接在终端中使用 Claude Code。
What is Claude Code?
Claude Code 是一个命令行工具,让你可以直接在终端访问 Claude 模型,从而在保持透明度和控制的同时,委托复杂的编码任务。通过 Max plan,你现在可以通过一个统一的订阅,在 Web、桌面和移动应用程序中使用 Claude,并在终端中使用 Claude Code。
Why use Claude and Claude Code?
通过一个简单的订阅,使用两个强大的 AI 产品。
- 在工作和家庭中使用 Claude 进行写作、研究、分析等。
- 使用 Claude Code 进行基于终端的编码工作流程。
How to Connect Claude Code with Your Max Plan
要开始将 Claude Code 与你的 Max plan 结合使用,请执行以下操作:
- 确保你拥有有效的 Max plan 订阅
- 如果你尚未订阅 Max plan,请在 claude.ai/upgrade 升级
- Max plan 提供两个使用层级:5 倍 Pro 使用量(每月 100 美元)或 20 倍 Pro 使用量(每月 200 美元)
- 安装 Claude Code
- 访问 Claude Code documentation page 下载并安装 Claude Code
- 按照适用于你的操作系统的安装说明进行操作
- 使用你的 Claude 凭据(用于你的 Max plan)进行身份验证
- 在设置或首次使用期间收到提示时,请使用你用于 Claude 的相同凭据登录
- 这会将你的 Max plan 订阅连接到 Claude Code
- 如果你已经通过 Anthropic Console PAYG 登录到 Claude Code,请从 Claude Code 中运行 /login 以切换到 Max
How Rate Limits Work
通过 Max plan,你的使用限制在 Claude 和 Claude Code 之间共享:
- Shared rate limits:Claude 和 Claude Code 中的所有活动都计入相同的使用限制。
- Message variations:你可以在 Claude 上发送的消息数量根据消息长度、对话长度和文件附件而异。
- Coding usage variations: Claude Code 的预期使用量将根据项目复杂性、代码库大小和自动接受设置而有所不同。
- 在 Max plan(5 倍 Pro/100 美元)上,普通用户:
- 每 5 小时大约发送 225 条 Claude 消息,或者
- 每 5 小时大约发送 50-200 个 Claude Code 提示
- 在 Max plan(20 倍 Pro/200 美元)上,普通用户:
- 每 5 小时大约发送 900 条 Claude 消息,或者
- 每 5 小时大约发送 200-800 个 Claude Code 提示
这些估算基于 Claude 目前的工作方式。将来,我们将添加新功能(有些可能会使用更多,有些可能会使用更少),但我们始终致力于为你的当前计划提供最佳价值。
What Happens When You Hit Rate Limits
为了帮助你监控你的使用情况,你将看到有关剩余容量的警告消息。 当你达到速率限制时,你可以根据你的需求从以下几个选项中进行选择:
- 如果你使用的是 100 美元的 Max plan(5 倍 Pro 使用量),如果经常达到限制,请考虑升级到 200 美元的 Max plan(20 倍 Pro 使用量)。
- 你将可以灵活地切换到使用 Anthropic Console 帐户的 pay-as-you-go usage 。 这将为密集的编码冲刺提供灵活性。
- 等到你的速率限制重置。
有关有效使用的更多详细信息,请参阅我们的 Usage Limit Best Practices。
Related Articles About Claude Pro usageAbout Claude's Max Plan UsageHow much does the Max plan cost?How do I sign up for the Max plan?Choosing a Claude.ai Plan