Codex Models by Surface and Task

Choose a Codex model for your task and plan, see where GPT-5.6 threads go, and set a default or a one-run CLI override.

Published

Codex Models by Surface and Task

Start with GPT-6.2 Sol for everyday code changes in Codex, OpenAI’s coding agent. If you came looking for the old Codex models, GPT-5.6 Sol and GPT-5.6 Terra left most pickers on December 2, 2026. You can keep your thread, and the replacement depends on which model you were using.

What happens to an open GPT-5.6 thread?

December 2 changed what you could select. December 23 changes what answers in an existing thread. Starting December 23, 2026, the next time you send a message in an affected thread, Codex automatically moves GPT-5.6 Sol to GPT-6.2 Sol or GPT-5.6 Terra to GPT-6.1 Terra. You can resume the conversation where you left off. If you leave it idle until January, the trigger is still your next message. OpenAI’s December 2 changelog

Two routes connect 5.6 Sol to 6.2 Sol and 5.6 Terra to 6.1 Terra at the next message starting December 23.
Sol and Terra threads have different destinations.

After December 23, GPT-5.6 Sol remains accessible through Daybreak Blue, an approved-access offering. Workspaces with UAE inference residency, meaning the model runs in the UAE, retain GPT-5.6 Terra for now. GPT-5.6 Luna remains available in Work and Codex. The retirement applies to specific model names, so keep the suffix when you inventory saved settings. OpenAI’s model release notes · Retirement details for Chat, Work and Codex

Codex models list by surface

The desktop app and command-line interface (CLI) both list the new Sol and Astra. In the IDE extension, the Codex panel inside your editor, OpenAI explicitly lists a different set of models. Codex Cloud runs hosted tasks and has a fixed default. The table shows what OpenAI documents for general-purpose models with ChatGPT sign-in, verified December 5, 2026. Your account can show a subset. OpenAI’s model cards and client controls

ModelDesktop app and CLIIDE extensionWhen to choose it
GPT-6.2 SolBothOpenAI lists app and CLIEveryday edits, features and technical writing
GPT-6.2 AstraBothOpenAI lists app and CLIDifficult changes that require diagnosis and testing across services
GPT-6.1 TerraBothOpenAI lists app and CLIReading screens, comparing visual evidence and working in apps
GPT-6.1 SolBothListedA shared editor and terminal default for sustained coding work
GPT-6 AstraBothListedComplex work when you need an Astra option in the editor
GPT-6 SolBoth, subject to availabilityCheck your pickerAn existing coding workflow that already uses this generation
GPT-6 LunaBoth, subject to planListedRepeated, well-defined edits, extraction and classification
GPT-5.6 LunaStill offered in Codex and present in the CLI catalogNo client breakdown in the retirement noticeAn existing lightweight workflow pinned to this model

For a local task, the desktop model control sits beneath the message box. Open Advanced if you see the Power slider. The IDE has a switcher below its message box. If you use both the IDE and CLI, GPT-6.1 Sol is OpenAI’s example of a default you can share between them. OpenAI’s CLI model catalog also contains older IDs. A name in that file tells you how the client identifies a model. The signed-in picker tells you whether you can select it.

OpenAI’s Codex product page showing its software development workflows
Codex

Codex Cloud can keep a task running after your laptop sleeps. You can choose a hosted environment with the repository and dependencies you need. OpenAI says you cannot change Cloud’s default model and does not identify a selectable hosted model lineup. If a review must run with a particular model ID, use a supported local client. Cloud task guide · Workspace model controls

Specialist access follows separate approvals. Daybreak Blue and Daybreak Red have identity, model and surface requirements. Approved institutional life-sciences users can access GPT-6 Rosalind Research or GPT-5.5 Rosalind Research with Research approval, or GPT-5.5 Rosalind Discovery with Discovery approval. API-key sessions also follow their own organization and project catalog, which can include GPT-5.5. Daybreak eligibility · Rosalind access tiers

Best Codex model for coding

Use GPT-6.2 Sol when you can name the change. Choose GPT-6.2 Astra when finding the cause is a substantial part of the job. Suppose a refund button stays enabled after a successful refund. If the receipt state is correct and you can point to the component that renders the button, ask Sol to change the condition and add a regression test. If the payment service says “refunded” while the order service says “paid,” give Astra the conflicting records and ask it to trace the discrepancy before changing either service. OpenAI’s task recommendations · GPT-6.2 Astra vs Sol

The evidence can change the choice. If support supplied screenshots of the refund flow, GPT-6.1 Terra is a good starting point for recording which status each screen shows. If the fix has shipped and you need to label a batch of tickets using an agreed set of categories, use GPT-6 Luna and give it an example of a ticket that should remain unclassified. For a terminal and editor workflow already validated on GPT-6.1 Sol, keep that baseline until the newer model solves a problem you can measure. How GPT-6.2 compares with GPT-6.1

Does the strongest model have the biggest working context?

GPT-6.2 Sol starts with 500,000 tokens of context in Codex. GPT-6.2 Astra starts with 272,000. Context is how much information the model can work with at once. OpenAI documents up to 1 million tokens for either model with the longer window configured. OpenAI’s documented context windows Choose Astra for the difficulty of the reasoning. If the problem is finding one failed payment among thousands of log entries, first give the model the request ID and the relevant slice of the log. GPT-6.2 model overview

How much reasoning effort does the task need?

Start with the effort your client selects for GPT-6.2. Light in the app or editor is Low in the CLI. Use it for a change you can describe and check directly. Medium adds room for planning, such as deciding where to validate an input and where to test that decision. High and Extra High fit changes with competing constraints. Extra High appears as xhigh in configuration. More effort can take longer and consume more tokens.

Max gives one hard problem more reasoning time. Ultra uses subagents to work on separable parts in parallel. For the refund example, Max fits a single difficult question about event ordering. Ultra makes sense if one investigation can follow the payment records while another independently follows the order history. Both Luna models top out at Max in the CLI catalog. OpenAI suggests High as a starting point for Luna and Light for GPT-6 Astra. In the CLI, open /model and choose More reasoning… to see advanced levels supported by your selection.

Which plans get which models?

Free and Go list GPT-6 Luna at Standard speed in the desktop app, subject to rollout. Plus, Pro, Business, Enterprise and Edu list GPT-6.2 Astra and Sol, GPT-6.1 Terra and Sol, and GPT-6 Sol and Luna on supported clients. OpenAI also documents GPT-6 Astra access on paid plans. Plus and Business Standard have limited included usage for that model. OpenAI confirms continued GPT-5.6 Luna access without publishing a plan-by-plan breakdown in its retirement notice. OpenAI’s plan and feature matrix · Codex plan comparison

Workspace admins should check both model access and permission to use Codex. Enterprise and Edu admins must enable the two GPT-6.2 models and GPT-6.1 Sol before members can select them. GPT-6 Astra also needs an eligible workspace to enable it. GPT-6.1 Terra does not support UAE inference residency. A developer can have the correct spelling in a config file and still lack access.

Developers with a missing model should check the client version before changing plans. GPT-6.2 Astra and Sol need CLI 0.166.0 or later. GPT-6.1 Terra needs 0.159.0 or later. OpenAI’s Terra CLI requirements For the desktop app, check for updates, restart, and look in Codex in the intended workspace. OpenAI’s missing-model guidance

Set Codex CLI models for everyday work and one-off runs

Suppose you want Sol for daily work, but today’s refund investigation calls for Astra. Set the everyday choice once and pass the exception on the command line. The CLI flag takes precedence over the file. OpenAI’s configuration precedence

  1. Set the everyday default

    Open your personal file at ~/.codex/config.toml. Add or update these top-level entries, above any bracketed section headings. This example assumes you have GPT-6.2 Sol in your local client.

    TOML
    model = "gpt-6.2-sol"
    model_reasoning_effort = "medium"

    A trusted project can supply its own defaults in .codex/config.toml. If a new session opens with a surprising model in just one repository, check that file.

  2. Override the model for one investigation

    From the repository, start an interactive session with the model you want for this job.

    Bash
    codex --model gpt-6.2-astra

    Ask it to trace the refund status from the payment event to the receipt. For a noninteractive review, the same option has a short form.

    Bash
    codex exec -m gpt-6.2-astra "Review the refund change for event-ordering errors"
  3. Check the active choice

    In an interactive terminal session, enter /model to see the available models and adjust reasoning effort. The launch flag applies to that invocation. On the next ordinary launch, the applicable saved default takes effect. For shared setup, see the Codex CLI team settings guide.

A removable bridge marked --model and gpt-6.2-astra spans the permanent config.toml base marked gpt-6.2-sol.
Use the file for the usual model and the launch flag for an exception.

On Monday, check what your team has pinned. Look in the project config and the commands that start scheduled reviews. Replace an affected model ID with one available to the account that runs the job. Try a familiar change with a known test before making it the shared default. If you only use an existing thread, you can wait for the next-message migration. A team already using GPT-6 Luna can keep its current setting.

Frequently asked questions

What are Codex models?

They are the models OpenAI’s coding agent can call to understand a task, work on code and review a change. The client, sign-in method and workspace determine which ones you can choose.

What are the best models for Codex?

Start with GPT-6.2 Sol for routine development, GPT-6.2 Astra for an investigation across services, GPT-6.1 Terra for work driven by screenshots, and GPT-6 Luna for repeated tasks with a clear expected output.

Is Codex better than ChatGPT?

Choose Codex when the deliverable is a change in a repository with tests to review. A conversational explanation of a code snippet can stay in Chat. The Codex and ChatGPT comparison walks through that choice.

What versions of Codex are there?

The CLI has a software version independent of the model version. For example, CLI 0.166.0 is a client release that can select GPT-6.2 Sol. Updating the client and choosing a model are separate actions.

What are the different types of Codex?

You can work in the desktop app, your terminal or the IDE extension, or hand a task to Codex Cloud. Choose the surface based on where the repository and its tools should run.

Is Codex obsolete?

Codex remains an active coding agent. The December change retired two picker entries for most users and provided successors for their threads.

Is Codex now better than claude code?

The December picker change does not establish a winner. Compare the agents on the same repository task, including the time you spend checking their changes. The Grok Build, Claude Code and Codex comparison covers the terminal workflow decision.

Is Codex a part of ChatGPT?

You can use Codex in the ChatGPT desktop app and sign in to supported Codex clients with ChatGPT. Local clients also support API-key sign-in with separate model access and billing.

Is Codex really good for coding?

Give it a change with an observable result, such as disabling the refund button only after a successful refund. Inspect the diff and run the test for both success and failure. That gives you a way to judge the model on the code you own.

Get the newsletter for the next Codex change that affects your workflow.

Published
Category
Build
Related Articles
Claude Settings JSON

Claude Settings JSON

Find Claude Code’s settings.json, see which file wins, and copy five examples for permissions, hooks, models, the status line and compaction.BuildDec 5
How to Run Qwen 4 Locally

How to Run Qwen 4 Locally

Run Qwen4-35B-A3B with Ollama, LM Studio, llama.cpp or vLLM. Match GGUF sizes to your GPU or Mac and leave room for context.BuildDec 5
OpenRouter API Key: Create a Key and Send Your First Request

OpenRouter API Key: Create a Key and Send Your First Request

Create an OpenRouter API key, set a spending limit, and send your first request with curl or the OpenAI Python SDK. See the documented reply and error fixes.BuildDec 5
OpenAI Health Alerts

OpenAI Health Alerts

Choose an OpenAI API alert for errors, cache misses, rate limits or Fast tier spillover. Set its scope and route triggers and recoveries to the right team.BuildDec 4
Gemini Interactions API: Change an Agent's Rules and Tools Mid-Conversation

Gemini Interactions API: Change an Agent's Rules and Tools Mid-Conversation

How system_input steps on the Gemini Interactions API change an agent's rules and tools mid-conversation, why the cache survives, and where it stops.BuildDec 4
LM Studio Bionic: What It Is and How to Start

LM Studio Bionic: What It Is and How to Start

How Bionic works alongside LM Studio, where its models run and how to start a coding or document project on your computer.BuildDec 4
OpenRouter Free Models: Which to Call and What the Limits Are

OpenRouter Free Models: Which to Call and What the Limits Are

Find a free OpenRouter model for your project, make an API call, check your remaining quota, and see which providers may retain or train on prompts.BuildDec 4
Vapi AI: What It Is, What It Costs and How to Start

Vapi AI: What It Is, What It Costs and How to Start

Learn how Vapi answers and places calls, connects to a calendar or n8n, and what it takes to set up a first phone assistant.BuildDec 4
Newsletter

One letter, every Sunday.Working systems, not hot takes.

Weekly. No spam. Unsubscribe anytime.