在 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 产品。

How to Connect Claude Code with Your Max Plan

要开始将 Claude Code 与你的 Max plan 结合使用,请执行以下操作:

  1. 确保你拥有有效的 Max plan 订阅
    • 如果你尚未订阅 Max plan,请在 claude.ai/upgrade 升级
    • Max plan 提供两个使用层级:5 倍 Pro 使用量(每月 100 美元)或 20 倍 Pro 使用量(每月 200 美元)
  2. 安装 Claude Code
  3. 使用你的 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 之间共享:

这些估算基于 Claude 目前的工作方式。将来,我们将添加新功能(有些可能会使用更多,有些可能会使用更少),但我们始终致力于为你的当前计划提供最佳价值。

What Happens When You Hit Rate Limits

为了帮助你监控你的使用情况,你将看到有关剩余容量的警告消息。 当你达到速率限制时,你可以根据你的需求从以下几个选项中进行选择:

有关有效使用的更多详细信息,请参阅我们的 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