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
feat: add gpt-5.4.3 model + opencode compatibility updates
- add gpt-5.4/gpt-5.4-pro snapshot alias normalization and remap legacy gpt-5* aliases to gpt-5.4
- split gpt-5.4-pro into an isolated prompt family/cache key while preserving fallback behavior
- update OpenCode templates/docs for 1M context on gpt-5.4* and expand regression coverage across model mapping/family tests
Copy file name to clipboardExpand all lines: CHANGELOG.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,22 @@ 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.3] - 2026-03-06
29
+
30
+
### added
31
+
32
+
-**gpt-5.4 snapshot alias normalization**: added support for `gpt-5.4-2026-03-05*` and `gpt-5.4-pro-2026-03-05*` model IDs (including effort suffix variants).
33
+
34
+
### changed
35
+
36
+
-**legacy GPT-5 alias target updated**: `gpt-5`, `gpt-5-mini`, and `gpt-5-nano` now normalize to `gpt-5.4` as the default general family.
37
+
-**gpt-5.4-pro family isolation**: prompt-family detection now keeps `gpt-5.4-pro` separate from `gpt-5.4` for independent prompt/cache handling while preserving fallback policy behavior (`gpt-5.4-pro -> gpt-5.4`).
38
+
-**OpenCode 5.4 template limits updated**: shipped OpenCode config templates now set `gpt-5.4*` context to `1,000,000` (output remains `128,000`) and docs now include optional `model_context_window` / `model_auto_compact_token_limit` tuning guidance.
39
+
40
+
### fixed
41
+
42
+
-**5.4.3 regression/test coverage alignment**: expanded and corrected normalization, family-routing, and prompt-mapping tests for snapshot aliases, pro-family separation, and legacy alias behavior.
|`gpt-5.4-pro`| low, medium, high, xhigh | Optional manual model for deeper reasoning; fallback default is `gpt-5.4-pro -> gpt-5.4`|
135
+
|`gpt-5.4`| none, low, medium, high, xhigh | Latest GPT-5.4 with reasoning levels and 1,000,000 context window |
136
+
|`gpt-5.4-pro`| low, medium, high, xhigh | Optional manual model for deeper reasoning; fallback default is `gpt-5.4-pro -> gpt-5.4`(also 1,000,000 context window) |
137
137
|`gpt-5-codex`| low, medium, high | Canonical Codex model for code generation (default: high) |
138
138
|`gpt-5.3-codex-spark`| low, medium, high, xhigh | Spark IDs are supported by the plugin, but access is entitlement-gated by account/workspace |
139
139
|`gpt-5.1-codex-max`| low, medium, high, xhigh | Maximum context Codex |
@@ -143,6 +143,14 @@ opencode run "Hello" --model=openai/gpt-5.4 --variant=medium
143
143
144
144
Config templates intentionally omit Spark model IDs by default to reduce entitlement failures on unsupported accounts. Add Spark manually only if your workspace is entitled.
145
145
146
+
Legacy and snapshot aliases supported by the plugin:
147
+
-`gpt-5`, `gpt-5-mini`, `gpt-5-nano` normalize to `gpt-5.4`
148
+
-`gpt-5.4-2026-03-05` and `gpt-5.4-pro-2026-03-05` (including effort suffix variants) normalize to their stable families
149
+
150
+
If your OpenCode runtime supports global auto-compaction settings, set:
151
+
-`model_context_window = 1000000`
152
+
-`model_auto_compact_token_limit = 900000`
153
+
146
154
**Using variants:**
147
155
```bash
148
156
# Modern OpenCode (v1.0.210+)
@@ -173,7 +181,7 @@ Add this to your `~/.config/opencode/opencode.json`:
Copy file name to clipboardExpand all lines: docs/configuration.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,6 +46,17 @@ controls how much thinking the model does.
46
46
|`gpt-5.1`| none, low, medium, high |
47
47
48
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.
49
+
for context sizing, shipped templates use:
50
+
-`gpt-5.4` and `gpt-5.4-pro`: `context=1000000`, `output=128000`
51
+
- other shipped families: `context=272000`, `output=128000`
52
+
53
+
model normalization aliases:
54
+
- legacy `gpt-5`, `gpt-5-mini`, `gpt-5-nano` map to `gpt-5.4`
55
+
- snapshot ids `gpt-5.4-2026-03-05*` and `gpt-5.4-pro-2026-03-05*` map to stable `gpt-5.4` / `gpt-5.4-pro`
56
+
57
+
if your OpenCode runtime supports global compaction tuning, you can set:
58
+
-`model_context_window = 1000000`
59
+
-`model_auto_compact_token_limit = 900000`
49
60
50
61
what they mean:
51
62
-`none` - no reasoning phase (base models only; auto-converts to `low` for codex/pro families, including `gpt-5-codex` and `gpt-5.4-pro`)
|`gpt-5.1-codex-max`| low, medium, high, xhigh | Maximum context |
214
214
|`gpt-5.1-codex`| low, medium, high | Standard Codex |
215
215
|`gpt-5.1-codex-mini`| medium, high | Lightweight |
216
216
|`gpt-5.1`| none, low, medium, high | Base model |
217
217
218
-
**Total: 21 template presets** with 272k context / 128k output (+ optional Spark IDs when entitled).
218
+
**Total: 21 template presets** with mixed context sizing: `gpt-5.4*` at 1,000,000 / 128,000 and other shipped families at 272,000 / 128,000 (+ optional Spark IDs when entitled).
0 commit comments