# HB Code 与 ChatGPT 桌面应用

> ChatGPT 桌面应用是 OpenAI 在你的电脑上或云端运行 Codex 的应用。HB Code 在 Mac 和 Windows 本地同时运行 Claude Code 和 Codex。

ChatGPT 桌面应用是 OpenAI 自己的应用，Codex 是其中的一种模式。你在启动时可以选择 ChatGPT 或 Codex。HB Code 是另一家公司 helpful bits GmbH 开发的独立应用，在你自己的 Mac 或 Windows PC 上使用你的 ChatGPT 登录账户运行 Codex，并使用你的 Claude 账户运行 Claude Code。

## 主要区别

ChatGPT 桌面应用是 OpenAI 自己推出的 Codex 产品。在应用中，Codex 可在本地项目文件夹、隔离的 Git worktree、通过 SSH 或在 Codex Cloud 中运行。HB Code 是独立应用，并非由 OpenAI 开发或背书。它在你自己的 Mac 或 Windows PC 的项目文件夹中运行 Codex。

HB Code 还在同一个桌面应用中同时运行 Claude Code 和 Codex。两个代理都处理你的本地文件，且 Codex 会话可以向 Claude Code 会话发送任务。你还可以连接多个 Claude 账户和 ChatGPT 订阅，并在一个列表中查看各自的限额周期。

HB Code 运行 Anthropic Claude Agent SDK 中未经修改的可执行文件，以及自行构建的 OpenAI 开源 Codex app-server。两者均内置于桌面应用中，你可以通过更新 HB Code 获得新版本的 Codex。

## 并排对比

| 主题 | HB Code | ChatGPT desktop app |
| --- | --- | --- |
| 许可证与源代码 | 并非开源软件，源代码不公开。 | Codex CLI 和 Codex app-server 采用 Apache-2.0 许可证在 GitHub 上公开源代码。下列来源未列出 ChatGPT 桌面应用的公开仓库或许可证。 |
| 价格 | 桌面应用无需付费。手机可获得 10 天连接试用期，之后需要通过 App Store 或 Google Play 订阅 HB Code Pro。 | Codex 包含在 ChatGPT 套餐中。价格页面列出每月 Free 为 $0、Go 为 $8、Plus 为 $20，Pro 为每月 $100 至 $500。Business 按年计费为每用户每月 $20，按月计费为 $25。 |
| 桌面端 | 支持 Apple 芯片上的 macOS 12 或更高版本，以及 x64 上的 Windows 10 1809 或更高版本。没有 Linux 应用。 | 支持 macOS 和 Windows。Linux 应用处于预览阶段，提供 x64 和 ARM64 安装包。 |
| 手机与网页 | 支持运行 iOS 18 或更高版本的 iPhone，以及 Android 8.0 或更高版本。没有网页应用。 | iOS 和 Android 版 ChatGPT 应用可连接到 Codex Cloud，或连接到已关联的 Mac 或 Windows PC。你可以在网页端审查并继续 Codex Cloud 任务。具体可用性取决于推送进度和工作区设置。 |
| 编程代理 | Claude Code 和 Codex。 | Codex 是 OpenAI 的编程代理。桌面应用还包含 Chat 和 ChatGPT Work。 |
| 代理登录与计费 | Claude Code 使用 Anthropic Claude Agent SDK 中未经修改的可执行文件。Codex 使用 HB Code 自行构建的 OpenAI 开源 Codex app-server。两者分别使用你自己的 Claude 和 ChatGPT 账户，HB Code 不包含这两个套餐。 | 你可以登录 ChatGPT 以使用订阅额度，或使用 OpenAI API 密钥在本地按使用量计费。Codex Cloud 需要使用 ChatGPT 登录。 |
| 开发商账户 | 在桌面上工作无需账户。远程访问和手机应用需要 HB Code 账户。 | ChatGPT 账户，或在本地工作时使用 OpenAI API 密钥。远程访问需要手机登录相同的 ChatGPT 账户和工作区。 |
| 代理在哪里工作 | 在你自己电脑的项目文件夹中运行。HB Code 不创建 worktree，而是列出仓库已有的 worktree。不在云端运行。 | Codex 在本地项目文件夹、隔离的 Git worktree、通过 SSH 或在 Codex Cloud 中运行。在 Windows 上，它可通过 Windows 沙盒在 PowerShell 中原生运行，或在 WSL2 中运行。 |
| 手机如何连接桌面端 | 通过 HB Code 中继服务器使用 TLS 传输。连接不采用端到端加密。服务器转发内容，但不存储内容。 | 手机使用相同的 ChatGPT 账户扫描桌面应用中的二维码，并通过 OpenAI 的中继层连接。远程主机在 macOS 或 Windows 上运行 ChatGPT 桌面应用。当 Control other devices 可用时，你还可以从另一台 Mac 或 Windows 设备控制主机。 |
| 账户与使用限额 | 支持多个 Claude 账户和 ChatGPT 订阅。“设置 › 代理”分别列出各自的限额周期，手机应用显示相同周期。 | ChatGPT Work 和 Codex 共享使用限额和额度。你可以在 Settings 或网页用量仪表板中查看当前限额，也可以在 Codex CLI 会话期间运行 /status。 |
| 应用内使用分析 | 桌面和手机应用不含分析或崩溃报告 SDK。只有在你允许后，桌面应用才会每天发送一次使用信号，使用不关联账户的随机 ID。启用远程访问时，服务器保存设备状态数据。 | 在 config.toml 中，analytics.enabled 设置可为机器或配置文件启用或禁用分析。未设置时将应用客户端默认值。在 Plus 和 Pro 套餐中，除非你在 ChatGPT 数据控制中关闭模型训练，否则对话可能会用于改进模型。 |

## ChatGPT desktop app：何时更适合

- 你希望使用 OpenAI 自己的 Codex 桌面应用。
- 你希望 Codex 在 Codex Cloud 中或通过 SSH 运行任务。
- 你希望应用为同一项目中的独立对话创建 Git worktree。
- 你在 Linux 上工作，或者希望使用 ChatGPT Work 和 OpenAI API 密钥登录。

## HB Code：何时更适合

- 你同时使用 Claude Code 和 Codex，并希望在同一个应用中使用两者。
- 你拥有多个 Claude 账户或 ChatGPT 订阅，并希望分别列出各自的限额周期。
- 你希望 Codex 会话和 Claude Code 会话能够互相发送任务，例如进行代码审查。
- 你希望代理通过 Browser Bridge 在 Chrome 中操作，或使用你的 Gemini API 密钥生成语音音频和讲解视频。

## 来源

- https://developers.openai.com/codex
- https://openai.com/codex
- https://learn.chatgpt.com/docs/app
- https://learn.chatgpt.com/docs/quickstart
- https://learn.chatgpt.com/docs/mobile
- https://learn.chatgpt.com/docs/remote-connections
- https://learn.chatgpt.com/docs/environments/git-worktrees
- https://learn.chatgpt.com/docs/environments/modes
- https://learn.chatgpt.com/docs/pricing
- https://learn.chatgpt.com/docs/linux/linux-app
- https://learn.chatgpt.com/docs/windows/windows-app
- https://learn.chatgpt.com/docs/codex/cli
- https://learn.chatgpt.com/docs/cloud
- https://learn.chatgpt.com/docs/auth
- https://learn.chatgpt.com/docs/app-server
- https://learn.chatgpt.com/docs/open-source
- https://learn.chatgpt.com/docs/features/voice
- https://learn.chatgpt.com/docs/use-chatgpt
- https://learn.chatgpt.com/docs/computer-use
- https://learn.chatgpt.com/docs/plugins
- https://learn.chatgpt.com/docs/whats-new
- https://learn.chatgpt.com/docs/config-file/config-basic
- https://learn.chatgpt.com/docs/config-file/config-advanced
- https://learn.chatgpt.com/docs/config-file/config-reference
- https://learn.chatgpt.com/docs/config-file/config-sample
- https://github.com/openai/codex
- https://github.com/openai/codex/blob/main/README.md
- https://help.openai.com/en/articles/20001276-moving-to-the-new-chatgpt-desktop-app
- https://help.openai.com/en/articles/11369540-using-codex-with-your-chatgpt-plan

我们于 2026年10月24日 阅读了这些页面。此后价格和功能可能发生变化。 如果本页信息有误或已过时，请告知我们，我们会更正。 [联系支持](https://www.hbcode.ai/zh-Hans/support)

## 更多对比

- [对比 HB Code 与 cmux](https://www.hbcode.ai/zh-Hans/alternatives/cmux.md)
- [对比 HB Code 与 T3 Code](https://www.hbcode.ai/zh-Hans/alternatives/t3-code.md)
- [对比 HB Code 与 Claude Code Remote Control](https://www.hbcode.ai/zh-Hans/alternatives/claude-code-remote-control.md)
- [对比 HB Code 与 Claude Desktop](https://www.hbcode.ai/zh-Hans/alternatives/claude-desktop.md)
- [对比 HB Code 与 Codex on mobile](https://www.hbcode.ai/zh-Hans/alternatives/codex-mobile.md)
- [对比 HB Code 与 Happy](https://www.hbcode.ai/zh-Hans/alternatives/happy.md)
- [对比 HB Code 与 Happier](https://www.hbcode.ai/zh-Hans/alternatives/happier.md)
- [对比 HB Code 与 Vibe Kanban](https://www.hbcode.ai/zh-Hans/alternatives/vibe-kanban.md)
- [对比 HB Code 与 Nimbalyst](https://www.hbcode.ai/zh-Hans/alternatives/nimbalyst.md)
- [对比 HB Code 与 Claude Squad](https://www.hbcode.ai/zh-Hans/alternatives/claude-squad.md)
- [对比 HB Code 与 Conductor](https://www.hbcode.ai/zh-Hans/alternatives/conductor.md)
- [对比 HB Code 与 Paseo](https://www.hbcode.ai/zh-Hans/alternatives/paseo.md)
- [所有对比](https://www.hbcode.ai/zh-Hans/alternatives.md)

## 指南

- [如何查看使用限额并使用多个账户](https://www.hbcode.ai/zh-Hans/claude-code-usage-limits.md)
- [如何查看 Claude Code 或 Codex 的工作结果](https://www.hbcode.ai/zh-Hans/claude-code-ui.md)
- [如何运行多个 Claude Code 和 Codex 会话](https://www.hbcode.ai/zh-Hans/claude-code-sessions.md)
- [如何在手机上使用 Claude Code 或 Codex](https://www.hbcode.ai/zh-Hans/claude-code-mobile.md)
- [如何查看 Claude Code 子代理的工作内容](https://www.hbcode.ai/zh-Hans/claude-code-subagents.md)
- [如何让 Claude Code 和 Codex 尝试同一项任务](https://www.hbcode.ai/zh-Hans/claude-code-vs-codex.md)
- [如何在 Mac 和 Windows 桌面应用中运行 Codex](https://www.hbcode.ai/zh-Hans/codex-desktop-app.md)
- [下载 HB Code](https://www.hbcode.ai/zh-Hans/downloads)
