Repository navigation
Description
Client or integration
Codex Desktop through an OpenCodex hub
Provider or upstream service
Anthropic (anthropic OAuth provider)
OpenCodex version
2.97.0 (hub). Also checked: CLAUDE_CLI_VERSION is "2.1.280" in v2.98.0, v2.99.0 and dev at a144140.
Endpoint or capability
Anthropic Messages requests for claude-fable-5-2 through the OAuth (Claude Code) identity.
Current behaviour
claude-fable-5-2 appears in the provider's model list after model discovery and in the synced Codex catalog. Every request to it fails with HTTP 400 claude_code_version_too_old. Other Claude models, such as claude-fable-5-1, keep working through the same account.
Expected behaviour
OpenCodex presents a Claude Code version that Anthropic accepts for claude-fable-5-2, which is 2.1.290 or newer according to the error.
Minimal redacted request or reproduction
- Log in to the
anthropicprovider with OAuth. - Run
ocx sync, soanthropic/claude-fable-5-2is in the catalog. - Send any turn to
anthropic/claude-fable-5-2from Codex.
Actual response or error
Provider error 400: {"type":"error","error":{"type":"invalid_request_error","message":"Claude Code 2.1.280 does not support this model; version 2.1.290 or newer is required. Run 'claude update', or update the Claude desktop app, then try again.","details":{"error_code":"claude_code_version_too_old"}}}
Upstream documentation
The requirement is stated in the error response itself.
Suggested mapping or implementation notes
The version comes from CLAUDE_CLI_VERSION in src/providers/claude-cli-identity.ts, which feeds CLAUDE_CLI_USER_AGENT (src/adapters/anthropic.ts:589). It was last aligned in e04aae0 (#7838, "align Claude Code 2.1.280 OAuth profile"). CLAUDE_CODE_HEADERS in src/adapters/client-fingerprint.ts also documents 2.1.280 and the matching SDK and runtime versions. Per the comment on CLAUDE_CLI_VERSION, the profile should be realigned to a current Claude Code release together with a live check.
Additional context and attachments
The hub runs in Docker (linux/arm64) as a hub for remote Codex and Claude clients. Model discovery lists Fable 5.2, so users can pick a model that always fails until the identity is updated.
Checks
- I searched existing provider and compatibility issues.
- The request and response were redacted.
- The expected behaviour is based on an upstream specification or a concrete client requirement.
Activity
coderabbitai commentedon Nov 9, 2026
🔗 Related PRs
#7838 - fix(anthropic): align Claude Code 2.1.280 OAuth profile and isolate session/device IDs [merged]
📝 Issue Planner
Check the box below or use the
@coderabbitai plancommand to generate an implementation plan and prompts that you can use with your favorite coding assistant.🧪 Issue enrichment is currently in open beta.
To disable automatic issue enrichment, add the following to your
.coderabbit.yaml:💬 Have feedback or questions? Drop into our discord!
konstantinosbotonakis commentedon Nov 9, 2026
Same failure here on v2.99.0 (macOS arm64, Codex in T3 Code through a local OpenCodex proxy), with the same
claude_code_version_too_old400 forclaude-fable-5-2.A local workaround confirms the root cause. Changing the one line in
src/providers/claude-cli-identity.tsto(2.1.321 is the current
@anthropic-ai/claude-coderelease) and runningocx restartfixes it. A minimal/v1/responsesrequest toanthropic/claude-fable-5-2now completes, and the default OAuth models still work. I leftCLAUDE_CLI_SDK_PACKAGE_VERSIONandCLAUDE_CODE_HEADERSunchanged, so I can't say whether the rest of the fingerprint should move with it.Please bump the Claude Code identity to 2.1.290 or later in the next release. Every reinstall or update currently brings 2.1.280 back.
napiermd commentedon Nov 9, 2026
Same failure on v2.99.0 on two Macs through the
anthropicOAuth provider.anthropic/claude-fable-5-2returns theclaude_code_version_too_old400 on both. Opus 5.5 keeps working through the same accounts.Is this planned for the next release? CONTRIBUTING says authentication surfaces need a maintainer sponsor, so I'd like to check before anyone opens a PR.
nostitos commentedon Nov 9, 2026
Easy fix but,
Slow turn-arround for such a big SOTA model release.
"OCX has a supported per-provider User-Agent override that takes precedence over the stale version. I’ll set it to your installed Claude Code version, 2.1.319."
thisisjun786 commentedon Nov 10, 2026
Confirmed on a Linux hub (2.99.0, npm install): applying only the src/ changes from #8464 on top of v2.99.0 makes
anthropic/claude-fable-5-2answer through the OAuth provider.claude-opus-5-5andclaude-sonnet-5-5still answer after the change.lidge-jun commentedon Nov 10, 2026
fixin rn