GPT-6.2 Astra and Codex China Deployment Guide: Registration, Installation, and Top-Up

A complete path and troubleshooting guide for Chinese users to install, top up, and use Codex
Based on a Bilibili creator's tutorial and multiple sources, this article lays out the complete path for Chinese users to use Codex. It first explains why Codex is worth the effort: compared with the web version, chat records are stored locally, models can be switched freely, and data is autonomous. For installation, it emphasizes getting the official OpenAI release from the Microsoft Store to avoid third-party wrappers. There are two usage paths: official account login requires an account plus a stable network, while API configuration uses a one-click tool to fill in an API Key without changing the local network environment. For topping up Plus, card-key subscriptions can replace an overseas credit card in about two minutes, though channel risks exist. Finally, it offers troubleshooting ideas for common errors, including switching models, changing networks, and letting Codex self-check and fix errors.
Recently, OpenAI merged the ChatGPT client with Codex, launching the new GPT-6.2 Astra + Codex combo that lets AI do work directly on your computer, not just chat in a browser. But many users get stuck at three steps: registration, installation, and top-up—especially under China's network environment. Based on a step-by-step tutorial from a Bilibili creator and combined with multiple sources, this article lays out a complete path from zero to usable, and adds troubleshooting ideas for common errors.
Why Is Codex Worth the Effort?
According to the Bilibili creator's analysis, DeepSync (referring to a certain chat platform) has recently begun aggressively purging long conversations unused for 7 days—the more productive the content, the more likely it gets wiped. By contrast, users running Codex with an API have all chat records stored stably on their local computer, and can freely switch models to boost "intelligence"—a win-win. This is also the creator's core motivation for recommending the official Codex—data autonomy and full functionality.
The YouTube channel "AI Efficiency Guide" makes a similar point: localized AI tools have advantages in privacy and continuity, especially for users who need to accumulate conversation context over time. However, the channel also notes that Codex has a higher configuration barrier than the web version and requires some hands-on ability.
Installing Codex: Stick to the Official Microsoft Store Version

Using Windows as an example, the creator demonstrates the safest installation method: click the Start button in the lower-left corner, search for Microsoft Store (the built-in Windows app store), and search for "ChatGPT" or "Codex" inside the store. The key is to confirm the publisher is OpenAI to avoid downloading third-party wrapper apps. After download, Codex offers two usage modes: logging in with an official website account, or configuring an API file.
Two Usage Paths: Account Login and API Configuration

The first is official website account login, which requires both an official account and a stable network environment—neither can be missing. The second is API file configuration, suitable for users who don't have an official account and want to use it directly in China. The creator demonstrates a one-click configuration tool: download the zip, extract it, open the configuration page, and simply fill in the API Key. To get an API Key, copy the default key from the management page of the corresponding platform, paste it, click one-click configuration, wait a moment, restart Codex, and it's ready.
There's a point of consensus here: according to the creator and feedback from multiple tech communities, the API configuration method does not change the local network environment, making it friendlier to Chinese users. But there's disagreement: some developers believe the API method may lag slightly behind direct official connections in terms of model update timeliness, while the creator emphasizes that the two methods differ little in daily use, so ordinary users needn't agonize over it.
The Difference Between API Keys and Session Tokens
An API Key is a long-term credential issued by a platform for developers or third-party clients, usually a string starting with sk-, used to let programs call model interfaces under your account identity, with billing going against API quota rather than a Plus subscription. A Session token is a session token extracted from a web login state—essentially part of browser cookies—used to let clients reuse your already-logged-in official account. The key difference: API Keys can be revoked at any time in the backend, making risk isolation easy, whereas a leaked Session token is equivalent to your account being fully taken over, and it becomes invalid when you log out of the official site or change your password. Therefore, when configuring the API method, use a dedicated Key and set usage limits; when using card-key upgrades, avoid operating on public devices with the copied Session token, and refresh your login state promptly after upgrading.
What the One-Click Configuration Tool Actually Does
The so-called "one-click configuration" typically writes fields such as the API Key, endpoint address (Base URL), and model name into a local configuration file (such as JSON or TOML) that Codex reads, and may also set a proxy port along the way. It does not modify the system proxy itself—which is the source of the claim "does not change the local network environment." Understanding this helps with troubleshooting: if you still can't connect after configuration, check whether the configuration file path is correct, whether the Base URL matches the platform you're using, and whether the model name is spelled consistently—rather than blindly reinstalling the client.
Topping Up Plus: Alternatives Without an Overseas Credit Card

If you want to activate official GPT Plus, the conventional path is binding an overseas credit card—Visa or Mastercard may also work—but domestic bank cards cannot pay directly. The creator offers a card-key subscription method: on the card-key purchase page, choose the Plus or Pro plan, place the order and receive a card key, enter the card key and log in to your official account, then obtain the Session token (select all and copy), go back and paste it to complete. The whole process takes less than two minutes; after refreshing the official site, the lower-left corner will show the upgrade succeeded.
A reminder: card-key channels carry certain risks. Choose reputable platforms and pay attention to account security. This point is mentioned in multiple independent sources—a cross-source consensus.
How Card-Key Subscriptions Work and the Boundaries of Risk
A card key is essentially a redemption voucher that a third-party platform has pre-purchased in bulk or obtained through other channels. You pay in RMB to get a code, and then that platform or you yourself completes the upgrade of the official account. Because the payment chain bypasses cardholder identity verification and overseas bank risk controls, prices are often lower than official list prices—but that also means no official after-sales support. There are three main risks: first, an unclear card-key source may cause the account to be flagged as anomalous; second, some channels require you to provide your account or Session token, creating a risk of misuse; third, auto-renewal may fail after the subscription expires. A relatively safe approach is to use an email isolated from your main account, change your password immediately after upgrading and check logged-in devices, and avoid purchasing long-term plans in one go.
Common Errors and Self-Rescue Guide

Several types of errors may occur while using Codex. The first is a model-busy prompt, usually due to official compute strain; switching models and retrying usually solves it. If it persists, the account may be flagged—consider switching accounts. The second is a prompt to re-link, most likely a network issue; try changing networks, opening a new conversation, or restarting Codex. The creator also shares an efficient trick: copy the error content to Codex itself and let it check the runtime environment and auto-correct—many times it can solve the problem on its own.
Overall, the core value of this process is lowering the barrier for Chinese users while preserving local data autonomy. But note that API Keys and card keys involve account security—be cautious when operating.
"Model Busy" and "Account Flagged" Are Not the Same Thing
Model busy (rate limit or overloaded) is a temporary server-side concurrency overload state, usually recoverable by switching models or retrying after a few minutes—unrelated to account status. An account being flagged often manifests as persistent permission denials or a specific model being unavailable long-term, mostly related to logins from different locations, shared accounts, or abnormally high-frequency calls. Distinguishing the two helps avoid missteps: the former doesn't require switching accounts, while for the latter switching accounts is only a stopgap—the fundamental fix is standardizing your login environment and call frequency.
The Applicable Boundaries of Letting Codex Self-Check
Pasting error text back to Codex to have it check the environment essentially leverages the model's pattern-recognition ability for common error messages to offer troubleshooting suggestions. It works well for readable errors like wrong configuration paths, missing dependencies, or insufficient permissions, but it can't help with network-layer blocking or account bans, and the model may give commands that look reasonable but are actually wrong. Before executing any delete or modify commands it suggests, be sure to confirm the scope of impact and back up important configurations first.
Key Takeaways
- The Codex and ChatGPT clients have merged; for installation, make sure it's the official OpenAI release in the Microsoft Store.
- Chinese users can fill in an API Key via the one-click configuration tool and use it without changing their network environment.
- To top up Plus, card-key subscriptions can replace an overseas credit card, taking about two minutes.
- For common errors, first try switching models or networks, or let Codex diagnose and fix them itself.
- Storing chat records locally is one of Codex's core advantages over the web version.
Related articles

The Complete Beginner's Guide to GPT: Registration, Installation, Subscription, and Quotas Explained
A complete beginner's guide to GPT: from account registration and desktop installation to domestic subscriptions—covering Android Google Play in-app purchases, Apple gift cards, and Alipay/WeChat options, plus 5-hour and weekly quota limits and Plus/Pro plan differences.

Thrivea: Free Recruiting + AI Employee Management, a New HR Choice for Startups
Thrivea launches on Product Hunt with free recruiting for startups: unlimited job postings, team collaboration, zero-cost offer signing, candidates automatically flowing into the HR system after onboarding, and conversational onboarding setup via Claude, ChatGPT, Slack, or Pops.

Zapier's New Trick: Let Claude Build Your Workflows, 10,000+ Apps Run Automatically
Zapier launches next-gen Zaps: describe a task to Claude, ChatGPT, or Cursor and it builds cross-app workflows covering 10,000+ apps, with deterministic steps plus AI judgment, automatic fixes, and persistent operation after the chat closes.