OpenAI Codex for Teachers: Plans, Credit Pricing and a Classroom Utility Walkthrough (September 2026)
Codex is OpenAI's agentic coding product — terminal CLI, IDE extension, cloud tasks and an iOS app — included with ChatGPT Free, Go, Plus, Pro, Business, Edu and Enterprise. This guide covers September 2026 official prices, the credit rate card, GPT-5.6 versus GPT-6 Astra usage, why the free US K-12 teacher plan does not reach Hong Kong, and a full CLI walkthrough for a teacher-built classroom utility.
An ICT teacher stays behind in the computer room after the bell. The terminal is still lit: "I want an offline grouping tool on the intranet so I stop drawing names from a hat every lesson." We remind him of a line schools rarely quote — OpenAI's own documentation puts Codex at roughly US$100 to US$200 per user per month in credits, on top of the ChatGPT subscription. He nods. "Right. So I buy Plus for myself, not Business for all hundred staff."
Codex is an agentic coding tool for people who read diffs and use git. It is not a lesson-planning platform and not a pupil learning environment. In Hong Kong schools it belongs on the desks of the few who will actually use it, with seat fees kept separate from credit spend.
What Codex is in 2026
Today's Codex has nothing to do with the 2021 model of the same name. It is OpenAI's agentic coding product line: a terminal CLI, IDE extensions for VS Code and others, web and desktop apps, an iOS app, automatic GitHub code review, and Slack and Linear integrations. Underneath runs the GPT-5.6 family (Sol, Terra, Luna) and GPT-6 Astra, released in September 2026.
In a school the people who can genuinely use it are ICT teachers, the IT coordinator who maintains internal systems, and subject teachers automating repetitive admin data work. OpenAI's teacher plan states plainly that it is not for students — that is product design, not an oversight.
Capabilities teachers actually touch
Run codex in a project directory and the local agent reads files, edits them and runs commands on your machine, asking for approval at each step if you want. Cloud tasks hand work to a remote environment that keeps running after you close the laptop, then pull results back locally. An AGENTS.md file in the repository root sets rules and conventions Codex reads at the start of every session. /review produces a prioritised findings list against uncommitted changes, a commit or a branch without modifying files. /permissions decides what Codex may do without asking — configure this first on a school machine. codex exec runs non-interactively for batch workflows. Skills and plugins package repeated instructions and connect GitHub, Gmail, Google Drive and more. Switch models with /model: Sol for the hardest reasoning, Terra as the everyday workhorse, Luna for fast, credit-light work.
Building an offline classroom utility
Scenario and prerequisites
You teach ICT in a secondary school and want a single HTML file for the intranet: paste a class list, generate random groups, run a lesson timer. No server, no internet, no pupil data collected. Codex is included in ChatGPT Free, Go, Plus, Pro, Business, Edu and Enterprise. Free only covers tiny tasks; for real use, start at Plus (US$20 a month).
Install, permissions and AGENTS.md
On macOS or Linux:
curl -fsSL https://chatgpt.com/codex/install.sh | sh
mkdir class-toolkit && cd class-toolkit
codex
On first run choose "Sign in with ChatGPT". Then type /permissions and pick a mode that requires confirmation before editing files or running commands. Run /init to generate AGENTS.md and add:
This project builds single-file web utilities for Hong Kong secondary school teachers.
Rules:
- All output must be one index.html file with no external CDN and no network calls.
- Interface text in Traditional Chinese (Hong Kong usage), for example 分組, 計時, 重設.
- No analytics, no cookies, and no code that sends data out of the browser.
- The class list lives only in browser memory and is cleared on refresh.
- Comment the code in Chinese so another teacher can maintain it later.
Task, review and handover
Pick GPT-5.6 Terra with /model, then describe the goal:
Build index.html, an offline classroom tool with two tabs.
Tab one, "Random groups":
- A textarea, one student name or number per line
- Set either students per group or number of groups
- A "Group" button showing each group as a card, plus "Regroup"
- An "Export text" button copying results to the clipboard
Tab two, "Lesson timer":
- Countdown in minutes with start, pause and reset
- Background turns orange at one minute remaining, red and flashing three times at zero
- Type large enough to read from the back row on a projector
Use HTML, CSS and vanilla JavaScript in one file.
Read what Codex proposes. Look for fetch, XMLHttpRequest or an external <script src="http...">. Run /review and choose "Review uncommitted changes". Open index.html in a browser, unplug the network and try again. Pass the file to IT for the intranet. For the next utility:
codex exec "Following AGENTS.md, build seating.html: a computer-room seating planner with draggable student cards onto desk slots, printable."
Check /status every couple of weeks for model, permissions and remaining allowance.
School-built utilities rarely fail on functionality. They fail by quietly shipping a class list out of the browser — the three offline and no-tracking rules in
AGENTS.mdmatter more than any prompt trick.
September 2026 pricing and credits
Codex comes with ChatGPT (US dollars, exclusive of tax): Free US$0; Go US$8/month; Plus US$20/month as the teacher entry point; Pro 5x / 20x at US$100 / US$200; Business standard seat US$20/user/month annual or US$25 monthly; Business Premium US$100/user/month annual; Enterprise / Edu custom credit pricing.
Credits per million tokens: GPT-6 Astra input 250 / output 1,250; GPT-5.6 Sol 100 / 500; Terra 50 / 300; Luna 5 / 30. A typical Sol task consumes 5 to 30 credits; Astra fast mode is 2.5x standard. One hundred Business standard seats at the annual rate is about US$24,000 a year (HK$187,000) — the wrong purchase when only two or three staff need Codex. ChatGPT for Teachers is free through June 2028, US K-12 only; Hong Kong does not qualify. GPT-5.4 retired in Codex on 31 August 2026.
How Codex sits beside alternatives and Edor.ai
Codex is terminal-first with weak classroom demo; Cursor at the same price projects better. Claude Code is similarly CLI-led; Base44 needs no coding. Codex wins on code; Edor.ai wins on school teaching, pupil gating, fixed annual fees and grant reporting — see school knowledge base, the HK$500,000 grant and the nine-tool overview.
Common misreadings
-
The claim: Plus at US$20 a month means Codex costs US$240 a year all in. What actually happens: US$20 is the seat. OpenAI's documentation puts average credit spend at US$100 to US$200 per developer per month; heavy Sol or fast-mode use runs higher. Luna's rate is one twentieth of Sol's — routine utilities should run on Terra or Luna.
-
The claim: Codex is so capable that Business for every teacher is the smart buy. What actually happens: One hundred standard seats at the annual rate is about US$24,000 a year, but most teachers need lesson planning and marking, not a CLI. In practice two or three competent users get Pro or Business seats; everyone else uses a school platform such as Edor.ai.
-
The claim: Pupils learning Python should use Codex as their formal AI environment. What actually happens: Minimum age 13, no class management, no live teacher view of conversations. The teacher plan excludes pupils. Codex can be demonstrated in coding lessons; daily pupil AI belongs on a gated, audited school platform.
Three things to try on Monday
- Open a Free account with your school email, run the grouping-tool flow in this article, and note credits consumed for one completed task via
/status— that is your personal test of whether Plus is enough. - Save an
AGENTS.mdtemplate with the three rules — no outbound data, no CDN, class list in memory only — in the panel shared drive for every future Codex project. - Confirm with IT that Codex installs on two or three teacher workstations only, not as Business for all staff, and put "US$100–200 average monthly credits" in the budget memo so mid-year overspend does not surprise the panel.
Questions that keep coming up
No. The 2021 Codex model was retired long ago. Today's Codex is an agentic coding product line — terminal CLI, IDE extension, cloud tasks, GitHub code review and an iOS app — running on the GPT-5.6 family and GPT-6 Astra.
No. The official page limits it to serving staff at accredited US K-12 schools or districts, free through June 2028, and states plainly that the plan is not for students. Hong Kong schools buy Plus, Pro or Business at full price.
Terms set a minimum age of 13, with parental permission required under 18. It is technically possible, but there is no teacher monitoring or class management, so a school cannot review what pupils discussed. It is not a suitable formal learning environment.
The seat price is the entry fee. OpenAI's documentation states Codex averages roughly US$100 to US$200 per developer per month, depending on model, concurrency, automations and fast mode. For occasional use, the US$20 Plus plan is usually enough.
The CLI and official documentation are in English. The model answers in Chinese, and you can instruct it to write explanations and comments in Traditional Chinese with Hong Kong usage.
If your teachers live in the terminal, write automation or work in CI, Codex fits. If you want to project a live demo and let pupils watch the AI edit line by line, Cursor's graphical interface is clearer. Both start at US$20 a month for an individual.
Prices and specifications here were checked on 2026-09
- OpenAI — Codex product overview
- OpenAI — Codex pricing and usage limits
- OpenAI — Codex CLI installation and commands
- OpenAI — ChatGPT Business and Enterprise pricing
- OpenAI Help Centre — Codex and ChatGPT Work credit rate card
- OpenAI — ChatGPT for K-12 Teachers plan page
- OpenAI — ChatGPT Edu for higher education
- OpenAI — Terms of use (minimum age)
- · Prices, features and specifications follow the official documentation linked above. Vendors change them without notice, so verify once more before you buy.
- · Product names and trademarks belong to their respective owners. Edor.ai has no partnership, agency or sponsorship arrangement with these companies.
- · This is an independent write-up for educational purposes. It is not procurement advice and not legal advice.
- · For anything involving student personal data, assess it against your school policy and the Personal Data (Privacy) Ordinance (PDPO) before you roll it out.
Related notes
Claude Code for Teachers (September 2026): How the Usage Pool Really Works, the 18+ Wall, and One Workflow an IT Coordinator Can Run
Claude Code comes with every paid Claude plan and not with Free. This guide sets out the September 2026 official prices (Pro US$20/month, Max from US$100, Team standard seats US$20–25 per user, Enterprise US$20 per seat plus usage), what it means that the five-hour rolling window is shared with your web chats, why the 18-and-over policy closes the student side completely, and a full walkthrough turning a timetable export into 60 individual staff timetables.
Keep readingCursor for Teachers (September 2026): Pricing, the 18-Year Line, and a Debugging Lesson You Can Actually Run
Cursor is Anysphere's AI code editor. As of September 2026 the plans are Hobby free, Pro US$20/month, Pro+ US$60, Ultra US$200, Teams US$40/user and Teams Premium US$120/user. This guide covers the two usage pools and what Composer 2.5 really costs, the Cursor Token Rate surcharge on Teams, what the 18-and-over terms mean for student accounts, and a full walkthrough of using it to teach debugging on the projector.
Keep readingAI Tools for Teachers in 2026: Where Nine Products Actually Sit, Who Their Terms Exclude, and What They Cost a Whole School
Gemini, Gamma, Edpuzzle, Khanmigo, Perplexity, OpenAI Codex, Claude Code, Cursor and Base44 are not competing on the same track. Three lines separate them: whether the product treats you as a consumer, a developer or an institution; whether its terms let students in; and whether it bills per person or per school. Official September 2026 figures, plus the arithmetic for 100 staff.
Keep reading


