claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[BUG] Fable 5.1 requires unstable release of Claude Code

Open knksmith57 opened this issue 3 months ago • 7 comments

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

All attempts to use Fable 5.1 (claude-fable-5-1) in the current stable release of Claude Code fail deterministically with the following error message:

⏺ API Error: 400 Claude Code 2.1.236 does not support this model; version 2.1.251 or
  newer is required. Run 'claude update', or update the Claude desktop app, then 
  try again.

What Should Happen?

Fable 5.1 requests should succeed in the current stable release of Claude Code. As of this moment, that is 2.1.236:

❯ date; npm view @anthropic-ai/claude-code dist-tags.stable
Tue Sep  1 18:07:30 CDT 2026
2.1.236

Error Messages/Logs

`
2026-09-01T22:55:08.166Z [DEBUG] Acquired PID lock for 2.1.236 (PID 24426)
...
2026-09-01T22:55:10.796Z [DEBUG] [engine] send set_max_thinking_tokens max=null
2026-09-01T22:55:10.796Z [DEBUG] [engine] send set_model model=claude-fable-5-1
...
2026-09-01T22:55:17.794Z [DEBUG] [API:timing] dispatching to firstParty model=claude-haiku-4-5-20251001
2026-09-01T22:55:17.795Z [DEBUG] [API REQUEST] /v1/messages x-client-request-id=<REDACTED-CLIENT-ID> source=generate_session_title
...
2026-09-01T22:55:17.797Z [DEBUG] [engine] turn 1 start
...
2026-09-01T22:55:17.803Z [DEBUG] [API:timing] dispatching to firstParty model=claude-fable-5-1
2026-09-01T22:55:17.803Z [DEBUG] [API REQUEST] /v1/messages x-client-request-id=<REDACTED-CLIENT-ID> source=repl_main_thread
...
2026-09-01T22:55:18.240Z [ERROR] API error (attempt 1/11): 400 400 {"type":"error","error":{"type":"invalid_request_error","message":"Claude Code 2.1.236 does not support this model; version 2.1.251 or newer is required. Run 'claude update', or update the Claude desktop app, then try again.","details":{"error_code":"claude_code_version_too_old"}},"request_id":"<REDACTED-API-REQ-ID>"}
2026-09-01T22:55:18.240Z [WARN] [server-fallback] 400 attributed (unattributed) — stripping and retrying
...
2026-09-01T22:55:18.241Z [DEBUG] [API:timing] dispatching to firstParty model=claude-fable-5-1
2026-09-01T22:55:18.241Z [DEBUG] [API REQUEST] /v1/messages x-client-request-id=<REDACTED-CLIENT-ID> source=repl_main_thread
2026-09-01T22:55:18.305Z [DEBUG] Stream started - received first chunk
2026-09-01T22:55:18.305Z [DEBUG] [API:timing] first byte after 511ms
...
2026-09-01T22:55:18.537Z [ERROR] API error (attempt 1/11): 400 400 {"type":"error","error":{"type":"invalid_request_error","message":"Claude Code 2.1.236 does not support this model; version 2.1.251 or newer is required. Run 'claude update', or update the Claude desktop app, then try again.","details":{"error_code":"claude_code_version_too_old"}},"request_id":"<REDACTED-API-REQ-ID>"}
2026-09-01T22:55:18.537Z [WARN] [server-fallback] 400 attributed (unattributed) — stripping and retrying
...
2026-09-01T22:55:18.538Z [DEBUG] [API REQUEST] /v1/messages x-client-request-id=<REDACTED-CLIENT-ID> source=repl_main_thread
2026-09-01T22:55:18.795Z [ERROR] API error (attempt 1/11): 400 400 {"type":"error","error":{"type":"invalid_request_error","message":"Claude Code 2.1.236 does not support this model; version 2.1.251 or newer is required. Run 'claude update', or update the Claude desktop app, then try again.","details":{"error_code":"claude_code_version_too_old"}},"request_id":"<REDACTED-API-REQ-ID>"}
2026-09-01T22:55:18.802Z [ERROR] Error in API request: 400 {"type":"error","error":{"type":"invalid_request_error","message":"Claude Code 2.1.236 does not support this model; version 2.1.251 or newer is required. Run 'claude update', or update the Claude desktop app, then try again.","details":{"error_code":"claude_code_version_too_old"}},"request_id":"<REDACTED-API-REQ-ID>"}
2026-09-01T22:55:18.802Z [ERROR] API error x-client-request-id=<REDACTED-CLIENT-ID> (give this to the API team for server-log lookup)
2026-09-01T22:55:18.804Z [ERROR] Error: Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"Claude Code 2.1.236 does not support this model; version 2.1.251 or newer is required. Run 'claude update', or update the Claude desktop app, then try again.","details":{"error_code":"claude_code_version_too_old"}},"request_id":"<REDACTED-API-REQ-ID>"}
    at generate (/$bunfs/root/cli:39:39337)
    at makeRequest (/$bunfs/root/cli:90:8063)
    at processTicksAndRejections (native:7:39)
2026-09-01T22:55:18.805Z [DEBUG] [engine] turn 1 end (turns=1 usage in=896 out=11 cost=$0.0010 api=648ms stop=stop_sequence resultLen=0)
2026-09-01T22:55:18.805Z [ERROR] [engine] turn ended in error: API Error: 400 Claude Code 2.1.236 does not support this model; version 2.1.251 or newer is required. Run 'claude update', or update the Claude desktop app, then try again.
...
2026-09-01T23:05:22.843Z [DEBUG] Protecting locked version from cleanup: 2.1.227
`

Steps to Reproduce

  1. claude install stable
  2. claude --model claude-fable-5-1 --print 'what is your knowledge cutoff?'
  3. observe the following error message and a non-zero exit code (1): API Error: 400 Claude Code 2.1.236 does not support this model; version 2.1.251 or newer is required. Run 'claude update', or update the Claude desktop app, then try again.

Claude Model

Other

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

2.1.236

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

iTerm2

Additional Information

No response

knksmith57 avatar Sep 01 '26 23:09 knksmith57

❯ claude --version 2.1.258 (Claude Code)

You can use this version. The update probably took a little while to reach you.

bercedev avatar Sep 01 '26 23:09 bercedev

❯ claude --version 2.1.258 (Claude Code)

You can use this version. The update probably took a little while to reach you.

Hey berce, thanks for taking a look.

2.1.258 is not stable. Current release on stable channel is 2.1.236.

knksmith57 avatar Sep 02 '26 00:09 knksmith57

❯ claude --version 2.1.258 (Claude Code) You can use this version. The update probably took a little while to reach you.

Hey berce, thanks for taking a look.

2.1.258 is not stable. Current release on stable channel is 2.1.236.

Fable was added in the previous version.

Image

bercedev avatar Sep 02 '26 00:09 bercedev

Maybe the stable version should stick to the stable model version too — Fable 5, for example. 😄

sebyul2 avatar Sep 02 '26 02:09 sebyul2

i've just got the same error here. Firstly i ran these commands, just to check:

$ claude --version 
2.1.259 (Claude Code) 

$ claude doctor 
Claude Code doctor 
Running: native (2.1.259) 
Commit: 9b549c8d1c72 
Platform: darwin-arm64 
Path: /Users/my-user/.local/share/claude/versions/2.1.259 
Config install method: native 
Search: OK (bundled) 
Auto-updates: enabled 
Auto-update channel: latest 
Last update attempt: success → 2.1.258 (2026-09-02) 
Managed settings (remote): not fetched — requires an Enterprise or Team subscription 
Remote Control: Control this session from claude.ai/code or the Claude mobile app 

No installation issues found. 
For a full setup checkup that can also fix issues, run /doctor in a Claude Code session.

Then i ran these commands to clean shell cache and open new session:

hash -r
exec $SHELL -l

Voilà, Claude Code Works fine with Fable 5.1

murilosimao avatar Sep 03 '26 14:09 murilosimao

There are two release channels being discussed: latest and stable. Fable 5.1 was made only available on the latest channel. This issue points out that the Fable 5.1 model is not available on the stable release channel yet (since it is behind a few versions from latest - the whole point of the channel), which is a poor user experience because they cannot experience the new models. Up until Fable 5.1, just-launched models were available to the stable release channel by typing the model name directly, such as claude-opus-4-8[1m]. This has worked great.

I think Anthropic's intention with limiting Fable 5.1 to 2.1.251 and higher is that there are harness (Claude Code) updates paired (maybe watermarking...?) with the release that older Claude Code versions don't support...? idk.

Regardless - limiting new models to the latest (unstable) release channel is a poor user experience.

blueohsix avatar Sep 03 '26 18:09 blueohsix

I want to highlight this thoughtful and helpful comment from @nijave over in anthropics/claude-code#96130 :

Unclear what side-effects this might have, but this is what Fable came up with

nick@nick-desktop:~/$ CLAUDE_CODE_ATTRIBUTION_HEADER=0 ANTHROPIC_CUSTOM_HEADERS="User-Agent: claude-cli/2.1.280 (external, cli)" claude --version
2.1.274 (Claude Code)

nick@nick-desktop:~/.$ CLAUDE_CODE_ATTRIBUTION_HEADER=0 ANTHROPIC_CUSTOM_HEADERS="User-Agent: claude-cli/2.1.280 (external, cli)" claude --model claude-opus-5-5 -p 'ping'
Pong. What would you like to work on?

The first one prevents the Claude Code version from being injected in the prompt, the second (as the name implies) lies about its version in the User Agent.

The most reasonable thing I can come up with is Anthropic is trying to ensure Opus 5.5 uses the "right" Claude Code system prompt. Different models and versions have different system prompts bundled into Claude Code. However, you can always use --system-prompt to override the system prompt of any model to whatever you want.

This is the first and only viable, portable workaround that I've seen suggested.

Here's a slight adaption that dynamically resolves the latest version published to npm and uses that for the UA spoofing:

env \                                                                    
  CLAUDE_CODE_ATTRIBUTION_HEADER='0' \
  ANTHROPIC_CUSTOM_HEADERS="User-Agent: claude-cli/$(npm view @anthropic-ai/claude-code dist-tags.latest) (external, cli)" \
  claude \
    --model claude-opus-5-5 \
    --print 'what is your knowledge cutoff?'

If, like us, you're just looking for a way to give your team access to current model releases without also accepting the massive breakage risk of running unpinned Claude Code latest, you might be able to use the built-in process wrapper (AKA "Corporate Launcher") to set the spoofed value. That is, unless your team uses Windows, in which case that isn't an option, because, by design, process wrapper fails silently on Windows.

knksmith57 avatar Sep 29 '26 06:09 knksmith57