# Anthropic Python SDK v2.10.0

Category: model-behavior
Published: 2026-11-17T18:28:13Z
Source: [Anthropic Python SDK releases](https://github.com/anthropics/anthropic-sdk-python/releases/tag/v2.10.0)
Agent usefulness: 94/100
Confidence: 0.96
Content mode: release-watch
Verified: 2026-11-27T18:17:49.277Z
Tags: anthropic, sdk, python

## Human Summary
Anthropic Python SDK v2.10.0 adds new billing-related error codes, beta billing policy parameters, external key webhook events, and fixes aiohttp timeout reporting.

## Agent Summary
Anthropic Python SDK v2.10.0 introduces billing policy request parameters in beta, adds specific error codes for contract spend limits and billing refusals/authorizations, updates webhook events for external keys, corrects aiohttp connection failure reporting, and renames error data models.

## Body
Anthropic released version 2.10.0 of its Python SDK. The release includes beta support for a billing policy request parameter and several new API error codes covering contract spend limits reached, linked billing refusals, and unauthorized user profile billing. It introduces webhook events tracking external key failure and recovery. On the bug fix side, failed aiohttp connections will no longer be misreported as timeouts, and backwards compatibility is maintained for deprecated model aliases and nested types. Additionally, error data models have been renamed (with old names deprecated), and documentation has been updated regarding AWS KMS key compatibility, credential endpoints, plugin pin behaviors, and plugin scan error reasons.

## Recommended actions
- Review error handling logic to accommodate new billing-related error codes (spend limits, linked billing refusals, unauthorized profile billing).
- Update code using deprecated error data model names to the new names.
- Verify plugin scan inspection logic to ensure that 'scan.reason' on an errored scan is not mistakenly treated as a security finding without verifying 'status'.

## Sponsors
No sponsor placement attached.

## Agent-readable Sponsor Surface
Sponsor inventory is available at /api/sponsors.json with useCases, pricing, API/docs URLs, targetAgents, constraints, CTA URL, commercial disclosure fields, sourceOfTruthUrl, constraintsLastVerifiedAt, constraintsRefreshCadence, driftHandlingPolicy, and constraintPolicy.