-
Notifications
You must be signed in to change notification settings - Fork 830
gpt-5.4 is sometimes shown as gpt-5 for OMX/Codex sessions #620
Copy link
Copy link
Open
Labels
acceptedConfirmed backlog item or verified open bugConfirmed backlog item or verified open bugarea:usage-accuracyUsage math, reset windows, plan parsing, cost/token accuracyUsage math, reset windows, plan parsing, cost/token accuracybugSomething isn't workingSomething isn't workingpriority:mediumMedium priority: real issue or meaningful backlog itemMedium priority: real issue or meaningful backlog itemprovider:codexIssue specific to Codex/OpenAIIssue specific to Codex/OpenAI
Metadata
Metadata
Assignees
Labels
acceptedConfirmed backlog item or verified open bugConfirmed backlog item or verified open bugarea:usage-accuracyUsage math, reset windows, plan parsing, cost/token accuracyUsage math, reset windows, plan parsing, cost/token accuracybugSomething isn't workingSomething isn't workingpriority:mediumMedium priority: real issue or meaningful backlog itemMedium priority: real issue or meaningful backlog itemprovider:codexIssue specific to Codex/OpenAIIssue specific to Codex/OpenAI
CodexBar seems to show
gpt-5instead of the actual runtime modelgpt-5.4for some Codex sessions, especially OMX (oh-my-codex) sessions.
What I verified:
~/.codex/sessions/*.jsonl,turn_context.modelisgpt-5.4~/.codex/log/codex-tui.logalso records the same turns asmodel=gpt-5.4~/Library/Caches/CodexBar/cost-usage/codex-v2.json, some of thosesame sessions are bucketed under
gpt-5Examples:
rollout-2026-03-29T10-03-22-019d371d-f275-78d3-86c0-f5a2ba95dc17.jsonlturn_context.model = gpt-5.4days.2026-03-29.gpt-5 = [...]rollout-2026-03-28T11-18-17-019d323c-2c87-75b3-8566-15f873358216.jsonllastModel = gpt-5.4From my local cache scan, 29 out of 35 sessions bucketed as
gpt-5explicitlycontain
gpt-5.4in the source JSONL, and 30 of those are OMX sessions.So this looks less like an actual model switch and more like a CodexBar
parsing/cache fallback issue.
Suggested model resolution priority:
turn_context.modelcollaboration_mode.settings.modelgpt-5if neither exists