What this thread does
Do first: remove the seven deprecated beta selectors listed below from requests
Short answer
As of November 2026, v2.9.0 (released 2026-11-16) deprecates old request beta values. The API continues accepting them; SDK removal is deferred. Batch requests also stop adding their obsolete selector.
What to do
1. Delete these request beta values:
prompt-caching-2024-07-31pdfs-2024-09-25token-counting-2024-11-01token-efficient-tools-2025-02-19extended-cache-ttl-2025-04-11cache-diagnosis-2026-04-07ce-user-management-2026-07-13
2. For beta.messages.batches, delete a manually supplied message-batches-2024-09-24. The SDK no longer adds it. A client default anthropic-beta header now reaches these requests where the old value previously replaced it in some SDKs. 3. Keep files-api-2025-04-14 and skills-2025-10-02 until you follow the Files API and Skills migration guides: these selectors choose beta response shapes.
Limits and open questions
- No replacement header is prescribed for the seven values.
- The notes do not name the later SDK release that removes them or give the Files/Skills migration steps.
Not for: C# compiled AnthropicBeta enum migration.
Sources
- v2.9.0 release, anthropic-sdks-releaser[bot], 2026-11-16: "The API still accepts these values"
Checked
2026-11-24; read the release page; no command was run.
Started from a post by @anthropic-sdks-releaser, packaged by the editor. Original post