Repository navigation
Replies: 22 comments
What is ChatGPT?ChatGPT is OpenAI's AI assistant, built on the GPT family of large language models. Think of it as a conversational, multi-modal digital assistant that can chat, write code, draft content, analyze data, generate images, and even remember your preferences across conversations. The current flagship model is GPT-6 Astra. In September 2026 OpenAI also released GPT-6 Sol (near-Astra quality at ~1/5 the API price) and GPT-6 Luna (a fast decision/routing model). |
Quick Start
|
What It Can Do
|
Typical Use Cases
|
Advanced: Which Model to Choose?
Most users can leave it on Auto and let the system route to the right model. |
Pricing
API is billed separately by token usage; Sol/Luna are significantly cheaper than Astra. |
How to Check Token / Usage LimitsWeb and App Users
API Developers
Quick Estimation TipFor casual chat, the web app's "message percentage" limit is easier to watch than tokens. If you are integrating via the API, focus on the usage page's total tokens and cost breakdown by model to optimize spend. |
FAQQ: How does ChatGPT compare to Claude or Gemini? Q: Is my data safe? Q: Is ChatGPT available in China? Q: Is the free tier enough? Q: How do I make it remember my preferences? Q: What is the difference between the web app and the API? |
Links
|
What is Codex?Codex is OpenAI's AI coding agent: an open-source (Apache-2.0) terminal CLI written in Rust, also available as IDE extensions (VS Code / Cursor / Windsurf / JetBrains), a desktop app, and Codex Web (cloud tasks). Active sessions sync across phone, desktop, and web via your ChatGPT account. |
Core ideasTerminal-nativeCodex CLI is built around the terminal: explore, edit, run, and review inside the shell you already work in. Local-first, cloud optionalIt runs on your machine by default, so code and credentials stay local. You can also hand a task to Codex Cloud and let it work in a remote sandbox while you do something else. Automation you can dial inApproval modes decide when Codex pauses to ask; sandbox modes decide what it is allowed to touch — files, commands, network. ExtensibleSkills (reusable instructions), Plugins (team tool connections), MCP servers, subagents, and Hooks. |
Where you can use it
|
Core capabilitiesUnderstands and edits code
Command line and CI
Code review
Extension system
Cross-device and remote
|
Quick startInstallOfficial install script: # macOS / Linux
curl -fsSL https://chatgpt.com/codex/install.sh | sh
# Windows PowerShell
powershell -ExecutionPolicy ByPass -c "irm https://chatgpt.com/codex/install.ps1 | iex"Homebrew: brew install --cask codexnpm (alternative): npm install -g @openai/codexVerify: codex --versionSign incodexChoose Sign in with ChatGPT (recommended), or use an OpenAI API key. Commands you'll actually usecodex # start an interactive session
codex "explain the structure of this repo" # one-shot prompt
codex exec "run the test suite" # non-interactive / CI mode
codex review # review uncommitted changes
codex resume # resume the most recent session
codex cloud # manage cloud tasks
codex mcp list # list configured MCP servers
codex --image error.png "how do I fix this" # pass an image as context |
Approval modes and sandboxApproval mode controls when Codex stops to ask you; sandbox mode controls its file and network reach. Approval modes
codex --approval-mode auto-edit
codex --approval-mode full-autoSandbox modes
codex -s read-only
codex --sandbox workspace-write
|
Which model for which taskCodex CLI takes a model per run via Currently recommended models
How to choose
Examples# Clear, repeatable everyday task
codex -m gpt-6-luna "Add unit tests for this function"
# Complex refactor that must update every call site
codex -m gpt-6.1-sol "Refactor the string helpers under utils/ into their own module and update all call sites"
# First deep analysis of an unfamiliar repo
codex -m gpt-6-astra -s read-only "Map module dependencies across src/ and flag circular dependencies and design risks"
# Per-session override via environment variable
OPENAI_CODEX_MODEL=gpt-6.1-sol codex "Implement the user login endpoint"Setting a default modelmodel = "gpt-6.1-sol"
|
Best practices
|
Related resources
|
LicenseCodex CLI is released under the Apache-2.0 license. Using OpenAI's model service is subject to the corresponding terms of service. |
Desktop app (Codex App)The Codex desktop app (macOS Feb 2026, Windows Mar 2026) is a command center for agents. Built to manage many coding agents at once — not a single-threaded chat. Parallel agents. Agents run in per-project threads; run many tasks side by side and switch without losing context. Advanced capabilities (rolling out since Apr 2026):
Security. Native system-level sandboxing: agents edit only their working folder/branch and use cached web search by default; elevated commands (e.g. network access) require permission; project/team rules can auto-allow specific commands. |
Codex Web & Codex CloudCodex Web (chatgpt.com/codex) is the in-browser entry to cloud tasks — no local CLI install needed. Codex Cloud runs coding tasks on OpenAI-managed machines in reusable sandbox environments:
Best for: skipping local setup, long-running tasks, and picking work up on another device. |
IDE extension & mobile appIDE extensions (VS Code / Cursor / Windsurf / JetBrains)
Mobile (ChatGPT app, Codex preview since Sep 2026)
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
ChatGPT & Codex in Detail
ChatGPT is OpenAI's AI assistant; Codex is its AI coding agent.
One account. Subscription, quotas, and active sessions are shared under a single ChatGPT account — you can pick a task back up on phone, desktop, or web.
Division of labour. ChatGPT covers Q&A, writing, multimodal work, and everyday tasks; Codex goes into your local repo to read, edit, and run commands.
Details are split across the floors below — ChatGPT first, then Codex.
Table of Contents
ChatGPT
Codex
Click a link to jump to that floor; if in-page clicks do nothing, open the link in a new tab.
tag: AI Assistant / Chatbot / OpenAI
All reactions