As of 2026-11-18 · 0.161.0 historical default & GPT-6.2 Sol update

Codex CLI default model is now GPT-6.1 Sol: what 0.161.0 changed

As of November 20, 2026, the bundled model catalog defaults to GPT-6.2 Sol from Codex CLI rust-v0.171.0 (published 2026-11-20); the release states: Added GPT-6.2 Sol and Astra to model catalogs, with Sol as the default catalog selection.); before that, the default since 0.161.0 was GPT-6.1 Sol, and to keep using 6.1 Sol, write model = "gpt-6.1-sol" in ~/.codex/config.toml. The earlier record reads: Codex CLI rust-v0.161.0, published 2026-10-07, moved the default model in the bundled and Amazon Bedrock catalogs to GPT-6.1 Sol (gpt-6.1-sol), and the same release brought /mcp login. As of 2026-11-18, OpenAI officially launched the same-price successor gpt-6.2-sol (official OpenAI API short-context list price $2 / $0.10 / $10, within 0.5 points of Astra on FrontierCode 2.0) and flagship gpt-6.2-astra (official OpenAI API list price $8 / $0.40 / $40) on 2026-11-17, with both 6.2 models rejecting reasoning_effort="none"; QCode's official Codex one-click install scripts (codex.sh / codex.ps1, base_url = "https://api.qcode.cc/openai") now default to gpt-6.2-sol.

Updated 2026-11-20

#0.161.0#default model#gpt-6.1-sol#official catalogs

What the release changed and how to connect QCode

Default model

GPT-6.1 Sol since 0.161.0

The release states: "GPT-6.1 Sol is now the default model in the bundled and Amazon Bedrock catalogs." That is the default entry in the bundled catalog and in the Amazon Bedrock catalog, not that this is the only model left.

0.162.0

The next release drops the default label

rust-v0.162.0, published 2026-10-08, carries #51235, which removes the default model label from the TUI model pickers.

Same release

Signing in to MCP servers from the terminal

The same release also states that you can sign in to MCP servers from an active terminal session with /mcp login, followed by the name of the server.

QCode setup

The configuration from the official docs

According to the QCode Codex quick start, the top of config.toml carries model_provider = "qcode", model = "gpt-6.1-sol" and model_reasoning_effort = "high"; the [model_providers.qcode] block carries name = "qcode", base_url = "https://api.qcode.cc/openai", wire_api = "responses" and requires_openai_auth = true. Put the key in ~/.codex/auth.json under "OPENAI_API_KEY" as a key that starts with cr_; to use an environment variable instead, replace requires_openai_auth = true with env_key = "QCODE_API_KEY" and export that variable. There are two ways, and you pick one: the official documentation states that Codex ignores env_key when requires_openai_auth = true.

What you see after the default changes

This release only changes who the default is; the model list itself is unchanged, and the details are above. The QCode docs write model = "gpt-6.1-sol", and the command line form is codex --model gpt-6.1-sol.

Official releases and QCode docs as of 2026-10-19

As of November 20, 2026: Codex CLI rust-v0.171.0 (published 2026-11-20) moves the catalog default to GPT-6.2 Sol, so the GPT-6.1 Sol default from 0.161.0 becomes the earlier record. Initial 2026-10-19 check: Codex CLI rust-v0.161.0 was published on 2026-10-07 and rust-v0.162.0 on 2026-10-08; what both 2 releases changed is above.

As of 2026-11-18, OpenAI officially launched gpt-6.2-sol (official OpenAI API short-context rate $2 input, $0.10 cached input, $10 output, 2026-06-01 knowledge cutoff, within 0.5 points of gpt-6.2-astra on FrontierCode 2.0) and gpt-6.2-astra (official OpenAI API short-context rate $8 input, $0.40 cached input, $40 output, 2026-05-18 knowledge cutoff) on 2026-11-17, both with a 1,050,000-token context window (922,000 max input, 128,000 max output) and both rejecting reasoning_effort="none"; QCode supports both 6.2 models and now sets gpt-6.2-sol as the default model in its official Codex one-click install scripts.

The releases and the dates

  1. 2026-10-07

    Codex CLI rust-v0.161.0 is published (2026-10-07): this release only changed the default entry in the catalogs, the details are above.

  2. 2026-10-08

    Codex CLI rust-v0.162.0 is published: the entry #51235 removes the default model label from the TUI model pickers.

  3. 2026-10-19

    The QCode docs write gpt-6.1-sol as the default model, the command line form is codex --model gpt-6.1-sol, and the key goes into ~/.codex/auth.json or the environment variable QCODE_API_KEY.

What the official sources state and what they leave open

Confirmed (official release and QCode docs)

As of November 20, 2026: rust-v0.171.0 (published 2026-11-20) makes GPT-6.2 Sol the default in the bundled catalog; the release states: Added GPT-6.2 Sol and Astra to model catalogs, with Sol as the default catalog selection.); before that, the default since 0.161.0 was GPT-6.1 Sol, and to keep using 6.1 Sol, write model = "gpt-6.1-sol" in ~/.codex/config.toml. Also

  1. 1Historical release: rust-v0.161.0 (2026-10-07) made GPT-6.1 Sol (gpt-6.1-sol) the default model in the bundled catalog and in the Amazon Bedrock catalog
  2. 2the same release lets you sign in to MCP servers from an active terminal session with /mcp login
  3. 3#51235 in rust-v0.162.0 (2026-10-08) removed the default model labels from the TUI model pickers
  4. 4on 2026-11-17 OpenAI officially launched gpt-6.2-sol (official OpenAI API short-context list price $2 / $0.10 / $10) and gpt-6.2-astra (official OpenAI API list price $8 / $0.40 / $40), both rejecting reasoning_effort="none"
  5. 5as of 2026-11-18, QCode's official Codex one-click install scripts (codex.sh / codex.ps1) default to model = "gpt-6.2-sol", base_url = "https://api.qcode.cc/openai" (no /v1 suffix), and wire_api = "responses", while continuing to support gpt-6.2-astra, gpt-6.1-sol, gpt-6.1-terra, gpt-6-sol and gpt-6-astra.

What the official sources leave open

The official release does not say whether the default model will change again later, and it does not preview related changes in the next version; the official release and changelog are the reference for both.

Follow the default or pin the model

Follow the default

Which entry is the default is decided by the official catalog, the change is above; to run the same model every time, see below.

Pin it in the configuration

Pin the model in the model field of config.toml (the docs give model = "gpt-6.1-sol"), or pick one for a single run with codex --model gpt-6.1-sol and codex -m gpt-6-sol `"Refactor the error handling in the authentication module"`. Then the model of each run is fixed and does not depend on changes in the official catalog.

Steps for setup and troubleshooting

  1. 1Check the historical release: the 0.161.0 catalog default change came in rust-v0.161.0 (published 2026-10-07).
  2. 2Write config.toml: follow the QCode setup section above, setting name = "qcode", base_url = "https://api.qcode.cc/openai" (no /v1 suffix), and wire_api = "responses" in the provider block; for the top-level model field, we recommend "gpt-6.2-sol" (released 2026-11-17) or "gpt-6.2-astra" / "gpt-6.1-sol", and note that both 6.2 and 6.1 Sol reject model_reasoning_effort = "none", so set low, medium, high, xhigh or max.
  3. 3Place the key: set "OPENAI_API_KEY" in ~/.codex/auth.json to your cr_ key.
  4. 4Check the model list: as of 2026-11-18, QCode supports gpt-6.2-sol, gpt-6.2-astra, gpt-6.1-sol, gpt-6.1-terra, gpt-6-sol and gpt-6-astra, with /models as the live reference.
  5. 5For MCP servers: sign in from a terminal session with /mcp login.
  6. 6To switch for 1 run: codex --model gpt-6.2-sol or codex -m gpt-6.2-astra.

Connecting Codex CLI with a QCode key

As of 2026-11-18, per the QCode docs Codex quick start and Codex complete guide, QCode's official one-click install scripts (codex.sh / codex.ps1) set the 2026-11-17 release gpt-6.2-sol as the default model (base_url = "https://api.qcode.cc/openai", wire_api = "responses"); 1 QCode key calls gpt-6.2-sol, gpt-6.2-astra, gpt-6.1-sol, gpt-6.1-terra, gpt-6-sol and gpt-6-astra, with /models as the reference.

QCode does not currently offer gpt-6-luna, so use an on-sale GPT model such as gpt-6.2-sol, gpt-6.1-sol or gpt-6.1-terra. QCode bills per token, with live per-model rates on /models; 5 concurrent requests, with the same models as Personal Plans. Not ready for a monthly plan? Pay-as-you-go Packs start at $4 for a one-time quota you use within 7 days; if you already have a Personal Plan, add a booster pack when you need more quota.

Frequently asked questions

When did the default model change?

As of November 20, 2026 the catalog default is GPT-6.2 Sol (rust-v0.171.0, published 2026-11-20); to keep using 6.1 Sol, write model = "gpt-6.1-sol" in ~/.codex/config.toml. The earlier default changes read: the switch to GPT-6.1 Sol as the default model in the bundled and Bedrock catalogs happened in Codex CLI rust-v0.161.0 (published 2026-10-07). On 2026-11-17, OpenAI officially launched the next-generation same-price model gpt-6.2-sol (OpenAI's official API rate $2 / $0.10 / $10) and flagship gpt-6.2-astra ($8 / $0.40 / $40); as of 2026-11-18, QCode's official Codex one-click scripts default to gpt-6.2-sol.

I only see one model, is something limited?

It is not a restriction, only the default catalog entry, and you can switch models at any time. As of 2026-11-18, the GPT models supported on QCode include the 2026-11-17 releases gpt-6.2-sol and gpt-6.2-astra alongside gpt-6.1-sol, gpt-6.1-terra, gpt-6-sol and gpt-6-astra, with /models as the live reference.

How do I pin a model?

2 ways: pin the model field in ~/.codex/config.toml (QCode's one-click scripts now default to model = "gpt-6.2-sol", and you can also set model = "gpt-6.1-sol" or "gpt-6.2-astra", noting that 6.2 models reject reasoning_effort = "none"), or pass a model for a single run with codex --model gpt-6.2-sol, codex --model gpt-6.1-sol or codex -m gpt-6-sol `"Refactor the error handling in the authentication module"`.

Where does the key go?

The QCode docs give 2 ways: put the key in ~/.codex/auth.json under "OPENAI_API_KEY" as a key that starts with cr_, or write env_key = "QCODE_API_KEY" in the configuration so that Codex reads your own environment variable. Pick 1 of the 2 ways — the official documentation states that Codex ignores env_key when requires_openai_auth = true. Set base_url to https://api.qcode.cc/openai (no /v1 suffix) and wire_api = "responses".

Is GPT-6.1 Sol available on QCode?

Yes. As of 2026-11-18, QCode supports gpt-6.1-sol, gpt-6.1-terra, gpt-6-sol and gpt-6-astra as well as the 2026-11-17 releases gpt-6.2-sol and gpt-6.2-astra; for new setups, same-price gpt-6.2-sol (scoring within 0.5 points of gpt-6.2-astra on FrontierCode 2.0) is recommended. Check /models for the live model list and per-token rates.

What else came with 0.161.0?

The 2026-10-07 rust-v0.161.0 release also added the terminal MCP sign-in command: you can sign in to MCP servers from an active terminal session with /mcp login followed by the server name; the next day's rust-v0.162.0 release (2026-10-08) removed the default model label from TUI model pickers via #51235.

Sources

Checked again on 2026-11-20: the official Codex CLI release rust-v0.171.0 (github.com/openai/codex/releases/tag/rust-v0.171.0, published 2026-11-20) and OpenAI's official Codex models page (developers.openai.com/codex/models, checked 2026-11-20). Official sources: the Codex CLI releases (api.github.com/repos/openai/codex/releases/tags/rust-v0.161.0 and rust-v0.162.0, checked 2026-10-19; rust-v0.161.0 published 2026-10-07, rust-v0.162.0 published 2026-10-08), OpenAI's official gpt-6.2-sol and gpt-6.2-astra model documentation released on 2026-11-17, and the QCode pages Codex quick start and Codex complete guide (docs.qcode.cc, checked 2026-11-18). On the QCode side: qcode.cc/models and the pay-as-you-go page (checked 2026-11-18).

Run Codex CLI on a pack

1 QCode key calls gpt-6.2-sol, gpt-6.2-astra and gpt-6.1-sol in Codex CLI, billed per token with live per-model rates on /models.

Not sure where to start?

Try it for a week

Small Pack: $4 for $30 of quota, valid 7 days

Use it every day

Starter: $9.00/month with $5 of quota every day — just $0.060 per $1 of quota, vs about $0.113 for the Medium Pack