# Anthropic Python SDK 1.11.0: Spend Limits & Deprecations

> Anthropic has released version 1.11.0 of its official Python SDK, introducing a new API endpoint for listing spend limits and deprecating the 'sonnet 4.5' client.

- Published: 2026-10-05
- Updated: 2026-12-04
- Category: Frameworks & SDKs
- Type: news
- Tags: Ai Development, Claude Api, Deprecation, Python Sdk, Spend Limits, anthropic
- Sources: 3
- Canonical: https://rajatxautomatedcontent.vercel.app/articles/anthropic-python-sdk-1-11-0-release

---

Anthropic released version 1.11.0 of its official Python SDK on September 30, 2026 [S1]. This update provides Python developers with access to the Anthropic API and Claude models [S1], incorporating new features and client deprecations [S1]. The SDK is designed to facilitate integration of Claude API functionalities into Python applications [S1].

## What Changed

The 1.11.0 release of the Anthropic Python SDK introduces a new API endpoint for listing spend limits [S1].

Additionally, the 'sonnet 4.5' client has been deprecated in this release [S1]. 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 [S1]. 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 [S1].

## How to Try It

Developers can install the Anthropic Python SDK version 1.11.0 using pip [S1]. The package is available on PyPI [S1].

```bash
pip install anthropic
```

After installation, the SDK can be used to interact with the Anthropic API [S1]. The following example demonstrates creating a message with a Claude model [S1]:

```python
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 [S6]. The `anthropic-sdk-python` repository has 67 contributors, with the top contributor accounting for 55% of commits [S6].

An OpenSSF Scorecard assessment detected 64 existing vulnerabilities in the `anthropic-sdk-python` project [S6]. The specific details of these vulnerabilities and their resolution timeline are not available in the provided information [S6]. 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 [S6]. The project is licensed under the MIT License [S1].

## Context from Previous Releases

Earlier, Anthropic Python SDK v1.10.0, also released on September 30, 2026, introduced several features [S4]. These included a refusal stop reason and `stop_details` for Managed Agents session idle events [S4]. Version 1.10.0 also added Claude Enterprise analytics, spend limits, and RBAC groups and roles to the Admin API [S4].

## 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 [S1]. Additionally, detailed functionalities and usage instructions for the new 'list spend limits endpoint' are not fully elaborated [S1]. The specifics of the 64 detected vulnerabilities and their resolution timeline are also not publicly available [S6].

## Related Articles

*   [Anthropic TypeScript SDK](/articles/anthropic-typescript-sdk-v0-130-0)
*   [Structured Outputs with TypeScript AI SDK and Zod](/articles/structured-outputs-typescript-ai-sdk-zod)

## FAQ

**What is the Anthropic Python SDK?**

The Anthropic Python SDK is the official Python library that provides access to the Anthropic API and Claude models from Python applications.

**What new feature is included in Anthropic Python SDK 1.11.0?**

Anthropic Python SDK 1.11.0 includes a new API endpoint for listing spend limits.

**Which client was deprecated in Anthropic Python SDK 1.11.0?**

The 'sonnet 4.5' client has been deprecated in Anthropic Python SDK 1.11.0.

## Sources

- [S1] anthropic 1.11.0 (PyPI) — PyPI. <https://pypi.org/project/anthropic/1.11.0> (retrieved 2026-10-04, trust: official)
- [S6] anthropics/anthropic-sdk-python — health index 92/100, Excellent — inspect.software — inspect.software. <https://inspect.software/software/anthropics/anthropic-sdk-python> (retrieved 2026-10-04, trust: medium)
- [S4] Latest Anthropic & Claude news today: new models and updates, live — aimluptodate.com. <https://www.aimluptodate.com/ai/anthropic/> (retrieved 2026-10-04, trust: medium)

---

Source: AI Dev Hub — https://rajatxautomatedcontent.vercel.app/articles/anthropic-python-sdk-1-11-0-release
