Skip to content
reebuff
Comparisons

The free alternative to OpenAI Codex (and the Codex CLI)

A free CLI coding agent that runs your code, edits your repo, and ships PRs.

In short

  • Freebuff is the free alternative to OpenAI Codex and the Codex CLI.
  • Codex requires ChatGPT Plus ($20/mo) or higher to run the cloud agent.
  • Freebuff runs locally, ships with 9 subagents, and has a model picker with MiMo 2.6 Flash (the default), GLM 5.3 Flash, DeepSeek V4.1 Flash, GPT-6 Luna, and more. Freebuff Desktop can also run Codex on your own ChatGPT subscription.
  • Same shape: read repo, plan, edit, run, verify, PR.

OpenAI Codex is brilliant. It is also gated behind a ChatGPT Plus subscription, with cloud-only execution and limited control over which model handles each turn. Freebuff is the same loop, free, local, and model-agnostic.

What "free version of Codex" actually looks like

Codex (the cloud agent and the Codex CLI) is OpenAI’s answer to autonomous coding: hand it a repo and a task, and it plans, edits, runs the test suite, and opens a PR. Freebuff runs commands and edits files locally on your machine, and the per-task cost is zero. Freebuff edits files locally but sends relevant prompts, code, files, and repository context to its servers and model providers. See the Privacy Policy for details.

Feature-by-feature: Freebuff vs Codex

FeatureFreebuffOpenAI Codex
PriceFreeChatGPT Plus ($20+/mo) required
Execution locationLocal — your machine, your filesystemOpenAI cloud sandbox
Model choiceMiMo 2.6 Flash (default), GLM 5.3 Flash, DeepSeek V4.1 Flash, GPT-6 Luna, and more; Codex harness in Desktop with your own ChatGPT subscriptionGPT-5.x family only
Subagents9 specializedGeneral agent only
Use your ChatGPT subscriptionYes, as the Codex harness in Freebuff DesktopYou are already paying
Browser-use subagentBuilt-inLimited
Run on a private repoEdits run locally, but relevant prompts, code, files, and repository context are sent to Freebuff and model providers.Cloud sandbox uploads

When Codex is still the better pick

  • You want pure cloud execution. Codex spins up sandboxes; nothing to install. Freebuff runs locally.
  • You want OpenAI’s exact agent loop and prompt taste. Freebuff has its own opinions.

When Freebuff is the better pick

  • You want work to run locally. Freebuff edits files locally but sends relevant prompts, code, files, and repository context to its servers and model providers. See the Privacy Policy for details.
  • You want to pick the cheapest or fastest model per task. /model switches mid-conversation.
  • You already have a ChatGPT subscription. Freebuff Desktop can run Codex on it, next to the free Freebuff harness.
  • You want subagents that specialize. Browser-use, code-reviewer, file-picker, thinker-with-files-gemini are all included.

Migrating from Codex CLI

  1. Install: npm install -g freebuff.
  2. cd into the repo Codex was working on.
  3. Hand it the same prompt you would give Codex. The shape of the loop is the same.

Get the free alternative to OpenAI Codex

No ChatGPT Plus required. Runs locally on your machine.

See the install command

Questions

Do I need a ChatGPT subscription?
No. Freebuff is free and brings its own models — pick one from the model selector and start coding. There is nothing to connect and nothing to pay for. Only Freebuff Desktop’s optional Codex harness uses your ChatGPT subscription.
Will Freebuff open a PR for me like Codex?
Yes. Run /pr and the agent will create a branch, write a commit message, push, and open a pull request with a summary.