Repository navigation
Releases
v0.14.1
v0.14.0
Choose explicit model and effort targets for cost and quality modes, and inspect the effective activity routes in the panel.
- Set tier and activity targets under
modes.costandmodes.quality. Activity targets can inherit fields from their mode's tier target. Compatibility, context and switching checks still apply. - Expand the Policy view's activity routes with
rto inspect route sources and unavailable preferences. Before the context has been measured, the panel identifies eligibility as unverified. - Honor upgrade and downgrade vote thresholds greater than three. Reject malformed classifier tier distributions instead of treating invalid probability mass as routing evidence.
Restart routed sessions with the updated binary and update the Codex plugin to 0.14.0. Existing configurations remain valid.
v0.13.1
Fix a phase-confidence gap in mode-gated operational routing introduced in v0.13.0.
- Newly accepted ops reasoning/code projections must pass their actual phase-confidence and cache-cost bar before the mode gate, even when the activity label is unchanged. A high complexity score no longer substitutes for weaker phase evidence.
- Refused projections retain the incumbent pair and semantic provenance. Stronger phase evidence can still pass the normal mode vote and hold rules.
- Existing accepted floor intent, valid context refits and explicit operator mode changes keep their established gates. Model assignments, prices, pins, cancellation and eligibility behavior are unchanged.
Restart routed sessions with the updated binary and update the Codex plugin to 0.13.1. No configuration migration is required.
v0.13.0
Operational goals now use phase-appropriate routing preferences without losing goal continuity. Tariff changes no longer reverse declared model capability order.
- Accepted ops reasoning targets the same-tier debug preference; production targets code. Bounded verify/execute retains ops. Existing confidence, cache, dwell, passed-check, pin, cancellation and eligibility gates still control switching.
- Ops report or uncertain phase evidence preserves an eligible continuation activity and uses the generic baseline on a fresh task. Missing phase, including Ollama's phase-free answers, no longer authorizes a fresh ops discount. No local keyword tiers were added.
- Model upgrade/downgrade gates use declared generic tier order and same-model effort, not input or output prices. Activity-only models remain unordered. Cost mode still uses input prices for its economic model lever.
- Decision and debug reply diagnostics distinguish requested, selected and response-body model identity, with configured-price estimate coverage. They do not claim served effort, backend attestation, delegated-task coverage or actual bills.
- Explicit debug/code cells remain user-owned. A weaker or unordered inherited generic floor retains ops; explicit unordered continuation floors must still pass lateral and mode gates.
- Existing OpenAI model assignment tables are unchanged. Standard list prices are unchanged, checked against OpenAI on 2026-11-15; long context and cache-write charges remain outside the estimate.
- Close routed Codex sessions, replace the binary and restart. Follow the update guide for set-up homes.
- Update the Codex plugin to 0.13.0. Existing explicit cells remain user-owned. Review custom ladders that relied on price to establish capability order; declare the intended generic model-tier order instead.
v0.12.1
The classifier separates a task's goal from its current phase. A code goal can stay code through tests and commit, while a bounded verification or execution phase can target the existing ops route.
- System One and OpenAI Decisions ask for goal and phase together. The existing
activityanswer remains the goal, so activity configuration stays compatible. Only supported verify/execute phases target ops; existing confidence, cache, dwell, safety and eligibility checks still apply. - The panel distinguishes goal, phase and effective route activity. Command use alone no longer promotes a turn to an ops activity.
- A bounded, in-memory goal anchor helps identify continuations independently of recent dialogue. The classifier receives it as task data; it is not saved in router state.
- The default Jev model is
jev-1.14.0. TypeSafe reports its largest improvement in multilingual support and introduces an experimental Box type; this router does not use Box. These claims do not establish routing-quality gains. - Ollama has no phase answer and keeps goal-based routing. Classifier answers can still be wrong; the synthetic tests are not a representative quality evaluation.
- Require Go 1.27.4 or newer for builds, fixing GO-2026-6859, an HTTP/1 server crash caused by a
net/httpMaxBytesReader header race. - Built-in Standard prices are unchanged, checked against OpenAI on 2026-11-13. Cache-write prices remain outside the estimate.
-
Close routed Codex sessions, replace the binary and start Codex again. Rerun setup for a set-up home as described in the update guide.
-
Update the Codex plugin to 0.12.1. Existing explicit classifier and activity settings remain yours; an explicitly pinned Jev version does not change automatically.
-
For source builds, use Go 1.27.4 or newer before building to avoid the vulnerable standard library.
v0.12.0
Summary
The panel, the hook line and the CLI now read the same way. A tier is a meter, a reason starts with a glyph, and cost is one signed figure against no routing. The routing itself does not change: the same tier and route are chosen for the same input.
Changes
- Tier meter.
▂micro,▂▄low,▂▄▆medium,▂▄▆█high, on the panel, the hook line andctl. The tier strip uses one bar per turn. Pin buttons show the meter and the name, and keep all four on a narrow panel. Tier names stay as typed input (ctl pin --tier high). - One reason text per reason, led by a glyph:
↑stronger,↓cheaper,=stays,…waits,!fault,⏵pin,○off. The hook and the panel share it. - Cost against no routing. The Session and Usage figures are one signed difference:
−$0.84 (−31%) vs no routing · ≈ list price. Minus is cheaper. No routing is the model Codex asked for on each reply. Amounts have two decimals, and a nonzero amount under a cent reads<$0.01. Usage addsper reply: cheaper … · dearer …and says the figures cover the main thread. "Ledger", "native basis" and "switch gates" are gone. - Hook line.
↳ Hook · ▂▄▆█ debug → gpt-6.1-sol · high ↑ repeated failure, edit between. Therouter:prefix and the tier word are gone. A turn with several steps now keeps the reason that changed the route, not= same turn. - CLI.
ctl statusprintsstate(● on,‖ paused,◐ manual,↑ escalated) in place ofmodeandattention.sessionshas aSTATEcolumn and, on a terminal only, a header row.sessions --jsonis unchanged.ctlconfirmations are shorter. - Panel.
LookisNotes,LedgerisCounts, and the switching line readsup after 2 votes at score ≥ 0.65. The Usage tab no longer ends a pinned switch with a stray·. Token counts use an upper-caseKeverywhere. - Prices. The built-in prices are unchanged and match the OpenAI pricing page (Standard, up to 272K input tokens), checked 2026-11-04. The source and date are in
internal/config/default.goanddocs/configuration.md. Long context, Fast, batch and flex, and regional pricing are not modeled.
Upgrade
- Close routed Codex sessions, replace the binary and start Codex again. A set-up home needs setup rerun as for any release.
- Update the Codex plugin to 0.12.0 for the new skill text. The hook line comes from the binary.
- Scripts that read
ctl statustext must readstatewhere they readmodeorattention. Scripts that read thesessionstable get aSTATEcolumn. Usesessions --jsonfor stable fields.
v0.11.1
Install the latest stable codex-router with Homebrew:
brew install alexei-led/tap/codex-router- Releases now automatically update the Homebrew formula for macOS and Linux on ARM64 and AMD64.
- Retried release dispatches resolve the latest stable version rather than restoring an older formula.
- The installation guide covers Homebrew trust, token configuration, and upgrades. The plugin remains a separate install.
Close affected Codex sessions before upgrading. Run brew update and brew upgrade alexei-led/tap/codex-router.
If you previously ran codex-router setup, rerun it after upgrading with the original --home, --config, --state-dir options and environment. Otherwise services can retain an old Cellar path that Homebrew cleanup removes.
v0.11.0
The router can forward to a gateway instead of chatgpt.com. Use it when your organization sends Codex through a managed gateway and you still want the router to pick model and effort.
- New
proxy.upstreamconfig field: anhttpsURL for the backend the proxy forwards to. Unset keepshttps://chatgpt.com/backend-api/codex. Credentials, query and fragment in the URL are rejected. It applies to the launcher,codex-router proxyand a set-up home's edge service. - The provider check now names the provider Codex chose, for example
codex did not select the router provider (got "gateway"). - New guide section, Use a managed gateway.
- Nothing is required. Without
proxy.upstream, behavior is unchanged. - To use a gateway, set
proxy.upstreamand restart routed sessions. A set-up home's edge service also needs a restart. The gateway receives your ChatGPT credentials, so set only a host your organization approves. - Managed configuration that forces
model_providerstill overrides the router. The launcher falls back to plain Codex. Ask your administrator to leave that key unset.
v0.10.1
Detect provider overrides at startup and avoid charging measured context for its serialized history again.
- The launcher verifies Codex's effective provider before starting the TUI. If native or managed configuration overrides
router, it explains the mismatch and falls back to plain Codex. - Context estimates reuse measured prefixes plus appended content. Changed history or request settings, compaction and mismatched responses keep conservative fallback behavior.
- Supported effort-only changes on the current model are no longer blocked by a smaller catalog base window. Cross-model fit and compatibility checks remain enforced.
- Request correlation prevents late replies from measuring a newer request. Retry identity includes full content, and decision logs expose numeric fit inputs without request text.
- Close routed sessions, then update both the executable and plugin. Running launchers retain their old code.
- If provider verification fails, resolve the native provider setting through your approved configuration process, then start a fresh thread. Updating the router does not override managed policy.
v0.10.0
Default routing now uses GPT-6.1 Terra between Luna and Sol, with mode-aware model and effort preferences rather than relying only on one-step transforms.
- Balanced medium and cost high prefer Terra medium for generic work and Terra xhigh for code/debug. Quality low prefers Terra medium; quality medium uses Sol medium or high by activity. Balanced high uses Sol high, or xhigh for debug, plan and review. Micro is unchanged.
- Explicit custom routes and activity cells remain user-owned. Custom ladders keep the existing cost-model-first and quality-effort-first transforms.
- Repeated failure/edit/failure at logical high in cost mode can escape to an eligible, strictly stronger balanced-high physical model. Recovery consumes each signature once, holds boundedly and respects continuation, dwell, passed-check and user-intent gates.
- Route plans validate runtime model, effort, compatibility and context before classification. Generation, continuation, preview and diagnostics share the resolved pair. In-flight advice from an old mode is fenced.
- Terra standard prices are included. Missing or incomplete prices remain unpriced; these flat list-price estimates are not subscription invoices.
- Policy preview keeps long model names separated. Plugin version is 0.10.0.
Restart launchers or home services after upgrading. Partial configs inherit Terra; full saved v0.9 configurations with explicit Sol medium/debug routes remain custom and do not migrate automatically. Remove those overrides to adopt the new preferences. No user config is rewritten. Runtime catalog availability and compatibility still determine which routes can run.