Quick answer
OpenAI's help splits ChatGPT into Chat, Work and Codex modes; Codex is the one to select for developer views and technical detail.
On the left, a chat: you paste code, get text back and carry it over by hand. On the right, an agent: it opens the project, edits it and checks the result itself.
ChatGPT is OpenAI's app where you talk to a model in three modes: Chat, Work and Codex. A chat sees only what you pasted into it and replies with text. An agent for programs, and Codex is exactly that, opens the files of your project itself, changes them and checks the result with commands. A pull request is a proposal to merge changes into the project's main branch: colleagues review it and either accept it or send it back for rework. The model in every mode comes from the GPT family, so the choice depends on access to the project and on what you need at the end.
An everyday example. Timur lives in Almaty and maintains an online shop. In the morning he pastes an unfamiliar function into the chat and asks how it calculates a discount: the answer arrives as text, and that is enough. In the afternoon he has to fix a failing test. He opens Codex, names the test and asks it to run all the checks after the fix. The agent finds the file, changes it, runs the tests and shows the list of changes. One question, one fix: two modes in one day.
A common mistake is asking the chat to fix a repository. The chat returns a piece of code, and you still have to paste it into the right files and run the tests. If you catch yourself carrying answers into the project by hand again and again, the task belongs to Codex. The opposite mistake is launching an agent for a question like "how does this work". A chat is enough to explain, and no edits in the project are needed.
One question to yourself checks the choice: after the answer, do I need to change files and run something? If yes, take Codex; if all you need is an answer, take the chat.
Three modes of ChatGPT
OpenAI's help describes the modes in one line each: Chat for a question or back-and-forth, Work for a larger task carried to a reviewable result, Codex for development.
A mode is a way of working with the same model: it decides what you get at the end and what access ChatGPT receives. All three modes live in one app and share one subscription.
What each mode produces: Chat gives text, Work gives a finished document or spreadsheet, Codex gives code changes, test results and a pull request.
Nadia lives in Berlin and runs a small appointment-booking service. In a single day she needs all three modes. In the morning she asks how two ways of storing time in a database differ: that is Chat. In the afternoon she needs a summary for a client of what was done this month: she turns on Work and gets a finished document. In the evening she has to fix the appointment-length calculation and check it with tests: that is Codex. Nadia reached each mode from the result she wanted to get.
Chat is the mode for a question or a conversation with back-and-forth. OpenAI's help gives examples: ideas, drafts, file summaries. Work with code fits too, if you need to understand a snippet or an error: you paste the text and get an explanation. The output is always text. Example: Nadia pasted an error message from a log and asked what it meant.
In Work mode ChatGPT takes on a larger task and carries it to a result you can review. You turn this mode on in the switcher. The output is a finished document, spreadsheet or research. On the web it runs in a managed cloud. Example: Nadia asked for a summary for the client and received a document that only needed to be read and sent.
Codex is the mode for development: technical detail and engineering views. It reads the repository itself, edits files, runs tests and prepares a pull request. If you want a diagram of the concept, there is one in the glossary.
Example: Nadia named the test that fails and limited the edit to one folder. A few minutes later she had a list of changes and the result of the run. Regional restrictions on Codex are not covered in this article: they have a separate article on Codex access.
Chat opens on the website and in the mobile app. Work runs on the website in a managed cloud and in the desktop app. Codex is selected in the desktop app; OpenAI lists the terminal, the IDE extension and the cloud among the places for Codex. A dash in the diagram means the help names no such place for that mode.
Places where each mode opens. The terminal and the IDE extension are named only for Codex.
Codex and ChatGPT side by side
Rows come from OpenAI's help on modes and plans; the source sits next to each claim. Date checked: 18.11.2026.
David lives in Tbilisi and is choosing where to start in a team of three. He takes the summary table as a memo: he goes down the rows "purpose", "output" and "sees the project" and quickly sees that a chat will not replace an agent in a repository. To check the table yourself, use two OpenAI pages: the help on modes and the help on plans.
Codex works in a loop of several steps. The agent reads the project, edits files, runs tests and shows a diff, that is, the list of changes line by line. If the tests fail, it goes back to the edit. The output is a pull request that a person reviews. The agent takes project instructions from the AGENTS.md file: build commands and prohibitions are worth writing there.
The Codex loop: reads, edits, runs tests and edits again when they fail; a person reviews the diff and the pull request.
| ChatGPT Chat | ChatGPT Work | Codex | |
|---|---|---|---|
| Purpose | a question or back-and-forth: ideas, drafts, file summaries | a larger task carried to a reviewable result | development: technical detail and engineering views |
| Output | text | a finished deliverable: document, spreadsheet, research | code changes, test results, a pull request |
| Sees the project | only what you paste | what you give access to | reads the repository itself |
| Where to open | website and mobile app | website and desktop app; on the web it runs in a managed cloud | desktop app, terminal, IDE extension, cloud |
| Plan | Work and Codex are included in Free, Go, Plus, Pro, Business, Edu and Enterprise; no separate fee | ||
| Limits | depend on the plan; on Free and Go Codex is meant for light tasks, and Plus costs 20 dollars a month | ||
| With an API key | — | — | terminal, SDK and IDE are billed at API rates; cloud features such as GitHub code review are not included |
The model in all three modes comes from the GPT family; what differs is access to the project and the kind of result.
Plan and limits
Work and Codex are not sold separately: they come with ChatGPT plans.
A plan is what you pay ChatGPT, and one plan opens all three modes. Plans differ in limits: how much Codex work fits into your plan. On Free and Go it is meant for light and quick tasks, and Plus costs 20 dollars a month. This article gives no exact limit numbers: I did not find them, and they depend on the plan.
One plan opens three modes. Limits depend on the plan.
Lina lives in Warsaw and writes scripts for an accounting office. She opens OpenAI's plans page and sees that Codex is included even in the free plan, but meant there for quick tasks. For her first week that is enough: she fixes one script and confirms the approach works. When the tasks multiply, she moves to Plus for 20 dollars a month. You can check your own plan on OpenAI's plans page: it names the Codex line for each plan.
An API key is a programmatic password that lets a program call a model without a subscription; payment goes at API rates for actual usage. With such a key Codex works in the terminal (CLI), in the SDK and in the IDE extension. Cloud features such as code review on GitHub are not included in this mode.
API key: payment at API rates; the terminal, SDK and IDE work, cloud features do not.
Does Codex cost extra? No. It is included in the ChatGPT plans Free, Go, Plus, Pro, Business, Edu and Enterprise, with no separate payment. How to check: open OpenAI's help on plans and find the line "included in your ChatGPT … plan".
Does an API key give everything a subscription does? No. The terminal, SDK and IDE extension work with a key, cloud features are not included, and payment goes at API rates. How to check: read the paragraph about the API key in the same help on plans.
Is Codex unavailable on the free plan? It is available: it is included in Free, but meant for quick coding tasks. How many such tasks fit into the limit, I did not find in the help.
When to use which
You choose per task: the modes share one subscription, so there is no need to pick one for the whole project.
Start by asking what you want at the end: an explanation, a document, or a changed and verified project. The answer decides the mode.
Decision tree: from what you need to get, to the mode.
| Situation | What to take | Why |
|---|---|---|
| Understand someone else's snippet or an error from a log | ChatGPT Chat | pasting the text is enough to get an explanation |
| Fix a bug in a repository and verify with tests | Codex | finds the file itself, edits and runs tests |
| Write a letter, a spec, a summary or a presentation | ChatGPT Work | the result is a document, not code |
| A big change across several files, a pull request is needed | Codex in the cloud or in the terminal | the task runs in a separate sandbox, and the output is changes for review |
| You need another model or work inside an editor | Claude Code or Cursor | Claude Code runs on Claude models, Cursor connects models from different companies |
Oscar lives in Helsinki and got an error from the logs that he does not recognize. He pastes the message into the chat and a minute later knows what the error is. There is nothing to change in the project, so Chat. Irma in Tallinn is preparing a project summary for management: she needs a document rather than code, so she turns on Work. Pavel in Prague has to fix the delivery calculation across four files and attach a pull request: he hands the task to Codex in the cloud and receives changes for review. Each of them chose the mode by the result they expected at the end.
If you have to carry an answer into code by hand more than twice, hand the task to Codex. If you need another model or work inside an editor, Claude Code runs on Claude models and Cursor connects models from different companies; a comparison of these agents is in a separate article.
Getting started
Three ready prompts: each names the goal, the place and the way to verify. An agent does not know what counts as done until you tell it.
Yana lives in Bratislava and runs Codex on a work project for the first time. She climbs a ladder: first she asks it to read and run the tests without changing anything, then to fix one test, then to prepare a pull request. At each step she checks the result before moving on.
Three steps: read and run, one edit, a pull request.
Read README and AGENTS.md. Tell me how the tests are run and run them without changing anything. Show which ones fail.
Fix the failing test in tests/orders.test.ts. Edit only src/orders/. After the fix run all the tests and show the diff.
Prepare a pull request from these changes: a short title, what changed and how to verify.The first prompt checks that the agent finds and runs the tests. If the tests run, the agent can then verify itself. If they do not run, an edit made blind gets you nowhere: the agent will not know whether it fixed the test. So begin with a prompt to read and run, and allow edits only afterwards.
AGENTS.md is a file with instructions for the agent that Codex reads at the start of work. You write into it the build and test commands, the folders that must not be touched, and the style rules. The more precise the file, the less the agent guesses. How to check: in the first prompt ask the agent to retell how the tests are run, and compare with the file.