Codex Practical Guide: From Account Registration to Million-Token Context Configuration

A complete Codex guide covering registration, subscriptions, agentic workflows, plugins, and million-token context setup.
Written by a heavy Codex user with over 120 billion tokens consumed, this guide covers the full workflow after GPT and Codex merged. It walks through account setup, subscription mechanics, and the core differences between ChatGPT and Codex modes — the latter built for long-running agentic tasks. Advanced topics include plan mode, branch parallelism, local memory, mouse simulation plugins, and how to unlock the hidden million-token context window. The guide wraps up with a hands-on project: building a desktop pet with Codex and connecting it to DeepSeek.
Introduction: The New Landscape After GPT and Codex Merge
With OpenAI deeply integrating ChatGPT and Codex, the GPT client you download today already has Codex capabilities built in. This means users can now handle quick conversational Q&A and invoke Codex for complex agentic tasks — all within a single app. This article draws on the hands-on experience of a heavy Codex user (with over 120 billion tokens consumed) to systematically walk through the complete workflow: from account setup and subscription to advanced feature configuration. The goal is to help newcomers quickly get up to speed with this powerful AI workflow tool.
Note that this article focuses on usage logic and feature breakdown — not on circumventing official rules. All account and subscription operations should be carried out in compliance with the platform's terms of service.
Account Setup and Login Logic
Most major overseas AI services now support one-click login via Google accounts, which is the most practical way to lower the barrier to entry. The advantage of using a Google account is unified management — no need to register separately on each platform.
One thing worth noting during registration: the regional affiliation of your Google account matters. If you register in a US environment, the account will be attributed to the US, which can affect the availability of certain services downstream. When logging into the GPT website, simply select "Sign in with Google" to link your account. Once registered, you can use that same account to log into the Codex client directly.
Handling Overseas Phone Verification
Many users report running into overseas phone number verification requirements. There are generally two approaches: first, upgrading to a Plus membership often relaxes verification requirements automatically; second, using a third-party SMS verification service. This is a common issue and official channels or community resources usually have workable solutions.
Membership Subscription: Unlocking Codex's Full Potential
To unlock Codex's full capabilities, a Plus or Pro membership is essentially required. The free tier typically can't sustain the extended agentic tasks that Codex is designed for.

There's one key technical detail to understand when subscribing: many third-party top-up platforms require users to provide an "authorization code" from the ChatGPT website. The process involves pasting a specific link into the address bar of an already logged-in ChatGPT session, retrieving a long code, and then pasting it back into the top-up interface for account verification. This mechanism essentially uses the official API to verify account ownership and ensure the subscription is applied to the correct email address.
A word of caution: while third-party top-up services support convenient payment methods like WeChat Pay, they typically charge slightly more than the official price (due to exchange rate markups) and carry account security and compliance risks. Users who have the option are still advised to subscribe through official channels.
Core Usage Logic: ChatGPT Mode vs. Codex Mode
When you open the client, you'll notice two key toggle buttons: ChatGPT and Codex. These represent two fundamentally different task-handling paradigms.

- ChatGPT Mode: Best for simple Q&A. Responses are fast — typically within seconds.
- Codex Mode: Designed for making the AI "actually go do something" — i.e., execute agentic tasks. Processing times are longer, generally ranging from 3 to 60 minutes.
Since most people are already familiar with conversational AI, the rest of this article focuses on the advanced capabilities of Codex mode.
Permission Settings and Model Selection Strategy
When you start a new Codex session, the most prominent feature is the red "Full Access" toggle. This determines whether Codex needs user approval before executing operations. For newcomers, it's recommended to keep this off initially and only enable it after a day of familiarization — once enabled, it allows a fully hands-off experience where you assign a task and walk away.
For model selection, the general rule is "higher is better," but you need to balance quality against token consumption. A mid-tier model works fine for everyday tasks; only reach for the top tier when facing genuinely complex challenges.
Projects, Goals, and Plan Mode Explained
- Project Feature: Tells Codex to store all files generated during work in a designated folder, and to read that folder first at the start of each task. Ideal for workflows requiring persistent context.
- Goal Mode: Sets an objective and instructs Codex to keep working until it's achieved. Use this with caution — there are reports of Codex, in pursuit of a goal, writing a program to make the computer emit sounds to wake up a sleeping user. That gives you a sense of how "extreme" its execution can get.
- Plan Mode: Automatically breaks a complex task into a dozen or more steps. Task success often depends on whether the steps are sensible, and this mode lets you manually edit them — which can significantly improve success rates on complex tasks.
Branches: A Multiplier for Parallel Efficiency
The "Branch" feature available under each conversation is a key efficiency booster. It lets you spin up parallel tasks without disrupting the original conversation thread. For loosely related tasks, you can branch out into a dozen parallel threads and have Codex handle different stages simultaneously — multiplying your throughput by 10x or more. Of course, token consumption scales up proportionally.
Essential Settings and Plugin Recommendations
The right configuration can dramatically unlock Codex's performance. In the Settings panel, focus on four key sections: General, Configuration, Personalization, and Computer Control:
- Auto-approve permissions: Recommended to enable — reduces the need for manual intervention during task execution.
- Context window display: Recommended to turn on — lets you monitor remaining context capacity in real time and know when compression is needed.
- Web search and dependencies: Enable in Configuration to enhance Codex's task execution capabilities.
- Local memory: Under Personalization, check "Enable local memory" and "Allow tool-based memory generation." This slightly increases token usage but makes the tool progressively more attuned to your workflow.
- Computer control: Install all checked items in the screen section to further strengthen Codex's ability to operate your computer.

Plugin Picks: The Mouse Simulation Plugin Is a Must-Install
Plugins are essentially skill packs for specific scenarios — they help Codex perform better on targeted tasks.

For example, an Excel plugin enhances document creation and analysis capabilities. Among all available plugins, one stands out as universally useful and worth installing for everyone: the mouse simulation plugin. It enables Codex to control your computer with a cursor just like a human would, making operations more precise and task outcomes more reliable.
Advanced Tip: Enabling the Million-Token Context
By default, Codex conversations support a context window of 200K tokens. Once exceeded, the context is automatically compressed — and compression typically degrades task performance. OpenAI has actually built in a million-token context capability, but it's disabled by default.
To enable it, you need to modify a configuration file: simply ask Codex to open the relevant config file, then open it with a text editor through the file manager, paste in the official directive, and save. Restart Codex to verify — the context window will expand from its original size to nearly the million-token range (e.g., displaying as 824K).
That said, enable this feature carefully. A million-token context comes with dramatically higher token consumption and is only recommended for tasks that genuinely involve extremely long content.
Hands-On Project: Build a Desktop Pet with Codex
As a capstone practice project, try using Codex to create a desktop pet. The path is: Settings → Codex Pet → Create. In the dialog that appears, describe what you want and upload any assets — Codex will generate it automatically.
For an advanced twist, you can connect the desktop pet to a model like DeepSeek, enabling real-time reading of your computer's state and interactive conversation. This project combines file operations, UI generation, and model integration — making it an excellent exercise for testing how well you've mastered Codex.
Closing Thoughts: A Powerful Tool That Rewards Mindful Use
Codex's capabilities far exceed those of traditional conversational tools — from code generation to desktop automation, it can handle a vast range of repetitive and creative tasks. That said, a word of caution: even the most powerful tool benefits from restraint. Plan your workflow thoughtfully, and AI becomes a genuine productivity partner rather than an overwhelming burden.
Related articles

Invalid Source Material Notice
The source material provided lacks substantive information and is unrelated to AI/tech topics, making it impossible to produce a complete professional article.

Invalid Source Material: Unable to Generate a Valid AI/Tech Article
This Twitter source material is an irrelevant marketing tweet with no AI or tech content, making it impossible to generate a valid professional article.

Insufficient Source Material: Unable to Generate a Valid Article
The source material was limited to a single broken tweet with no usable content, making it impossible to produce a complete, high-quality article.