Anthropic released version 1.11.0 of its official Python SDK on September 30, 2026 1. This update provides Python developers with access to the Anthropic API and Claude models 1, incorporating new features and client deprecations 1. The SDK is designed to facilitate integration of Claude API functionalities into Python applications 1.
What Changed
The 1.11.0 release of the Anthropic Python SDK introduces a new API endpoint for listing spend limits 1.
Additionally, the 'sonnet 4.5' client has been deprecated in this release 1. Developers currently using this specific client should review their implementations for potential future adjustments.
Why It Matters for Developers
The new spend limits endpoint is intended to provide a mechanism for developers to monitor and manage their API consumption more effectively. This capability can assist with cost management and help prevent unexpected overages in applications that rely on the Anthropic API and Claude models.
The deprecation of the 'sonnet 4.5' client signals a shift in Anthropic's client offerings 1. Developers using 'sonnet 4.5' should prepare to migrate to alternative clients to ensure continued compatibility and access to future updates and features. The specific impact or recommended migration path for developers using the deprecated 'sonnet 4.5' client is not detailed in the release notes 1.
How to Try It
Developers can install the Anthropic Python SDK version 1.11.0 using pip 1. The package is available on PyPI 1.
pip install anthropicAfter installation, the SDK can be used to interact with the Anthropic API 1. The following example demonstrates creating a message with a Claude model 1:
import os
from anthropic import Anthropic
client = Anthropic(
api_key=os.environ.get("ANTHROPIC_API_KEY"), # This is the default and can be omitted
)
message = client.messages.create(
max_tokens=1024,
messages=[
{
"role": "user",
"content": "Hello, Claude",
}
],
model="claude-opus-5-5",
)
print(message.content)Project Health and Security
The anthropic package on PyPI records 174,489,374 monthly downloads 6. The anthropic-sdk-python repository has 67 contributors, with the top contributor accounting for 55% of commits 6.
An OpenSSF Scorecard assessment detected 64 existing vulnerabilities in the anthropic-sdk-python project 6. The specific details of these vulnerabilities and their resolution timeline are not available in the provided information 6. According to inspect.software, the project holds a health index of 92 out of 100, with its highest score in Vitality and lowest in Engineering Quality 6. The project is licensed under the MIT License 1.
Context from Previous Releases
Earlier, Anthropic Python SDK v1.10.0, also released on September 30, 2026, introduced several features 4. These included a refusal stop reason and stop_details for Managed Agents session idle events 4. Version 1.10.0 also added Claude Enterprise analytics, spend limits, and RBAC groups and roles to the Admin API 4.
Limitations and Open Questions
The release notes for v1.11.0 do not specify the exact impact or recommended migration path for developers using the deprecated 'sonnet 4.5' client 1. Additionally, detailed functionalities and usage instructions for the new 'list spend limits endpoint' are not fully elaborated 1. The specifics of the 64 detected vulnerabilities and their resolution timeline are also not publicly available 6.