#4471·9router

Codex OAuth rejects gpt-6.1-sol with outdated CLI version identity

Author: emi-ranCreated Sep 29, 2026Updated Sep 30, 2026

Bug

With a ChatGPT-backed Codex account, a request for gpt-6.1-sol through 9Router returns HTTP 400: The 'gpt-6.1-sol' model is not supported when using Codex with a ChatGPT account. The same account can use the model in the current ChatGPT app.

Cause / reproduction

open-sse/providers/registry/codex.js sends version: 0.155.0 and User-Agent: codex_cli_rs/0.155.0 to Codex. On 2026-09-29, npm @openai/codex@latest is 0.159.0. In a connected-account test on our fork, changing only the shared Codex CLI identity to 0.159.0 made the model work (reporter confirmation). This is not a local Codex CLI installation issue: 9Router sends these headers itself.

Expected

Codex requests use a current compatible client identity so eligible account models are accepted. Preserve a single source for version and both headers.

Scope

Update the shared Codex CLI compatibility version and test header values; no credentials or account details included.