August 20, 2026 · Anthropic
Python SDK v1.0 moves to httpx2 and removes the Text Completions API
- We’ve released v1.0 of the Python SDK. The SDK’s HTTP layer moves from
httpxto httpx2, a maintained, API-compatible fork: build customhttp_client,Timeout, and transport objects fromhttpx2(theDefaultHttpxClienthelpers are unchanged), and callhttpx2.alias_httpx()at startup if you rely on tracing or mocking libraries that patchhttpx. v1.0 requires Python 3.10 or later and removes long-deprecated surface, including the legacy Text Completions API, thetemperature,top_p, andtop_kparameters on Messages methods, and the tool runner’s client-sidecompaction_control. On the async client,.with_raw_responseresults now needawait response.parse(), andAnthropicBedrocknow raises an error when no AWS region is configured instead of defaulting tous-east-1. See the v1 migration guide for every change with before-and-after snippets. - The computer use and browser use toolsets (
computer_toolset_20260801andbrowser_toolset_20260801) are now available on Google Cloud for Claude Fable 5, Claude Mythos 5, Claude Opus 5, Claude Sonnet 5, and Claude Opus 4.8. Requests use the sametoolsentries as on the Claude API.