Anthropic marks Claude 4 Sonnet and Opus as deprecated in Python SDK v0.95.0
Anthropic released Python SDK v0.95.0 on April 14, 2026, marking Claude 4 Sonnet and Opus models as deprecated. The update also includes Bedrock authentication improvements for AWS deployments.
Anthropic marks Claude 4 Sonnet and Opus as deprecated in Python SDK v0.95.0
Anthropic released version 0.95.0 of its Python SDK on April 14, 2026, with the primary change being the deprecation of Claude 4 Sonnet and Opus models.
Deprecation details
The SDK now marks both Claude 4 Sonnet and Claude 4 Opus as deprecated, according to the release notes. This typically signals that these models will be phased out in favor of newer versions, though Anthropic has not specified an end-of-life date or recommended migration path in the changelog.
Developers using these models in production should expect migration requirements in future releases. Anthropic has not announced replacement models or provided guidance on which Claude variants should be used instead.
Additional changes
The release also includes an authentication update for Bedrock deployments. The SDK now uses an auth header for the Mantle client when running Claude models through AWS Bedrock, improving compatibility with Amazon's infrastructure.
What this means
The deprecation of Claude 4 Sonnet and Opus without immediate replacement details suggests Anthropic may be preparing to release newer model versions or consolidating its model lineup. Developers should monitor Anthropic's documentation for migration timelines and recommended alternatives.
For teams running Claude through AWS Bedrock, the authentication header change should be transparent but may require testing to ensure compatibility with existing deployment configurations. The full changelog is available on GitHub.
Related Articles
Anthropic's Opus 4.8 matches Claude Mythos Preview in alignment, cuts thinking mode costs by 67%
Anthropic released Claude Opus 4.8 on May 28, 2026, replacing Opus 4.7 at unchanged pricing. The company claims the model's misalignment rates match those of Claude Mythos Preview, the experimental model deemed too dangerous for public release in April 2026. Opus 4.8 delivers faster thinking modes at one-third the cost of version 4.7.
Anthropic releases Claude Opus 4.8 with improved agentic coding and reasoning benchmarks
Anthropic released Claude Opus 4.8 on May 28, 2026, with improved performance in agentic coding, computer use, and reasoning benchmarks. Pricing remains at $5 per million input tokens and $25 per million output tokens, while the model's fast mode is now three times cheaper than previous versions.
Anthropic's Claude Opus 4.8 launches on AWS Bedrock in four regions
Anthropic's Claude Opus 4.8 is now available on Amazon Bedrock and Claude Platform on AWS. The model is designed for autonomous multi-stage tasks, agentic coding, and long-running workflows with reduced supervision.
Anthropic releases Claude Opus 4.8 with 69.2% agentic coding score, 2.5x faster performance
Anthropic released Claude Opus 4.8 on May 28, 2026, six weeks after version 4.7. The model achieves 69.2% on agentic coding benchmarks (up from 64.3%), runs 2.5 times faster in fast mode at one-third the cost, while maintaining the same pricing as version 4.7.
Comments
Loading...