Pi vs OpenAI Codex
Pi (Earendil Inc. (created by Mario Zechner)) and OpenAI Codex (OpenAI) side by side on public data, as of Nov 20, 2026.
OpenAI Codex has 4.2x the weekly package downloads of Pi (26.6M against 6.4M). Pi and OpenAI Codex are close on GitHub stars (123K and 136K). Over the last 30 days downloads moved +36% for Pi and +7% for OpenAI Codex. Pi shipped 23 stable releases in the past 90 days.
Which should you choose?
Choose Pi if
- you want to switch between model providers (9 documented against 3)
- you want the one gaining users faster (downloads up 36% in 30 days, +2% in the last 7)
Choose OpenAI Codex if
- you want it inside your editor
- you want to work from a browser
- you want to check in from your phone
- you want subagents or several agents working in parallel
- you prefer the more widely used tool, with more docs and answers around (Gid Score 84 against 73)
Built from documented features, official prices, status pages and usage data on this page; it does not judge output quality.
Side-by-side numbers
| Metric | Pi | OpenAI Codex |
|---|---|---|
| Gid Score | 73 | 84 |
| Usage data as of | Nov 19 | Nov 19 |
| Rank by Gid Score | #7 | #2 |
| Downloads, last 7 days | 6.4M | 26.6M |
| Downloads, 7-day change | up 1.6% | up 2.4% |
| Downloads, 30-day change | up 36.3% | up 7.4% |
| VS Code installs | — | 16.9M |
| Marketplace rating | — | 2.7 / 5 (975) |
| GitHub stars | 123K | 136K |
| Homebrew installs, 30 days | 8,441 | 529K |
| Hacker News mentions, 30 days | 43 | 1,429 |
| Latest stable release | 1.5.2 · 10d ago | 0.168.0 · 7d ago |
| Stable releases, 90 days | 23 | — |
| Terminal-Bench (best run) | — | 62.1% · v4.1 |
| Price | Free (OSS) | Free + $8/mo |
| Usage limits | — | 5-hour limit, weekly limits may apply Go: GPT-6 Luna in the desktop app; limits not published all plans |
| Incidents, last 30 days | — | 1 |
| License | MIT | Apache-2.0 |
| First released | November 2025 | April 2025 |
| Interfaces | CLI, SDK | CLI, IDE extension, Desktop, Web, Mobile, SDK |
| Models | 15+ providers (Anthropic, OpenAI, Google, Azure, Bedrock, Mistral, Groq, xAI, OpenRouter, Ollama and more) via API keys or OAuth | OpenAI GPT models (GPT-6 family per current docs) via ChatGPT sign-in or an OpenAI API key |
A dash means there is no public data for that metric as of Nov 20, 2026.
Trends
Pi
Minimal, extensible open-source coding agent harness with interactive TUI, print/JSON, RPC and SDK modes, created by Mario Zechner and now maintained by Earendil Inc. It supports 15+ model providers through API keys or OAuth and is customized with TypeScript extensions, skills and packages. Its tools and extensions run with the permissions of the Pi process; Pi does not sandbox tool calls or ask before each one.
Pricing: Free and MIT-licensed; costs are those of the chosen model provider. Pi Durable (experimental) is also free per the 1.0 announcement.
Latest release 1.5.2:
- Fork sessions whose folder is gone: when a session's original folder was moved or deleted, you can now fork it into the current folder instead of only continuing, so later resumes no longer ask.
- When a session's working directory no longer exists, for example after the project folder was renamed, interactive mode now offers Continue, Fork, or Cancel instead of only continuing.
- Fixed /import of a session whose working directory no longer exists leaving a copy in the session directory, and continuing it leaving a second copy with the same ID (s.jsonl and s-1.jsonl).
- Fixed Anthropic OAuth requests reporting an outdated Claude Code version
OpenAI Codex
OpenAI's coding agent, offered as an open-source terminal CLI, an IDE extension, a desktop app and a cloud agent that works on repositories. Users sign in with a ChatGPT account or use an OpenAI API key; with an API key, Codex works in the CLI, SDK and IDE extension without cloud features such as GitHub code review and Slack. On the Free and Go plans Codex runs in the desktop app (subject to rollout); the web, CLI and IDE extension come with Plus and higher.
Pricing: Included in ChatGPT plans: Free $0, Go $8/month, Plus $20/month, Pro from $100/month ($100, $200 or $500 tiers), Business $20/user/month billed annually ($25 monthly), Enterprise and Edu by contact. API-key use is billed at API rates (no cloud features).
Latest release 0.168.0:
- Browse model providers under Sessions → Model providers and choose the default for new chats.
- Enable features.tui_workspace to view a side conversation beside the main chat. Drag the divider to resize the panes or press leader z to zoom the focused pane.
- Attach recordings when using an audio-capable model. Codex skips confirmed rejected recordings on later turns and uses clip duration to keep more short recordings in context.
- Enable features.image_generation_animation to generate or edit animated GIFs with optional frame count and timing controls.
Pi vs OpenAI Codex: common questions
How do Pi and OpenAI Codex prices compare?
Pi: Free (OSS). OpenAI Codex: Free + $8/mo. Prices come from each vendor's pricing page.
Which is more popular, Pi or OpenAI Codex?
OpenAI Codex has a Gid Score of 84 against 73 for Pi. The score combines package downloads, editor installs, GitHub activity and attention, updated daily.