Users report that Python SDK releases up to 0.2.157 bundled a Claude Code CLI older than 2.1.280, so setting the model to claude-opus-5-5 failed with a 400 error on every turn unless a newer CLI path was given.
Workaround: Upgrade to SDK 0.2.158 or later, which bundles Claude CLI 2.1.280.
Reported on GitHub · 10 👍 · workaround source