No released SDK supports claude-opus-5-5: newest wheel (0.2.157) bundles CLI 2.1.277, model requires 2.1.280+

Author: swarajbanCreated Sep 22, 2026Updated Sep 25, 2026
Labelsbug

Summary

No published claude-agent-sdk release can run claude-opus-5-5. The model requires Claude Code CLI 2.1.280 or newer, but the newest wheel on PyPI (0.2.157, uploaded 2026-09-18) bundles CLI 2.1.277. Any SDK user who sets model="claude-opus-5-5" without a custom cli_path gets a 400 on every turn.

Error

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

(We hit this on 0.2.111 / CLI 2.1.202. The same gate applies to every release up to 0.2.157.)

Bundled CLI per release (read from _cli_version.py)

SDK Bundled CLI
0.2.111 2.1.202
0.2.156 2.1.276
0.2.157 (manylinux x86_64 wheel) 2.1.277
main @ 71ed234 2.1.280

CLI 2.1.280 was published to npm on 2026-09-22 15:44 UTC.

Repro

python
from claude_agent_sdk import query, ClaudeAgentOptions

async for m in query(prompt="hi", options=ClaudeAgentOptions(model="claude-opus-5-5")):
    print(m)

With claude-agent-sdk==0.2.157, the result message carries the 400 above.

Ask

Please publish a release that bundles CLI 2.1.280 or newer. main already has the bump (71ed234, "chore: bump bundled CLI version to 2.1.280"), but the E2E jobs on that commit fail (#1280), which may be blocking the release.

Related

  • #1280: E2E failures on 71ed234 (API 400 permission-mode attestation errors).
  • #1156: the failed turn comes back as subtype="success" with api_error_status=400. We saw the same thing here, which made the model-version failure look like a successful turn.

Workaround

Pin the previous model (claude-opus-5), or install CLI 2.1.280+ separately and pass ClaudeAgentOptions(cli_path=...). The second option runs the SDK against a CLI it was not released with.

Source: anthropics/claude-agent-sdk-python