Run GPT-5.6 in Codex CLI
GPT-5.6 went GA on July 9, 2026 and the latest Codex CLI ships all three tiers built in. This guide covers the four steps: update the CLI, connect QCode, pick a tier, verify.
Why doesn't /model show gpt-5.6?
Older Codex CLI builds don't list GPT-5.6 — the three tiers joined the built-in model list in releases around July 2026. Update to the latest version and gpt-5.6-sol / terra / luna appear directly in /model, no manual model-catalog import needed.
Before you start
- Node.js 18+ and npm (to install / update Codex CLI)
- A QCode.cc API key (free to create; one key covers Claude / GPT / Gemini)
- About 5 minutes
Step 1: Update Codex CLI to the latest version
The GPT-5.6 tiers ship built in from releases around July 2026. One global update command does it; confirm with codex --version afterwards.
# update to the latest Codex CLI
npm install -g @openai/codex@latest
# confirm the version
codex --version
Step 2: Add a QCode profile to config.toml
Add the QCode provider and profile to ~/.codex/config.toml so requests go to the QCode endpoint with your API key. Full details are in the Codex quick-start in the QCode docs.
# ~/.codex/config.toml — add the QCode profile
# full config reference:
# https://docs.qcode.cc/docs/getting-started/codex-quick-start
model = "gpt-5.6-terra" # default tier; sol / luna also available
# ... keep your QCode provider / auth settings unchanged
Step 3: Pick a tier with /model (or set it in config)
Launch codex and type /model to switch between gpt-5.6-sol / gpt-5.6-terra / gpt-5.6-luna, or set model in config.toml as your default. Rule of thumb: Terra as default, Sol for the hard parts, Luna for volume.
$ codex --profile qcode
> /model
gpt-5.6-sol
● gpt-5.6-terra ← selected
gpt-5.6-luna
gpt-5.5
Step 4: Verify it runs and bills correctly
Run a small task to confirm responses, then check your QCode dashboard usage — you should see calls under the gpt-5.6 tier you picked. All tiers share the same quota as GPT-5.5; nothing extra to buy.
$ codex "add a unit test for utils/retry.ts"
# response streams from gpt-5.6-terra
# then: qcode.cc dashboard → usage
# calls appear under the gpt-5.6 tier you selected
FAQ
I can't update the CLI (version-pinned). Can I still use GPT-5.6?
Yes. Older versions can register models manually via the model-catalog mechanism — the process is identical to our earlier GPT-5.5 enablement guide, just with gpt-5.6-sol / terra / luna as the model ids in the JSON. Updating the CLI remains the preferred path though: one command replaces all manual steps.
Which tier should I pick?
Terra for daily work (beats GPT-5.5 at about half of Sol's price); Sol for hard jobs like cross-repo refactors; Luna for completions, batch and light CI tasks. See our Sol vs Terra vs Luna guide for the full comparison. Sol vs Terra vs Luna →
How do billing and quota work?
The GPT-5.6 tiers share one QCode key and one quota with GPT-5.5, Claude and Gemini, billed by usage. Live rates are on the /models page and match OpenAI's official prices: Sol $5/$30, Terra $2.50/$15, Luna $1/$6 per million tokens.
Any difference between calling via QCode and OpenAI directly?
The models and API behavior are the same standard interface. The difference is the onramp: QCode adds China-optimized low-latency endpoints, local payment, and one key across Claude / GPT / Gemini — no self-hosted proxy or overseas payment method needed.
Try GPT-5.6 in Codex now
Sign up for a QCode API key and run Sol / Terra / Luna in Codex CLI within five minutes.