You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,23 @@ all notable changes to this project. dates are ISO format (YYYY-MM-DD).
25
25
-**doctor safe-fix edge path**: `codex-doctor fix` now reports a clear non-crashing message when no eligible account is available for auto-switch.
26
26
-**first-time import flow**: `codex-import` no longer fails with `No accounts to export` when storage is empty; pre-import backup is skipped cleanly in zero-account setups.
27
27
28
+
## [5.4.2] - 2026-03-05
29
+
30
+
### added
31
+
32
+
-**gpt-5.4 + gpt-5.4-pro runtime support**: added model-map normalization and request-transform coverage for `gpt-5.4` (general) and optional `gpt-5.4-pro`.
33
+
-**gpt-5.4-pro fallback edge**: default unsupported-model fallback chain now includes `gpt-5.4-pro -> gpt-5.4` when fallback policy is enabled.
34
+
35
+
### changed
36
+
37
+
-**template defaults updated to gpt-5.4**: modern + legacy config templates now use `gpt-5.4` variants as the default general-purpose family.
38
+
-**docs refresh for 5.4 rollout**: README, getting-started, configuration, troubleshooting, docs index, and config docs now reflect `gpt-5.4` defaults and optional `gpt-5.4-pro` usage.
39
+
-**test matrix expanded for 5.4**: unit, integration, and property tests now explicitly cover `gpt-5.4` and `gpt-5.4-pro` normalization/reasoning/fallback paths.
40
+
41
+
### fixed
42
+
43
+
-**quota probe model order**: quota snapshot probing now includes `gpt-5.4` first before legacy Codex probe models.
OAuth plugin for OpenCode that lets you use ChatGPT Plus/Pro rate limits with models like `gpt-5.2`, `gpt-5-codex`, and `gpt-5.1-codex-max` (plus optionalentitlement-gated Spark IDs and legacy Codex aliases).
6
+
OAuth plugin for OpenCode that lets you use ChatGPT Plus/Pro rate limits with models like `gpt-5.4`, `gpt-5-codex`, and `gpt-5.1-codex-max` (plus optional/manual `gpt-5.4-pro`, entitlement-gated Spark IDs, and legacy Codex aliases).
7
7
8
8
> [!NOTE]
9
9
> **Renamed from `opencode-openai-codex-auth-multi`** — If you were using the old package, update your config to use `oc-chatgpt-multi-auth` instead. The rename was necessary because OpenCode blocks plugins containing `opencode-openai-codex-auth` in the name.
10
10
11
11
## What You Get
12
12
13
-
-**GPT-5.2, GPT-5 Codex, GPT-5.1 Codex Max** and all GPT-5.x variants via ChatGPT OAuth
13
+
-**GPT-5.4, GPT-5 Codex, GPT-5.1 Codex Max** and all GPT-5.x variants via ChatGPT OAuth
14
14
-**Multi-account support** — Add up to 20 ChatGPT accounts, health-aware rotation with automatic failover
15
15
-**Per-project accounts** — Each project gets its own account storage (new in v4.10.0)
16
16
-**Workspace-aware identity persistence** — Keeps workspace/org identity stable across token refresh and verify-flagged restore flows
@@ -91,7 +91,7 @@ This writes the config to `~/.config/opencode/opencode.json`, backs up existing
91
91
4.**Use it:**
92
92
93
93
```bash
94
-
opencode run "Hello" --model=openai/gpt-5.2 --variant=medium
94
+
opencode run "Hello" --model=openai/gpt-5.4 --variant=medium
95
95
```
96
96
97
97
</details>
@@ -119,7 +119,7 @@ This writes the config to `~/.config/opencode/opencode.json`, backs up existing
119
119
### Verification
120
120
121
121
```bash
122
-
opencode run "Hello" --model=openai/gpt-5.2 --variant=medium
122
+
opencode run "Hello" --model=openai/gpt-5.4 --variant=medium
123
123
```
124
124
125
125
</details>
@@ -132,7 +132,8 @@ opencode run "Hello" --model=openai/gpt-5.2 --variant=medium
@@ -258,7 +259,7 @@ Optional Spark model block (manual add only when entitled):
258
259
}
259
260
```
260
261
261
-
For legacy OpenCode (v1.0.209 and below), use `config/opencode-legacy.json` which has individual model entries like `gpt-5.2-low`, `gpt-5.2-medium`, etc.
262
+
For legacy OpenCode (v1.0.209 and below), use `config/opencode-legacy.json` which has individual model entries like `gpt-5.4-low`, `gpt-5.4-medium`, etc.
262
263
263
264
</details>
264
265
@@ -661,15 +662,15 @@ OpenCode uses `~/.config/opencode/` on **all platforms** including Windows.
661
662
1. Use `openai/` prefix:
662
663
```bash
663
664
# Correct
664
-
--model=openai/gpt-5.2
665
+
--model=openai/gpt-5.4
665
666
666
667
# Wrong
667
-
--model=gpt-5.2
668
+
--model=gpt-5.4
668
669
```
669
670
670
671
2. Verify model is in your config:
671
672
```json
672
-
{ "models": { "gpt-5.2": { ... } } }
673
+
{ "models": { "gpt-5.4": { ... } } }
673
674
```
674
675
675
676
</details>
@@ -697,6 +698,7 @@ OpenCode uses `~/.config/opencode/` on **all platforms** including Windows.
Copy file name to clipboardExpand all lines: config/README.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ opencode --version
34
34
OpenCode v1.0.210+ added model `variants`, so one model entry can expose multiple reasoning levels. That keeps modern config much smaller while preserving the same effective presets.
@@ -44,14 +45,14 @@ controls how much thinking the model does.
44
45
|`gpt-5.1-codex-mini`| medium, high |
45
46
|`gpt-5.1`| none, low, medium, high |
46
47
47
-
the shipped config templates include 21 presets and do not add Spark by default. add `gpt-5.3-codex-spark` manually only for entitled workspaces.
48
+
the shipped config templates include 21 presets and do not add optional IDs by default. add`gpt-5.4-pro` and/or`gpt-5.3-codex-spark` manually only for entitled workspaces.
48
49
49
50
what they mean:
50
-
-`none` - no reasoning phase (base models only, auto-converts to `low` for codex)
51
+
-`none` - no reasoning phase (base models only; auto-converts to `low` for codex/pro families, including `gpt-5-codex` and `gpt-5.4-pro`)
51
52
-`low` - light reasoning, fastest
52
53
-`medium` - balanced (default)
53
54
-`high` - deep reasoning
54
-
-`xhigh` - max depth for complex tasks (default for legacy `gpt-5.3-codex` / `gpt-5.2-codex` aliases and `gpt-5.1-codex-max`)
55
+
-`xhigh` - max depth for complex tasks (default for legacy `gpt-5.3-codex` / `gpt-5.2-codex` aliases and `gpt-5.1-codex-max`; available for `gpt-5.4` and optional `gpt-5.4-pro`)
55
56
56
57
### reasoningSummary
57
58
@@ -117,6 +118,7 @@ advanced settings go in `~/.opencode/openai-codex-auth-config.json`:
117
118
"fallbackOnUnsupportedCodexModel": false,
118
119
"fallbackToGpt52OnUnsupportedGpt53": true,
119
120
"unsupportedCodexFallbackChain": {
121
+
"gpt-5.4-pro": ["gpt-5.4"],
120
122
"gpt-5-codex": ["gpt-5.2-codex"]
121
123
}
122
124
}
@@ -147,7 +149,7 @@ The sample above intentionally sets `"retryAllAccountsMaxRetries": 3` as a bound
147
149
|`unsupportedCodexPolicy`|`strict`| unsupported-model behavior: `strict` (return entitlement error) or `fallback` (retry with configured fallback chain) |
148
150
|`fallbackOnUnsupportedCodexModel`|`false`| legacy fallback toggle mapped to `unsupportedCodexPolicy` (prefer using `unsupportedCodexPolicy`) |
149
151
|`fallbackToGpt52OnUnsupportedGpt53`|`true`| legacy compatibility toggle for the `gpt-5.3-codex -> gpt-5.2-codex` edge when generic fallback is enabled |
0 commit comments