# Cursor vs Claude Code vs Codex — AI Coding Compared > In-depth comparison of the three leading AI coding tools in 2026. Covers pricing, context window, MCP support, agent capabilities, and best use cases for each platform. ## Install Paste the prompt below into your AI tool: # Cursor vs Claude Code vs Codex — AI Coding Compared (Guide) Companion guide to a 2026 prompt comparing Cursor, Claude Code and Codex CLI: pricing, MCP, agents, workflows and how to verify claims. ## Quick Use This asset is a **prompt** titled “Cursor vs Claude Code vs Codex — AI Coding Compared”. Ordinary users copy the original prompt text (the immutable evidence in this listing) into an AI chat, such as Claude, ChatGPT, or Cursor's chat panel, and ask for the comparison, a recommendation for their workflow, or an updated table. Nothing is installed, no code runs, and the prompt itself makes no network requests. 1. Copy the complete original prompt, including the `## Quick Use` table, the feature/pricing tables, the FAQ and the `ZH` section. 2. Paste it into an AI chat and add your own context, for example: “I use Python and work solo; which tool should I start with?” 3. Ask for the output in the same structure (tables + FAQ) so it is easy to compare. ### Setup and inputs - **Required input:** the prompt itself. No files must exist, no install command is needed. - **Optional inputs:** your team size, budget, language/OS, whether you need MCP or CI/CD, and any tool you already pay for. - **Setup:** none. A chat window with a capable model is enough. If you want richer answers, add your repository description (not secrets or private code). ### Checking the output The prompt contains factual claims about third-party products (prices, free tiers, context windows, MCP support). Treat the model's answer as a draft, not as verified fact: - Re-check prices and free-tier limits on the vendors' own pricing pages. - Confirm MCP support and context-window numbers in the official documentation. - Confirm any install command before running it; commands shown in the prompt are examples, not tested instructions here. - Ask the model to mark each number with “verified on ” or “unverified”. - Missing information: if the model cannot cite a source, treat the claim as unverified and ask for the vendor page. ### Permissions and limitations No special permissions, credentials or API keys are required to use the prompt. The prompt itself executes nothing. However, any command it suggests (for example `npm install -g @openai/codex`, `/plugin marketplace add openai/codex-plugin-cc`, or `npx -y @maximhq/bifrost`) is a third-party action you would run in your own environment; review it and its license before running. Vendor prices, model names, limits and MCP support change frequently, so the comparison can become outdated. Third-party names and links belong to their owners. ### FAQ / 常见问题 **Q1: Do I need to install Claude Code, Cursor or Codex CLI to use this prompt?** No. The prompt is plain text for a chat model. The install commands inside it are only suggestions for the tools being compared. **Q2: Can I trust the pricing and feature tables?** No, not without checking. They reflect the author's 2026 snapshot; verify each number against the vendor's official page before making a purchase decision. ### Source attribution Source reviewed: (repository `openai/codex`, commit `dde5f8c5ae9b644c6882b3a48581ac317255d597`, Apache-2.0). The snapshot also shows the asset's original title and description, which compare Cursor, Claude Code and Codex CLI. This companion guide was written from that supplied snapshot; the prompt's runtime behaviour was not tested. The installed asset's original entrypoint, files and metadata are unchanged. ## Complete upstream material

Codex CLI is a coding agent from OpenAI that runs locally on your computer.

Codex CLI splash


If you want Codex in your code editor (VS Code, Cursor, Windsurf), install in your IDE.
If you want the desktop app experience, run codex app or visit the Codex App page.
If you are looking for the cloud-based agent from OpenAI, Codex Web, go to chatgpt.com/codex.

--- ## Quickstart ### Installing and running Codex CLI Run the following on Mac or Linux to install Codex CLI: ```shell curl -fsSL https://chatgpt.com/codex/install.sh | sh ``` Run the following on Windows to install Codex CLI: ```shell powershell -ExecutionPolicy ByPass -c "irm https://chatgpt.com/codex/install.ps1 | iex" ``` The standalone installers download from `https://releases.openai.com/codex` by default and fall back to GitHub Releases if a metadata or asset download is unavailable. To force GitHub Releases, set `CODEX_INSTALLER_USE_RELEASES_OPENAI_COM` to `false` (`0` and `no` are also accepted): ```shell curl -fsSL https://chatgpt.com/codex/install.sh | CODEX_INSTALLER_USE_RELEASES_OPENAI_COM=false sh ``` ```powershell $env:CODEX_INSTALLER_USE_RELEASES_OPENAI_COM='false'; irm https://chatgpt.com/codex/install.ps1 | iex ``` Codex CLI can also be installed via the following package managers: ```shell # Install using npm npm install -g @openai/codex ``` ```shell # Install using Homebrew brew install --cask codex ``` Then simply run `codex` to get started.
You can also go to the latest GitHub Release and download the appropriate binary for your platform. Each GitHub Release contains many executables, but in practice, you likely want one of these: - macOS - Apple Silicon/arm64: `codex-aarch64-apple-darwin.tar.gz` - x86_64 (older Mac hardware): `codex-x86_64-apple-darwin.tar.gz` - Linux - x86_64: `codex-x86_64-unknown-linux-musl.tar.gz` - arm64: `codex-aarch64-unknown-linux-musl.tar.gz` Each archive contains a single entry with the platform baked into the name (e.g., `codex-x86_64-unknown-linux-musl`), so you likely want to rename it to `codex` after extracting it.
### Using Codex with your ChatGPT plan Run `codex` and select **Sign in with ChatGPT**. We recommend signing into your ChatGPT account to use Codex as part of your Plus, Pro, Business, Edu, or Enterprise plan. [Learn more about what's included in your ChatGPT plan](https://help.openai.com/en/articles/11369540-codex-in-chatgpt). You can also use Codex with an API key, but this requires [additional setup](https://developers.openai.com/codex/auth#sign-in-with-an-api-key). ## Docs - [**Codex Documentation**](https://developers.openai.com/codex) - [**Contributing**](https://github.com/openai/codex/blob/dde5f8c5ae9b644c6882b3a48581ac317255d597/docs/contributing.md) - [**Installing & building**](https://github.com/openai/codex/blob/dde5f8c5ae9b644c6882b3a48581ac317255d597/docs/install.md) - [**Open source fund**](https://github.com/openai/codex/blob/dde5f8c5ae9b644c6882b3a48581ac317255d597/docs/open-source-fund.md) This repository is licensed under the [Apache-2.0 License](https://github.com/openai/codex/blob/dde5f8c5ae9b644c6882b3a48581ac317255d597/LICENSE). ## Source and license [Source](https://github.com/openai/codex/blob/dde5f8c5ae9b644c6882b3a48581ac317255d597/README.md) · [License](https://github.com/openai/codex/blob/dde5f8c5ae9b644c6882b3a48581ac317255d597/LICENSE) · `dde5f8c5ae9b644c6882b3a48581ac317255d597` Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright 2025 OpenAI Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --- # Cursor vs Claude Code vs Codex——AI 编程工具对比(指南) 2026 年提示词配套指南,对比 Cursor、Claude Code 与 Codex CLI 的价格、MCP、智能体能力与组合工作流,并说明如何核实信息。 ## 快速使用 本资产是一条**提示词**,标题为“Cursor vs Claude Code vs Codex — AI Coding Compared”。普通用户把原始提示词全文(即本条目中的不可变证据)复制到 AI 聊天工具中,例如 Claude、ChatGPT 或 Cursor 的聊天面板,然后要求它做对比、给出适合自己工作流的推荐,或更新表格。全程无需安装任何东西,不会执行代码,提示词本身也不会发起网络请求。 1. 复制完整的原始提示词,包括 `## Quick Use` 表格、功能/价格表、FAQ 以及 `ZH` 部分。 2. 粘贴到 AI 聊天中,并补充你自己的情况,例如:“我用 Python,个人开发,应该先用哪个工具?” 3. 要求模型沿用相同结构(表格 + FAQ)输出,方便对比。 ### 准备与输入 - **必需输入:** 提示词本身。不需要任何文件,也不需要安装命令。 - **可选输入:** 团队规模、预算、语言/操作系统、是否需要 MCP 或 CI/CD、已付费的工具。 - **准备步骤:** 无。有一个能对话的模型窗口即可。若想让回答更贴合,可补充代码库的文字描述(不要提供密钥或私有代码)。 ### 如何检查输出 提示词中包含大量关于第三方产品的事实性说法(价格、免费额度、上下文窗口、MCP 支持)。请把模型的回答当作草稿,而不是已验证的事实: - 到厂商官方定价页重新核对价格与免费额度。 - 在官方文档中确认 MCP 支持情况与上下文窗口数字。 - 对任何安装命令,先核实再运行;提示词里的命令只是示例,本指南并未测试执行。 - 要求模型为每个数字标注“已于 <日期> 核实”或“未核实”。 - 信息缺失时:如果模型无法给出出处,就按未核实处理,并要求它提供厂商页面。 ### 权限与限制 使用该提示词不需要任何特殊权限、凭据或 API 密钥,提示词本身不执行任何操作。但它建议的命令(例如 `npm install -g @openai/codex`、`/plugin marketplace add openai/codex-plugin-cc` 或 `npx -y @maximhq/bifrost`)都是需要在你自己环境中运行的第三方操作;运行前请自行审阅并查看其许可证。厂商价格、模型名称、额度与 MCP 支持变化频繁,因此对比内容可能很快过时。第三方名称与链接归各自所有者所有。 ### 常见问题 **Q1:使用这条提示词需要先安装 Claude Code、Cursor 或 Codex CLI 吗?** 不需要。这条提示词是给聊天模型看的纯文本,里面的安装命令只是被对比工具的安装方式建议。 **Q2:价格和功能表可以信任吗?** 不能直接信任。它们反映的是作者在 2026 年的记录;在做购买决定前,请逐一与厂商官方页面核对。 ### 来源说明 已审阅来源:(仓库 `openai/codex`,提交 `dde5f8c5ae9b644c6882b3a48581ac317255d597`,Apache-2.0)。快照同时显示了本资产原有的英文标题与描述,其中对 Cursor、Claude Code 与 Codex CLI 进行了比较。本配套指南依据所提供的快照撰写,未对提示词的运行效果进行测试。已安装资产的原始入口、文件与元数据均保持不变。 ## 完整上游材料译文

Codex CLI 是 OpenAI 推出的编码智能体,可在你的计算机上本地运行。

Codex CLI splash


如果你希望在代码编辑器(VS Code、Cursor、Windsurf)中使用 Codex,请在 IDE 中安装。
如果你想要桌面应用体验,请运行 codex app 或访问 Codex App 页面。
如果你在寻找 OpenAI 的云端智能体——Codex Web,请访问 chatgpt.com/codex。

--- ## 快速开始 ### 安装并运行 Codex CLI 在 Mac 或 Linux 上运行以下命令来安装 Codex CLI: ```shell curl -fsSL https://chatgpt.com/codex/install.sh | sh ``` 在 Windows 上运行以下命令以安装 Codex CLI: ```shell powershell -ExecutionPolicy ByPass -c "irm https://chatgpt.com/codex/install.ps1 | iex" ``` 独立安装程序默认从 `https://releases.openai.com/codex` 下载,如果元数据或资产下载不可用,则回退到 GitHub Releases。要强制使用 GitHub Releases,请将 `CODEX_INSTALLER_USE_RELEASES_OPENAI_COM` 设置为 `false`(`0` 和 `no` 也可接受): ```shell curl -fsSL https://chatgpt.com/codex/install.sh | CODEX_INSTALLER_USE_RELEASES_OPENAI_COM=false sh ``` ```powershell $env:CODEX_INSTALLER_USE_RELEASES_OPENAI_COM='false'; irm https://chatgpt.com/codex/install.ps1 | iex ``` Codex CLI 也可以通过以下包管理器安装: ```shell # Install using npm npm install -g @openai/codex ``` ```shell # Install using Homebrew brew install --cask codex ``` 然后只需运行 `codex` 即可开始。
你也可以前往最新的 GitHub Release,下载适合你平台的二进制文件。 每个 GitHub Release 都包含许多可执行文件,但实际上,你多半只需要以下其中之一: - macOS - Apple Silicon/arm64:`codex-aarch64-apple-darwin.tar.gz` - x86_64(较老的 Mac 硬件):`codex-x86_64-apple-darwin.tar.gz` - Linux - x86_64:`codex-x86_64-unknown-linux-musl.tar.gz` - arm64:`codex-aarch64-unknown-linux-musl.tar.gz` 每个压缩包中只包含一个条目,其名称中已带有平台标识(例如 `codex-x86_64-unknown-linux-musl`),因此解压后你多半想把它重命名为 `codex`。
### 结合 ChatGPT 方案使用 Codex 运行 `codex` 并选择 **Sign in with ChatGPT**。我们建议登录你的 ChatGPT 账户,以便在 Plus、Pro、Business、Edu 或 Enterprise 方案中使用 Codex。[进一步了解你的 ChatGPT 方案包含哪些内容](https://help.openai.com/en/articles/11369540-codex-in-chatgpt)。 你也可以使用 API 密钥来使用 Codex,但这需要[额外设置](https://developers.openai.com/codex/auth#sign-in-with-an-api-key)。 ## 文档 - [**Codex 文档**](https://developers.openai.com/codex) - [**贡献指南**](https://github.com/openai/codex/blob/dde5f8c5ae9b644c6882b3a48581ac317255d597/docs/contributing.md) - [**安装与构建**](https://github.com/openai/codex/blob/dde5f8c5ae9b644c6882b3a48581ac317255d597/docs/install.md) - [**开源基金**](https://github.com/openai/codex/blob/dde5f8c5ae9b644c6882b3a48581ac317255d597/docs/open-source-fund.md) 本仓库采用 [Apache-2.0 许可证](https://github.com/openai/codex/blob/dde5f8c5ae9b644c6882b3a48581ac317255d597/LICENSE) 授权。 ## 来源与许可证 [Source](https://github.com/openai/codex/blob/dde5f8c5ae9b644c6882b3a48581ac317255d597/README.md) · [License](https://github.com/openai/codex/blob/dde5f8c5ae9b644c6882b3a48581ac317255d597/LICENSE) · `dde5f8c5ae9b644c6882b3a48581ac317255d597` Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright 2025 OpenAI Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --- Source: https://tokrepo.com/en/workflows/cursor-vs-claude-code-vs-codex-ai-coding-compared-a4647a34 Author: Prompt Lab