Most "Codex vs Copilot" articles frame it as a fight: which one should you pay for, which one wins. After using both on the same set of projects for months, I think the framing is wrong. They are not competitors. They are two different tools that happen to share a category name, and I use them for completely different jobs.

This is the honest breakdown: what each one actually does for me, where each one impressed me, where each one tripped, and whether the $20/month is worth it when a free option exists.

The test ground: six real projects

I am not reviewing these from a weekend trial. Both tools have been in daily rotation across six projects of mine:

  • A Go backend service with SQLite storage (10k+ lines)
  • This website, plus the Go CMS I wrote to run it
  • A WeChat mini-program (a pattern library for perler bead art)
  • A mobile proxy app
  • A mobile photo album app
  • A small game (Squirrel & Nuts)

Different stacks, different sizes, different kinds of tedium. That variety matters, because Codex and Copilot shine in different corners of the same codebase.

The one-line difference

Codex takes tasks. Copilot takes keystrokes.

When I use Codex, I hand it a job — "split this 1,400-line handler file into focused packages, keep the tests green" — and it plans, edits across multiple files, runs commands, hits errors, and iterates. My role shifts to reviewer: I read diffs, reject what changes behavior, and approve what does not.

When I use Copilot, nothing is delegated. I am still typing every line myself; it just guesses the next few characters before I type them. Ghost text appears, I press Tab if it is right, keep typing if it is not. The unit of work is the keystroke, not the task.

Once you see that distinction, most of the comparison questions answer themselves.

Where Codex impressed me

Story one: a full migration, end to end. This site used to be a hand-built static generator. Moving it to the CMS I wrote myself — plus setting up the VPS deployment with a Cloudflare tunnel, systemd units, and scheduled backups — was the kind of job I kept postponing because it touched everything: content model, templates, deployment, DNS. I handed the migration to Codex with a written plan, and it carried the whole thing through over a couple of sessions. My actual work was decision-making: approving the content model, reviewing each diff before it landed, and doing the final acceptance against the live site. If you want the full story, it is written up in my piece on moving this site from a static generator to a CMS.

Story two: the 10k-line refactor. A Go service I maintain had grown a 1,400-line handler file that nobody wanted to touch. I estimated two full days to split it into packages, add table-driven tests, and remove a legacy migration path. With Codex, the mechanical work — moving functions, fixing imports, generating test tables — collapsed. The job finished in roughly one day, of which maybe four hours were me actively reviewing diffs, and the test suite stayed green the entire time. The detailed accounting, including what it cost, is in my write-up of letting Codex refactor a 10k-line Go codebase.

The pattern in both stories: the work was broad but comprehensible — many files, many mechanical steps, no deep mystery. That is exactly the shape of job an autonomous assistant is good at.

Where Codex tripped

I would not trust it without reading this section.

It will happily "clean up" code it does not understand. Twice during the refactor it proposed changes that looked like tidy refactors but silently changed observable behavior. Both times the test suite caught it — which is precisely why the rule is "keep tests green after every step," not "the model said it is fine."

It over-engineers simple tasks and forgets in long sessions. Ask for a small fix and you may get a small framework. And on a long session over a big codebase, it forgets decisions made an hour earlier. My workaround became a written plan file (PLAN.md / REFACTOR.md) that acts as the source of truth I keep re-pointing it at. The model is a fast pair-programmer with an excellent memory for the last ten minutes — not an oracle that remembers your architecture meeting.

Where Copilot impressed me

Copilot's free tier is the best value in my entire stack, for one specific thing: boilerplate at the speed of thought.

Writing Go means endless repetition with small variations — handler signatures, struct definitions, error wrapping, table-driven test scaffolds. Copilot's ghost text lands often enough that I stopped noticing it; I just press Tab and keep going. The same held for the repetitive page code in the WeChat mini-program: once the pattern exists in the file, the next instance writes itself.

The key word is flow. Codex's value is measured in hours saved per task. Copilot's is measured in micro-interruptions avoided — you never leave the editor, never break to look up a signature, never lose the thread. For pure typing-heavy work, the free tier pays for itself in the first hour.

Where Copilot tripped

Confidently wrong completions. It will complete a call to a standard-library function that does not exist, or supply an import path that is one word off — and because ghost text looks like your own typing, a careless Tab turns into a compile error (or worse, something that compiles and does the wrong thing). You still have to read what you "typed."

Weak cross-file awareness. When I changed a function signature in one file, completions in other files kept using the old signature for a while. It is improving at this, but the mental model to keep: Copilot sees your current file very well and the rest of your project approximately. Anything that spans files is Codex territory.

The money question: $20/month vs free

Copilot's free tier costs nothing and genuinely works, so the honest question is only about Codex: when does $20/month pay back?

My rule after these projects: Codex pays for itself the first time it absorbs a task that would have cost you half a day or more of focused work. One migration or one refactor per month — the kind of job every maintainer has queued up — already covers the subscription several times over at any reasonable hourly rate. If, instead, all your coding is steady in-editor typing with no delegable tasks, the free tier is the rational choice and the $20 stays in your pocket.

You can run your own numbers — your hourly rate, your realistic hours saved per month — with the calculator below. Do the math with your situation, not mine.

Monthly value of time saved$375.00
Net monthly benefit$355.00
Net annual benefit$4,260.00
Payback period (incl. setup)0.4 months (under a month)
Break-even hours per month0.3 hrs
VerdictWorth it — it pays for itself

So which one should you pick?

Neither question — "which is better" or "should I switch" — is the right one. Pick by work mode:

  • You type code all day and want fewer micro-interruptions? Start with Copilot free. Zero cost, immediate payoff, nothing to set up.
  • You have whole tasks you would otherwise lose half a day to — migrations, refactors, test scaffolding, deployment plumbing? That is Codex territory, and the $20/month is cheap against a day of your time.
  • You maintain real projects over years? You will end up like me: Copilot running in the background of every typing session, Codex invoked whenever a job is too broad for keystrokes. They do not conflict; they cover different axes of the same work.

One honesty note before you go: I use Copilot's free tier, and I have not used Cursor or Windsurf, so I am not going to pretend to compare them. Everything above is from two tools I actually run on projects that ship.