All posts

ComparisonDevfab Team8 min read

OpenAI Codex vs Devin: the agent in your ChatGPT plan vs a hosted AI engineer with its own workspace

OpenAI Codex vs Devin: a coding agent bundled with ChatGPT plans, or Cognition's hosted AI engineer that now includes Devin Desktop. Features and verified prices.

OpenAI Codex vs Devin: the agent in your ChatGPT plan vs a hosted AI engineer with its own workspace

Short answer: OpenAI Codex wins for teams already paying for ChatGPT who want a coding agent in the CLI, IDE and cloud at no extra seat cost. Devin wins for teams with a backlog of scoped tickets who want a hosted engineer to take them from Slack, Teams, Linear or Jira, with a single-tenant VPC option.

OpenAI Codex vs Devin: a coding agent included in ChatGPT plans compared with a hosted AI software engineer

Your backlog is long and your developers are the bottleneck. Two pitches land in your inbox. One says: your ChatGPT plan already includes a coding agent. The other says: hire an AI engineer that picks up tickets on its own. Both promise pull requests. They differ on where the work runs, who starts it and how you pay.

This page referees that debate using OpenAI and Cognition docs re-checked on November 20, 2026.

In this comparison:

Here's how each one compares.

OpenAI Codex and Devin at a glance

Both changed shape in 2026. On June 2, 2026, Windsurf was renamed Devin Desktop and joined the Devin product line, adding a local IDE and agent command center (Devin Desktop FAQ). Devin also moved to new usage-based self-serve plans in March 2026 (Devin usage docs). On July 9, 2026, OpenAI folded the Codex desktop app into a combined ChatGPT desktop app; Codex "remains focused on software development" (The New Stack).

OpenAI Codex runs in the ChatGPT desktop, web and mobile apps, the Codex CLI, an IDE extension, cloud environments, GitHub and Slack (ChatGPT + Codex docs). It runs agents in parallel and checks its own work with computer and browser tools (Codex). It is built for engineering teams and individual builders.

Devin is "an autonomous AI software engineer that can write, run and test code" (Devin docs). Each session has a shell, IDE and browser that you can watch and take over. You reach it from the web app, Slack, Microsoft Teams, a terminal CLI with /handoff to cloud Devin, or the API. Cognition lists good fits such as parallel tickets from Linear or Jira, migrations, PR review, bug reproduction, unit tests and docs.

Feature comparison

AspectOpenAI CodexDevinSource
Where it runsChatGPT apps, CLI, IDE extension, cloud, GitHub, SlackWeb app, Slack, Teams, terminal CLI, API, Devin DesktopChatGPT + Codex docs; Devin docs
PlanningApprovals and permissions documentedWorks best with explicit completion criteria; break hard work into scoped stepsChatGPT + Codex docs; Devin docs
Agent autonomyParallel agents; cloud tasks continue after you close your laptopOwn workspace per session; subagents that each open PRsCodex; Devin Desktop
Testing and reviewChecks its own work with computer and browser tools; automatic PR reviewWrites, runs and tests code; built-in Devin ReviewCodex; Devin Desktop
Deploy and hostingNot covered in the docs we checkedNot covered in the docs we checked—
Where it executesLocal CLI or OpenAI cloudCognition cloud; single-tenant VPC hosted by Cognition; "brain" always in Cognition's cloudChatGPT + Codex docs; Devin enterprise
Team and adminBusiness: SAML SSO, MFA; Enterprise: SCIM, EKM, RBAC, audit logsTeams: SSO, centralized billing, cost controls; Enterprise: SCIM, RBAC, VPCCodex pricing docs; Devin pricing
Model choiceOpenAI GPT modelsNot covered in the docs we checked for cloud DevinCodex pricing docs
Pricing modelIncluded in ChatGPT plans; credits after limitsIndividual tiers; Teams fee plus per-seat fee; Enterprise in ACUsCodex pricing docs; Devin pricing
Illustration: OpenAI Codex, Devin and Devfab compared on where work runs, review, QA and deploy

Cost model by team size

Team sizeOpenAI CodexDevinDevfab
1 personPlus USD 20 per month; Pro from USD 100 per monthFree USD 0 (light quota); Pro USD 20 per month; Max USD 200 per monthCost logged per task and per project (Beta)
5 peopleBusiness USD 20 per user per month billed annually, or USD 25 billed monthlyTeams USD 80 per month plus USD 40 per month per full dev seatCost logged per task and per project (Beta)
25 peopleBusiness, or Enterprise via salesTeams (up to 100 users), or Enterprise ("Let's talk") with usage in ACUsCost logged per task and per project (Beta)

Prices as of November 2026 from the ChatGPT + Codex pricing docs and Devin pricing. Devin bills extra usage at API rates; Codex offers credits after included limits. Devfab is in Beta and offers predictable cost: cost is logged after each run, per task and per project.

Where OpenAI Codex wins

  • You already pay for ChatGPT. Codex comes with the plan at no extra seat cost.
  • Developers want the agent locally too. The Codex CLI is open source (Apache 2.0) and runs on your machine.
  • You want one tool for chat, work and code inside the ChatGPT desktop app.
  • Five-seat cost matters. Business per-user pricing is simple to forecast for a mid-size team.

Where Devin wins

  • Tickets should start where people already talk. Tag Devin in Slack or Teams, or send it Linear and Jira tickets in parallel.
  • You want to watch and take over. Each session has a shell, IDE and browser you can step into.
  • You need a dedicated deployment. Customer Dedicated Deployment runs in a single-tenant VPC with AWS PrivateLink or IPSec (Devin enterprise).
  • You came from Windsurf. Devin Desktop keeps your editor and lets you hand local sessions to the cloud.
  • Large migrations and refactors are on Cognition's own list of good fits.

Switching from one to the other

From Codex to Devin. Both work on your repo through pull requests, so nothing to export. Keep AGENTS.md for repo rules, connect GitHub and your tracker in Devin, and write each ticket with explicit completion criteria, as Devin's docs advise (Devin docs).

From Devin to Codex. Connect GitHub to Codex, set up a cloud environment with your install steps, and keep AGENTS.md (ChatGPT + Codex docs). Move Slack hand-offs to the Codex Slack integration.

Where Devfab fits

Codex and Devin both take a ticket and return a pull request. Neither decides what the tickets should be. In the docs we checked, neither researches the business domain before planning, sends a project plan to a person for approval, runs a separate QA step on user journeys, or deploys the app to your server.

Coding agents automate the developer. Devfab automates the development lifecycle. For a café chain's loyalty app, Devfab's Researcher maps points, rewards and fraud practices before the Planner writes a plan. A person approves the plan; ChainFlow shows that changing how points are earned also touches receipts, the rewards screen and monthly reports; the QA agent runs UI, flow and logic tests; Deploy ships to your server. Devfab is in Beta, with fewer integrations, and is not an editor. See Devfab vs Devin.

FAQ

What is the main difference between Codex and Devin?

Codex is a coding agent included in ChatGPT plans that you run from the ChatGPT apps, a CLI, an IDE or the cloud. Devin is Cognition's hosted AI engineer: each session gets its own shell, IDE and browser, and you can tag it in Slack, Teams, Linear or Jira to take tickets.

Is Windsurf part of Devin now?

Yes. On June 2, 2026 Windsurf was renamed Devin Desktop and joined the Devin product line. It adds a local IDE and agent command center, with sessions you can hand off from your machine to Devin in the cloud.

Which is cheaper for a team of five?

As of November 2026, Codex on ChatGPT Business is USD 20 per user per month billed annually. Devin Teams is USD 80 per month for the team plus USD 40 per month per full dev seat. Both add usage beyond what is included, so test with real tasks.

Can either one run fully on my own servers?

Not fully. Devin offers a single-tenant VPC deployment hosted by Cognition, but its docs say Devin's brain always runs in Cognition's cloud. The Codex CLI is open source and runs locally, but the models run at OpenAI. Neither is a fully self-hosted product.

Want the tickets, the tests and the deploy decided for you, with your approval? Try Beta

Frequently asked questions

What is the main difference between Codex and Devin?

Codex is a coding agent included in ChatGPT plans that you run from the ChatGPT apps, a CLI, an IDE or the cloud. Devin is Cognition's hosted AI engineer: each session gets its own shell, IDE and browser, and you can tag it in Slack, Teams, Linear or Jira to take tickets.

Is Windsurf part of Devin now?

Yes. On June 2, 2026 Windsurf was renamed Devin Desktop and joined the Devin product line. It adds a local IDE and agent command center, with sessions you can hand off from your machine to Devin in the cloud.

Which is cheaper for a team of five?

As of November 2026, Codex on ChatGPT Business is USD 20 per user per month billed annually. Devin Teams is USD 80 per month for the team plus USD 40 per month per full dev seat. Both add usage beyond what is included, so test with real tasks.

Can either one run fully on my own servers?

Not fully. Devin offers a single-tenant VPC deployment hosted by Cognition, but its docs say Devin's brain always runs in Cognition's cloud. The Codex CLI is open source and runs locally, but the models run at OpenAI. Neither is a fully self-hosted product.