Status
Blocked on upstream model availability and contract details.
This is now an upstream-tracking issue rather than an implementation-ready feature request.
OpenCodex should not guess a Grok 4.6 OAuth/CLI model slug, context window, reasoning controls, modality support, tool support, or other catalog metadata before xAI exposes and confirms them through the relevant authenticated Grok/xAI surface.
Goal
When Grok 4.6 becomes available to an authenticated xAI/Grok OAuth account, expose it through the existing OpenCodex xAI OAuth workflow so Codex App and Codex CLI users can select it without requiring a separate xAI API-key provider.
The desired flow remains:
ocx login xai
↓
OpenCodex discovers or recognizes upstream Grok model
↓
/v1/models + generated Codex catalog
↓
xai/<confirmed-upstream-slug>
Upstream gate
Implementation should begin only after there is reliable evidence for the OAuth/CLI-backed model contract.
At minimum confirm:
- the model is actually available to the authenticated Grok/xAI account surface used by OpenCodex;
- the exact upstream model identifier;
- whether discovery returns the model dynamically or a maintained fallback entry is required;
- context-window metadata;
- reasoning controls/effort values;
- image/input modality support;
- tool/function-call behavior;
- streaming behavior;
- quota/account eligibility semantics that differ from Grok 4.5, if any.
Public xAI API availability alone is not sufficient if the OAuth/Grok CLI-compatible transport used by this issue exposes a different catalog or entitlement boundary.
Expected OpenCodex behavior once unblocked
ocx login xai continues to own authentication for the xAI OAuth provider.
- The confirmed Grok 4.6 model is discovered or represented with verified metadata.
- The model appears in
/v1/models and the generated Codex catalog.
- Codex App/CLI can select the namespaced xAI model.
- Requests use the existing xAI OAuth/Grok-compatible transport when that upstream surface supports the model.
- Existing Grok 4.5 behavior does not regress.
- Unsupported capabilities are not advertised merely because another Grok version supports them.
Do not implement by guessing
Do not:
- hard-code
grok-4.6 only because that name is expected;
- copy Grok 4.5 capability metadata without upstream evidence;
- treat a custom-provider/API-key workaround as proof that the OAuth route supports the same model;
- advertise a model before the authenticated upstream can actually invoke it.
Close condition
Close when the model is available through the intended xAI OAuth account flow and OpenCodex exposes it with verified routing/catalog behavior.
If xAI confirms that this model will not be available through the OAuth/Grok account transport, close as not planned and document the supported alternative.
Status
Blocked on upstream model availability and contract details.
This is now an upstream-tracking issue rather than an implementation-ready feature request.
OpenCodex should not guess a Grok 4.6 OAuth/CLI model slug, context window, reasoning controls, modality support, tool support, or other catalog metadata before xAI exposes and confirms them through the relevant authenticated Grok/xAI surface.
Goal
When Grok 4.6 becomes available to an authenticated xAI/Grok OAuth account, expose it through the existing OpenCodex xAI OAuth workflow so Codex App and Codex CLI users can select it without requiring a separate xAI API-key provider.
The desired flow remains:
Upstream gate
Implementation should begin only after there is reliable evidence for the OAuth/CLI-backed model contract.
At minimum confirm:
Public xAI API availability alone is not sufficient if the OAuth/Grok CLI-compatible transport used by this issue exposes a different catalog or entitlement boundary.
Expected OpenCodex behavior once unblocked
ocx login xaicontinues to own authentication for the xAI OAuth provider./v1/modelsand the generated Codex catalog.Do not implement by guessing
Do not:
grok-4.6only because that name is expected;Close condition
Close when the model is available through the intended xAI OAuth account flow and OpenCodex exposes it with verified routing/catalog behavior.
If xAI confirms that this model will not be available through the OAuth/Grok account transport, close as not planned and document the supported alternative.