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: README.ko.md
+15-3Lines changed: 15 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -139,6 +139,15 @@ codex -m "ollama/llama3" "이 함수를 리팩터링해 줘"
139
139
140
140
라우팅된 모델은 **Codex App** 모델 선택기에도 모델별 reasoning effort 컨트롤과 함께 나타납니다:
141
141
142
+
현재 Codex 빌드는 모델이 광고하는 경우 `low`, `medium`, `high`, `xhigh`, `max` reasoning 컨트롤을
143
+
노출할 수 있습니다. opencodex는 프로바이더 config가 명시적으로 alias를 지정하지 않는 한 `xhigh`와
144
+
`max`를 서로 다른 단계로 유지합니다.
145
+
146
+
GPT-5.6 Sol/Terra/Luna는 OpenAI API key 및 OpenRouter preset에서 rollout-ready catalog 항목으로
147
+
seed됩니다(`gpt-5.6-sol`, `gpt-5.6-terra`, `gpt-5.6-luna`; OpenRouter는 `openai/...` 사용). 실제
148
+
사용 가능 여부는 upstream preview gate를 따르며, opencodex는 계정/프로바이더가 제공할 때 쓸
149
+
routing/catalog metadata를 준비해 둡니다.
150
+
142
151
<palign="center">
143
152
<imgsrc="assets/codex-app-picker.png"alt="opencodex 라우팅 모델을 reasoning effort 선택기와 함께 보여주는 Codex App"width="480">
144
153
</p>
@@ -164,8 +173,9 @@ opencodex는 두 가지 동작을 분리해서 유지합니다:
164
173
-**한 번 로그인하면 API 키는 생략.** xAI, Anthropic, Kimi는 OAuth를 지원하므로 기존 계정으로 인증할 수 있고 토큰은 자동 갱신됩니다. 또는 `codex login`을 forward 하거나, API 키를 붙여넣거나, `${ENV_VAR}` 참조를 쓸 수 있습니다 — 선택은 자유입니다.
165
174
-**Codex가 동작하는 모든 곳에서.** Codex CLI, TUI, App, SDK에 자동으로 주입됩니다. 라우팅된 모델이 네이티브 모델처럼 Codex 모델 선택기에 나타납니다.
166
175
-**알맞은 모델에 위임.** 대시보드나 config에서 최대 5개의 라우팅/네이티브 모델을 Codex 서브에이전트 선택기에 노출해, 복잡한 작업은 reasoning 모델로, 빠른 작업은 저렴한 모델로 보낼 수 있습니다.
176
+
-**프리뷰 게이트된 OpenAI rollout에 대비.** GPT-5.6 Sol/Terra/Luna fallback 항목은 OpenAI API key와 OpenRouter route용으로 준비되어 있으며, upstream access가 있을 때 `max` reasoning과 372k usable-context metadata를 사용합니다.
167
177
-**어떤 모델에도 초능력을.** OpenAI가 아닌 모델도 ChatGPT 로그인 위에서 도는 `gpt-5.4-mini` sidecar로 실제 웹 검색과 이미지 이해를 사용합니다.
168
-
-**무슨 일이 일어나는지 보이게.** 웹 대시보드가 프로바이더, OAuth 상태, 모델 선택, 실시간 요청 로그를 보여줍니다 — 왜 요청이 실패했는지 더는 추측하지 않아도 됩니다.
178
+
-**무슨 일이 일어나는지 보이게.** 웹 대시보드가 프로바이더, OAuth 상태, 모델 선택, upstream이 보고한 cached/cache-write 토큰 수를 포함한 실시간 요청 로그를 보여줍니다 — 왜 요청이 실패했는지 더는 추측하지 않아도 됩니다.
169
179
-**백그라운드 실행.** 시스템 서비스(launchd / systemd / Task Scheduler)로 설치하면 부팅 시 자동 시작되어 신경 쓸 필요가 없습니다.
170
180
-**깔끔한 종료, 잔여물 제로.**`ocx stop`(또는 대시보드의 Stop 버튼)은 프록시를 종료하고, 설치된 백그라운드 서비스를 멈추며, Codex를 원래 설정으로 복원합니다. 이후 `codex`는 잔여 설정이나 좀비 프로세스 없이 이전과 똑같이 동작합니다.
171
181
@@ -266,8 +276,10 @@ opencodex는 `config.json.invalid-<timestamp>`로 백업하고 경고를 출력
266
276
프로바이더 항목은 라우팅 카탈로그 메타데이터도 함께 지정할 수 있습니다. `contextWindow`는 프로바이더
267
277
전체에 적용되는 Codex 노출용 컨텍스트 상한, `modelContextWindows`는 모델별 상한,
268
278
`modelInputModalities`는 `["text"]`나 `["text", "image"]` 같은 모델별 입력 힌트입니다. 이 값들은 라이브
269
-
`/models` 메타데이터를 상한으로 제한할 뿐, 더 작은 라이브 컨텍스트를 늘리지는 않습니다. 전체 필드는
270
-
설정 레퍼런스를 참고하세요.
279
+
`/models` 메타데이터를 상한으로 제한할 뿐, 더 작은 라이브 컨텍스트를 늘리지는 않습니다. 번들된 GPT-5.6
`openai/...`). They remain preview-gated by upstream availability; opencodex only prepares the
151
+
routing and catalog metadata for accounts and providers that can serve them.
152
+
144
153
<palign="center">
145
154
<imgsrc="assets/codex-app-picker.png"alt="Codex App showing opencodex routed models with reasoning effort picker"width="480">
146
155
</p>
@@ -168,9 +177,11 @@ next Codex session. opencodex keeps two separate behaviors:
168
177
can auto-pick a lower-usage account from the pool, with quota refresh and non-PII request labels.
169
178
-**Log in once, skip the API key.** OAuth support for xAI, Anthropic, and Kimi means you can authenticate with your existing account. Tokens auto-refresh. Or forward your `codex login`, paste an API key, or use `${ENV_VAR}` references — your call.
170
179
-**Works everywhere Codex does.** Injects into Codex CLI, TUI, App, and SDK automatically. Routed models show up in Codex's model picker just like native ones.
180
+
-**History-safe injection.** On local installs the proxy points Codex's own built-in `openai` provider at itself via a single `openai_base_url` line — new threads keep their native provider tag, so ongoing chat history is never remapped and an unclean shutdown can't hide it. (Threads re-tagged by older versions are migrated back once on the first start; remote/LAN binds use a dedicated provider entry instead, since they need an API-key header.)
171
181
-**Delegate to the right model.** Feature up to five routed or native models in Codex's subagent picker from the dashboard or config — route complex tasks to a reasoning model, fast tasks to a cheap one.
182
+
-**Prepare for preview-gated OpenAI rollouts.** GPT-5.6 Sol/Terra/Luna fallback entries are ready for OpenAI API key and OpenRouter routes, with `max` reasoning and 372k usable-context metadata when upstream access is available.
172
183
-**Give any model superpowers.** Non-OpenAI models get real web search and image understanding via a `gpt-5.4-mini` sidecar over your ChatGPT login.
173
-
-**See what's happening.** The web dashboard shows providers, OAuth status, model selection, and a live request log — no more guessing why a request failed.
184
+
-**See what's happening.** The web dashboard shows providers, OAuth status, model selection, and a live request log, including cached/cache-write token counts when upstream reports them — no more guessing why a request failed.
174
185
-**Runs in the background.** Install as a system service (launchd / systemd / Task Scheduler) and forget about it. The proxy starts on boot and stays out of your way.
175
186
-**Clean exit, zero residue.**`ocx stop` (or the dashboard's Stop button) shuts down the proxy, stops the background service if one is installed, and restores Codex to its original configuration. Plain `codex` works exactly as it did before — no leftover config, no orphaned processes.
176
187
@@ -285,7 +296,9 @@ Provider entries can also annotate routed catalog metadata. Use `contextWindow`
285
296
Codex-visible context cap, `modelContextWindows` for model-specific caps, and
286
297
`modelInputModalities` for model-specific catalog input hints such as `["text"]` or
287
298
`["text", "image"]`. Context values cap live `/models` metadata; they never raise a smaller live
288
-
context window. See the configuration reference for the full field list.
299
+
context window. The bundled GPT-5.6 Sol/Terra/Luna fallback metadata uses a 372,000-token usable
300
+
context window for OpenAI API key and OpenRouter catalog entries; it does not bypass upstream preview
301
+
access. See the configuration reference for the full field list.
289
302
290
303
> **GLM-5.2 1M context via Z.AI:** through the `openai-chat` adapter, both `glm-5.2`
291
304
> and `glm-5.2[1m]` work — opencodex strips the trailing `[1m]` suffix before
0 commit comments