---
title: "Codex CLI vs Pi"
description: "Codex CLI and Pi are both terminal agents. Codex CLI comes with ChatGPT plans, Pi is free to install."
canonical_url: "https://whichcoding.tools/compare/codex-cli-vs-pi"
---
# Codex CLI vs Pi

> Codex CLI is a terminal agent by OpenAI. Pi is a terminal agent by Earendil. Every cell below is read from the directory data and points back to a vendor page.

## General

|  | Codex CLI | Pi |
| --- | --- | --- |
| Layer | Terminal agent, Editor extension, Cloud agent | Terminal agent |
| Vendor | OpenAI | Earendil |
| Website | [learn.chatgpt.com/docs/codex/cli](https://learn.chatgpt.com/docs/codex/cli) | [pi.dev](https://pi.dev) |
| Platforms | macOS, Linux, Windows | macOS, Linux, Windows, Android |
| License | Apache-2.0 (Open source) | MIT (Open source) |
| Status | active | active |

## Pricing

|  | Codex CLI | Pi |
| --- | --- | --- |
| Free tier | Yes | Yes |
| Entry price | Free | Free |
| Top individual plan | $100/mo | Free |
| Team plan | $25/user/mo | — |
| Included usage | — | — |
| Beyond the plan | Rate limited, API list price | — |
| Part of a plan | ChatGPT | — |

## Models

|  | Codex CLI | Pi |
| --- | --- | --- |
| Providers | OpenAI | Anthropic, OpenAI, Google, xAI, Mistral, DeepSeek, Moonshot, Zhipu, MiniMax, OpenRouter, Vercel AI Gateway |
| Bring your own key | BYOK | BYOK |
| Local models | No | Yes |

## Features

|  | Codex CLI | Pi |
| --- | --- | --- |
| Git worktrees | Yes | No |
| Subagents | Yes | No |
| MCP client | Yes | No |
| ACP agent | Yes | Yes |
| Sandboxing | Yes | No |
| Remote execution | Yes | No |
| Diff review | Yes | No |
| Checkpoints | Yes | No |
| Plugins | Yes | Yes |
| Hooks | Yes | No |

## Works with

|  | Codex CLI | Pi |
| --- | --- | --- |
| Runs | — | — |
| Runs inside | agent-manager, ChatGPT Desktop, Claude Squad, cmux, Conductor, Devin Desktop, dmux, Emdash, goose, Herdr, JetBrains AI, Multica, Nimbalyst, OpenHands, Orca, Paseo, Superset, T3 Code, Vibe Kanban, Visual Studio Code, Warp, Xcode, YYLO, Zed | agent-manager, dmux, goose, Herdr, Orca, Paseo, Sculptor, Warp, YYLO |
| Pricing verified | 2026-10-06 | 2026-09-24 |

## Related

[Add more tools](https://whichcoding.tools/compare?tools=codex-cli,pi), up to four at a time.

Data: CC BY 4.0. Credit whichcoding.tools and link to https://whichcoding.tools. Full terms in [LICENSE-DATA](https://github.com/benjamincanac/whichcodingtools/blob/main/LICENSE-DATA).

## Sitemap

See the full [sitemap](https://whichcoding.tools/sitemap.md) for all pages.
